87 #ifndef __vtkOrderedTriangulator_h
88 #define __vtkOrderedTriangulator_h
92 class vtkUnstructuredGrid;
101 struct vtkOTTemplates;
102 class vtkIncrementalPointLocator;
107 #if VTK_SIZEOF_SHORT == 4
108 typedef unsigned short TemplateIDType;
109 #elif VTK_SIZEOF_INT == 4
110 typedef unsigned int TemplateIDType;
111 #elif VTK_SIZEOF_LONG == 4
112 typedef unsigned long TemplateIDType;
131 void InitTriangulation(
double xmin,
double xmax,
double ymin,
double ymax,
132 double zmin,
double zmax,
int numPts);
133 void InitTriangulation(
double bounds[6],
int numPts);
152 double p[3],
int type);
154 double x[3],
double p[3],
int type);
162 void TemplateTriangulate(
int cellType,
int numPts,
int numEdges);
171 void UpdatePointType(
vtkIdType internalId,
int type);
177 double *GetPointPosition(
vtkIdType internalId);
183 double *GetPointLocation(
vtkIdType internalId);
194 vtkGetMacro(NumberOfPoints,
int);
203 vtkSetMacro(UseTemplates,
int);
204 vtkGetMacro(UseTemplates,
int);
205 vtkBooleanMacro(UseTemplates,
int);
213 vtkSetMacro(PreSorted,
int);
214 vtkGetMacro(PreSorted,
int);
215 vtkBooleanMacro(PreSorted,
int);
221 vtkSetMacro(UseTwoSortIds,
int);
222 vtkGetMacro(UseTwoSortIds,
int);
223 vtkBooleanMacro(UseTwoSortIds,
int);
235 vtkIdType GetTetras(
int classification, vtkUnstructuredGrid *ugrid);
244 vtkIdType AddTetras(
int classification, vtkUnstructuredGrid *ugrid);
261 vtkIncrementalPointLocator *locator,
286 void InitTetraTraversal();
297 int GetNextTetra(
int classification,
vtkTetra *tet,
310 int MaximumNumberOfPoints;
319 int NumberOfCellPoints;
320 int NumberOfCellEdges;
322 vtkOTTemplates *Templates;
323 int TemplateTriangulation();
325 TemplateIDType ComputeTemplateIndex();
abstract base class for most VTK objects
represent and manipulate point attribute data
helper class to generate triangulations
dynamic, self-adjusting array of double
a 3D cell that represents a tetrahedron
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
object to represent cell connectivity
replacement for malloc/free and new/delete
represent and manipulate 3D points