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 =========================================================================*/
38 #ifndef vtkImageDataGeometryFilter_h
39 #define vtkImageDataGeometryFilter_h
40 
41 #include "vtkFiltersGeometryModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49 
54 
56 
59  void SetExtent(int extent[6]);
60  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
61  int *GetExtent() { return this->Extent;};
63 
65 
70  vtkSetMacro(ThresholdCells,int);
71  vtkGetMacro(ThresholdCells,int);
72  vtkBooleanMacro(ThresholdCells,int);
74 
76 
80  vtkSetMacro(ThresholdValue,double);
81  vtkGetMacro(ThresholdValue,double);
82  vtkBooleanMacro(ThresholdValue,double);
84 
86 
91  vtkSetMacro(OutputTriangles,int);
92  vtkGetMacro(OutputTriangles,int);
93  vtkBooleanMacro(OutputTriangles,int);
95 
96 protected:
98  ~vtkImageDataGeometryFilter() VTK_OVERRIDE {}
99 
101  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
102 
103  int Extent[6];
104  int ThresholdCells;
105  double ThresholdValue;
106  int OutputTriangles;
107 
108 private:
109  vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&) VTK_DELETE_FUNCTION;
110  void operator=(const vtkImageDataGeometryFilter&) VTK_DELETE_FUNCTION;
111 };
112 
113 #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()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.