vtkRecursiveDividingCubes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00052 #ifndef __vtkRecursiveDividingCubes_h
00053 #define __vtkRecursiveDividingCubes_h
00054
00055 #include "vtkStructuredPointsToPolyDataFilter.h"
00056
00057 class vtkVoxel;
00058
00059 class VTK_GRAPHICS_EXPORT vtkRecursiveDividingCubes : public vtkStructuredPointsToPolyDataFilter
00060 {
00061 public:
00062 static vtkRecursiveDividingCubes *New();
00063 vtkTypeRevisionMacro(vtkRecursiveDividingCubes,vtkStructuredPointsToPolyDataFilter);
00064 void PrintSelf(ostream& os, vtkIndent indent);
00065
00067
00068 vtkSetMacro(Value,double);
00069 vtkGetMacro(Value,double);
00071
00073
00074 vtkSetClampMacro(Distance,double,1.0e-06,VTK_DOUBLE_MAX);
00075 vtkGetMacro(Distance,double);
00077
00079
00082 vtkSetClampMacro(Increment,int,1,VTK_LARGE_INTEGER);
00083 vtkGetMacro(Increment,int);
00085
00086 protected:
00087 vtkRecursiveDividingCubes();
00088 ~vtkRecursiveDividingCubes();
00089
00090 void Execute();
00091 void SubDivide(double origin[3], double h[3], double values[8]);
00092
00093 double Value;
00094 double Distance;
00095 int Increment;
00096
00097
00098 int Count;
00099
00100
00101 vtkVoxel *Voxel;
00102 private:
00103 vtkRecursiveDividingCubes(const vtkRecursiveDividingCubes&);
00104 void operator=(const vtkRecursiveDividingCubes&);
00105 };
00106
00107 #endif
00108
00109