Go to the documentation of this file.
87 #ifndef vtkOrderedTriangulator_h
88 #define vtkOrderedTriangulator_h
102 struct vtkOTTemplates;
108 #if VTK_SIZEOF_SHORT == 4
109 typedef unsigned short TemplateIDType;
110 #elif VTK_SIZEOF_INT == 4
111 typedef unsigned int TemplateIDType;
112 #elif VTK_SIZEOF_LONG == 4
113 typedef unsigned long TemplateIDType;
133 double zmin,
double zmax,
int numPts);
153 double p[3],
int type);
155 double x[3],
double p[3],
int type);
311 int MaximumNumberOfPoints;
320 int NumberOfCellPoints;
321 int NumberOfCellEdges;
323 vtkOTTemplates *Templates;
324 int TemplateTriangulation();
326 TemplateIDType ComputeTemplateIndex();
represent and manipulate 3D points
void InitTriangulation(double bounds[6], int numPts)
vtkIdType AddTetras(int classification, vtkCellArray *connectivity)
int GetNextTetra(int classification, vtkTetra *tet, vtkDataArray *cellScalars, vtkDoubleArray *tetScalars)
represent and manipulate point attribute data
double * GetPointPosition(vtkIdType internalId)
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
GLint GLint GLint GLint GLint x
vtkIdType AddTriangles(vtkCellArray *connectivity)
vtkIdType GetTetras(int classification, vtkUnstructuredGrid *ugrid)
abstract superclass for arrays of numeric data
vtkIdType GetPointId(vtkIdType internalId)
vtkIdType AddTetras(int classification, vtkIncrementalPointLocator *locator, vtkCellArray *outConnectivity, vtkPointData *inPD, vtkPointData *outPD, vtkCellData *inCD, vtkIdType cellId, vtkCellData *outCD)
void InitTetraTraversal()
vtkIdType InsertPoint(vtkIdType id, vtkIdType sortid, vtkIdType sortid2, double x[3], double p[3], int type)
helper class to generate triangulations
void TemplateTriangulate(int cellType, int numPts, int numEdges)
vtkIdType InsertPoint(vtkIdType id, double x[3], double p[3], int type)
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
Abstract class in support of both point location and point insertion.
list of point or cell ids
vtkIdType AddTetras(int classification, vtkIdList *ptIds, vtkPoints *pts)
#define vtkGetMacro(name, type)
CellTypeInDataSet cellType(vtkDataSet *input)
replacement for malloc/free and new/delete
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
vtkIdType AddTetras(int classification, vtkUnstructuredGrid *ugrid)
~vtkOrderedTriangulator()
void InitTriangulation(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int numPts)
vtkIdType AddTriangles(vtkIdType id, vtkCellArray *connectivity)
void UpdatePointType(vtkIdType internalId, int type)
void PrintSelf(ostream &os, vtkIndent indent)
dynamic, self-adjusting array of double
#define VTKCOMMONDATAMODEL_EXPORT
dataset represents arbitrary combinations of all possible cell types
static vtkOrderedTriangulator * New()
vtkIdType InsertPoint(vtkIdType id, vtkIdType sortid, double x[3], double p[3], int type)
a 3D cell that represents a tetrahedron
double * GetPointLocation(vtkIdType internalId)
GLuint GLuint GLsizei GLenum type