VTK  9.3.0
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
38 #ifndef vtkImageDataGeometryFilter_h
39 #define vtkImageDataGeometryFilter_h
40 
41 #include "vtkFiltersGeometryModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 VTK_ABI_NAMESPACE_BEGIN
45 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
55 
57 
60  void SetExtent(int extent[6]);
61  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
62  int* GetExtent() VTK_SIZEHINT(6) { return this->Extent; }
64 
66 
71  vtkSetMacro(ThresholdCells, vtkTypeBool);
72  vtkGetMacro(ThresholdCells, vtkTypeBool);
73  vtkBooleanMacro(ThresholdCells, vtkTypeBool);
75 
77 
82  vtkSetMacro(ThresholdValue, double);
83  vtkGetMacro(ThresholdValue, double);
84  vtkBooleanMacro(ThresholdValue, double);
86 
88 
93  vtkSetMacro(OutputTriangles, vtkTypeBool);
94  vtkGetMacro(OutputTriangles, vtkTypeBool);
95  vtkBooleanMacro(OutputTriangles, vtkTypeBool);
97 
98 protected:
100  ~vtkImageDataGeometryFilter() override = default;
101 
104 
105  int Extent[6];
109 
110 private:
112  void operator=(const vtkImageDataGeometryFilter&) = delete;
113 };
114 
115 VTK_ABI_NAMESPACE_END
116 #endif
extract geometry for structured points
void SetExtent(int extent[6])
Set / get the extent (imin,imax, jmin,jmax, kmin,kmax) indices.
static vtkImageDataGeometryFilter * New()
Construct with initial extent of all the data.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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.
~vtkImageDataGeometryFilter() override=default
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
Set / get the extent (imin,imax, jmin,jmax, kmin,kmax) indices.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ extent
Definition: vtkX3D.h:345
int vtkTypeBool
Definition: vtkABI.h:64
#define VTK_SIZEHINT(...)