48 #ifndef __vtkRectilinearGridToTetrahedra_h
49 #define __vtkRectilinearGridToTetrahedra_h
52 #define VTK_VOXEL_TO_12_TET 12
53 #define VTK_VOXEL_TO_5_TET 5
54 #define VTK_VOXEL_TO_6_TET 6
55 #define VTK_VOXEL_TO_5_AND_12_TET -1
80 vtkSetMacro(TetraPerCell,
int);
81 vtkGetMacro(TetraPerCell,
int);
87 vtkSetMacro(RememberVoxelId,
int);
88 vtkGetMacro(RememberVoxelId,
int);
89 vtkBooleanMacro(RememberVoxelId,
int);
98 void SetInput(
const double Extent[3],
const double Spacing[3],
99 const double tol=0.001);
104 const double ExtentY,
105 const double ExtentZ,
106 const double SpacingX,
107 const double SpacingY,
108 const double SpacingZ,
109 const double tol=0.001);
135 const int &TetraPerCell);
142 const int &TetraPerCell,
143 const int &RememberVoxelId,
152 static int TetrahedralizeVoxel(
vtkIdList *VoxelCorners,
153 const int &DivisionType,
161 static inline void TetrahedralizeAddCenterPoint(
vtkIdList *VoxelCorners,