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 =========================================================================*/
43 #ifndef __vtkImageDataGeometryFilter_h
44 #define __vtkImageDataGeometryFilter_h
45 
46 #include "vtkFiltersGeometryModule.h" // For export macro
47 #include "vtkPolyDataAlgorithm.h"
48 
50 {
51 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
57 
59 
60  void SetExtent(int extent[6]);
61  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
62  int *GetExtent() { return this->Extent;};
64 
66 
69  vtkSetMacro(ThresholdCells,int);
70  vtkGetMacro(ThresholdCells,int);
71  vtkBooleanMacro(ThresholdCells,int);
73 
75 
78  vtkSetMacro(ThresholdValue,double);
79  vtkGetMacro(ThresholdValue,double);
80  vtkBooleanMacro(ThresholdValue,double);
82 
84 
87  vtkSetMacro(OutputTriangles,int);
88  vtkGetMacro(OutputTriangles,int);
89  vtkBooleanMacro(OutputTriangles,int);
91 
92 protected:
95 
98 
99  int Extent[6];
103 
104 private:
105  vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&); // Not implemented.
106  void operator=(const vtkImageDataGeometryFilter&); // Not implemented.
107 };
108 
109 #endif
extract geometry for structured points
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
#define VTKFILTERSGEOMETRY_EXPORT
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69