VTK  9.3.1
vtkImageDataGeometryFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
29 #ifndef vtkImageDataGeometryFilter_h
30 #define vtkImageDataGeometryFilter_h
31 
32 #include "vtkFiltersGeometryModule.h" // For export macro
33 #include "vtkPolyDataAlgorithm.h"
34 
35 VTK_ABI_NAMESPACE_BEGIN
36 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
46 
48 
51  void SetExtent(int extent[6]);
52  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
53  int* GetExtent() VTK_SIZEHINT(6) { return this->Extent; }
55 
57 
62  vtkSetMacro(ThresholdCells, vtkTypeBool);
63  vtkGetMacro(ThresholdCells, vtkTypeBool);
64  vtkBooleanMacro(ThresholdCells, vtkTypeBool);
66 
68 
73  vtkSetMacro(ThresholdValue, double);
74  vtkGetMacro(ThresholdValue, double);
75  vtkBooleanMacro(ThresholdValue, double);
77 
79 
84  vtkSetMacro(OutputTriangles, vtkTypeBool);
85  vtkGetMacro(OutputTriangles, vtkTypeBool);
86  vtkBooleanMacro(OutputTriangles, vtkTypeBool);
88 
89 protected:
91  ~vtkImageDataGeometryFilter() override = default;
92 
95 
96  int Extent[6];
100 
101 private:
103  void operator=(const vtkImageDataGeometryFilter&) = delete;
104 };
105 
106 VTK_ABI_NAMESPACE_END
107 #endif
extract geometry for structured points
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
#define VTK_SIZEHINT(...)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
int * GetExtent()
Set / get the extent (imin,imax, jmin,jmax, kmin,kmax) indices.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.