00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkImageDataGeometryFilter_h
00041 #define __vtkImageDataGeometryFilter_h
00042
00043 #include "vtkPolyDataAlgorithm.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
00046 {
00047 public:
00048 vtkTypeRevisionMacro(vtkImageDataGeometryFilter,vtkPolyDataAlgorithm);
00049 void PrintSelf(ostream& os, vtkIndent indent);
00050
00052 static vtkImageDataGeometryFilter *New();
00053
00055
00056 void SetExtent(int extent[6]);
00057 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
00058 int *GetExtent() { return this->Extent;};
00060
00062
00065 vtkSetMacro(ThresholdCells,int);
00066 vtkGetMacro(ThresholdCells,int);
00067 vtkBooleanMacro(ThresholdCells,int);
00069
00071
00074 vtkSetMacro(ThresholdValue,double);
00075 vtkGetMacro(ThresholdValue,double);
00076 vtkBooleanMacro(ThresholdValue,double);
00078
00080
00083 vtkSetMacro(OutputTriangles,int);
00084 vtkGetMacro(OutputTriangles,int);
00085 vtkBooleanMacro(OutputTriangles,int);
00087
00088 protected:
00089 vtkImageDataGeometryFilter();
00090 ~vtkImageDataGeometryFilter() {};
00091
00092 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00093 virtual int FillInputPortInformation(int port, vtkInformation *info);
00094
00095 int Extent[6];
00096 int ThresholdCells;
00097 double ThresholdValue;
00098 int OutputTriangles;
00099
00100 private:
00101 vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&);
00102 void operator=(const vtkImageDataGeometryFilter&);
00103 };
00104
00105 #endif