vtkDividingCubes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00063 #ifndef __vtkDividingCubes_h
00064 #define __vtkDividingCubes_h
00065
00066 #include "vtkStructuredPointsToPolyDataFilter.h"
00067
00068 class vtkDoubleArray;
00069 class vtkIdList;
00070 class vtkVoxel;
00071
00072 class VTK_PATENTED_EXPORT vtkDividingCubes : public vtkStructuredPointsToPolyDataFilter
00073 {
00074 public:
00075 static vtkDividingCubes *New();
00076 vtkTypeRevisionMacro(vtkDividingCubes,vtkStructuredPointsToPolyDataFilter);
00077 void PrintSelf(ostream& os, vtkIndent indent);
00078
00080
00081 vtkSetMacro(Value,double);
00082 vtkGetMacro(Value,double);
00084
00086
00087 vtkSetClampMacro(Distance,double,1.0e-06,VTK_DOUBLE_MAX);
00088 vtkGetMacro(Distance,double);
00090
00092
00095 vtkSetClampMacro(Increment,int,1,VTK_LARGE_INTEGER);
00096 vtkGetMacro(Increment,int);
00098
00099 protected:
00100 vtkDividingCubes();
00101 ~vtkDividingCubes();
00102
00103 void Execute();
00104 void SubDivide(double origin[3], int dim[3], double h[3], double values[8]);
00105
00106 double Value;
00107 double Distance;
00108 int Increment;
00109
00110
00111 int Count;
00112
00113 vtkIdList *SubVoxelPts;
00114 vtkVoxel *SubVoxel;
00115 vtkDoubleArray *SubVoxelScalars;
00116 vtkDoubleArray *SubVoxelNormals;
00117 private:
00118 vtkDividingCubes(const vtkDividingCubes&);
00119 void operator=(const vtkDividingCubes&);
00120 };
00121
00122 #endif
00123
00124