VTK  9.2.6
vtkImageDataGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataGeometryFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
150 #ifndef vtkImageDataGeometryFilter_h
151 #define vtkImageDataGeometryFilter_h
152 
153 #include "vtkFiltersGeometryModule.h" // For export macro
154 #include "vtkPolyDataAlgorithm.h"
155 
156 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
157 {
158 public:
160  void PrintSelf(ostream& os, vtkIndent indent) override;
161 
166 
168 
171  void SetExtent(int extent[6]);
172  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
173  int* GetExtent() VTK_SIZEHINT(6) { return this->Extent; }
175 
177 
182  vtkSetMacro(ThresholdCells, vtkTypeBool);
183  vtkGetMacro(ThresholdCells, vtkTypeBool);
184  vtkBooleanMacro(ThresholdCells, vtkTypeBool);
186 
188 
193  vtkSetMacro(ThresholdValue, double);
194  vtkGetMacro(ThresholdValue, double);
195  vtkBooleanMacro(ThresholdValue, double);
197 
199 
204  vtkSetMacro(OutputTriangles, vtkTypeBool);
205  vtkGetMacro(OutputTriangles, vtkTypeBool);
206  vtkBooleanMacro(OutputTriangles, vtkTypeBool);
208 
209 protected:
211  ~vtkImageDataGeometryFilter() override = default;
212 
215 
216  int Extent[6];
220 
221 private:
223  void operator=(const vtkImageDataGeometryFilter&) = delete;
224 };
225 
226 #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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ extent
Definition: vtkX3D.h:351
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_SIZEHINT(...)