VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
49 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
50 {
51 public:
52  vtkTypeMacro(vtkImageDataGeometryFilter,vtkPolyDataAlgorithm);
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  static vtkImageDataGeometryFilter *New();
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 
96  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
97  virtual int FillInputPortInformation(int port, vtkInformation *info);
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