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);
103 const double ExtentY,
104 const double ExtentZ,
105 const double SpacingX,
106 const double SpacingY,
107 const double SpacingZ,
108 const double tol=0.001);
134 const int &TetraPerCell);
141 const int &TetraPerCell,
142 const int &RememberVoxelId,
151 static int TetrahedralizeVoxel(
vtkIdList *VoxelCorners,
152 const int &DivisionType,
160 static inline void TetrahedralizeAddCenterPoint(
vtkIdList *VoxelCorners,