VTK
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 =========================================================================*/
44 #ifndef vtkImageDataGeometryFilter_h
45 #define vtkImageDataGeometryFilter_h
46 
47 #include "vtkFiltersGeometryModule.h" // For export macro
48 #include "vtkPolyDataAlgorithm.h"
49 
50 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
60 
62 
65  void SetExtent(int extent[6]);
66  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
67  int *GetExtent() { return this->Extent;};
69 
71 
76  vtkSetMacro(ThresholdCells,int);
77  vtkGetMacro(ThresholdCells,int);
78  vtkBooleanMacro(ThresholdCells,int);
80 
82 
86  vtkSetMacro(ThresholdValue,double);
87  vtkGetMacro(ThresholdValue,double);
88  vtkBooleanMacro(ThresholdValue,double);
90 
92 
97  vtkSetMacro(OutputTriangles,int);
98  vtkGetMacro(OutputTriangles,int);
99  vtkBooleanMacro(OutputTriangles,int);
101 
102 protected:
104  ~vtkImageDataGeometryFilter() VTK_OVERRIDE {}
105 
108 
109  int Extent[6];
113 
114 private:
115  vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&) VTK_DELETE_FUNCTION;
116  void operator=(const vtkImageDataGeometryFilter&) VTK_DELETE_FUNCTION;
117 };
118 
119 #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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
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:40
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.