Go to the documentation of this file.
47 #ifndef vtkSimpleCellTessellator_h
48 #define vtkSimpleCellTessellator_h
53 class vtkTriangleTile;
354 friend class vtkTetraTile;
355 friend class vtkTriangleTile;
void Initialize(vtkGenericDataSet *ds)
#define vtkGetObjectMacro(name, type)
void RemoveEdgesFromEdgeTable(vtkTetraTile &tetra)
void InsertPointsIntoEdgeTable(vtkTriangleTile &tri)
vtkCellArray * TessellateCellArray
int GetMaxSubdivisionLevel()
static vtkSimpleCellTessellator * New()
~vtkSimpleCellTessellator()
represent and manipulate point attribute data
a cell that represents an n-sided polygon
void SetSubdivisionLevels(int fixed, int maxLevel)
void InsertEdgesIntoEdgeTable(vtkTetraTile &tetra)
void AllocateScalars(int size)
vtkDoubleArray * TessellatePoints
vtkGenericDataSet * DataSet
int CurrentSubdivisionLevel
#define vtkTypeMacro(thisClass, superclass)
void RemoveEdgesFromEdgeTable(vtkTriangleTile &tri)
int IsEdgeOnFace(double p1[3], double p2[3])
int GetMaxAdaptiveSubdivisions()
iterator used to traverse cells
int GetNumberOfCellsUsingEdge(int edgeId)
Objects that compute error during cell tessellation.
GLsizei const GLfloat * points
vtkGenericCellIterator * CellIterator
helper class to perform cell tessellation
defines dataset interface
helper class to generate triangulations
vtkGenericAdaptorCell * GenericCell
void AllocatePointIds(int size)
helper class to perform cell tessellation
void SetFixedSubdivisions(int level)
int FacesAreEqual(int *originalFace, int face[3])
vtkGenericAttributeCollection * AttributeCollection
void InitTetraTile(vtkTetraTile &root, vtkIdType *localIds, vtkIdType *ids, int *edgeIds, int *faceIds)
vtkOrderedTriangulator * Triangulator
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
object to represent cell connectivity
list of point or cell ids
int GetNumberOfCellsUsingFace(int faceId)
vtkGenericEdgeTable * EdgeTable
keep track of edges (defined by pair of integer id's)
void CopyPoint(vtkIdType pointId)
int FindEdgeParent2D(double p1[3], double p2[3], int &localId)
void TriangulateTriangle(vtkGenericAdaptorCell *cell, vtkIdType *localIds, vtkIdType *ids, int *edgeIds, vtkGenericAttributeCollection *att, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd)
void TessellateFace(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkIdType index, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd)
int GetFixedSubdivisions()
vtkSimpleCellTessellator()
void Tessellate(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd)
int FindEdgeParent(double p1[3], double p2[3], int &localId)
void SetMaxSubdivisionLevel(int level)
int FindEdgeReferenceCount(double p1[3], double p2[3], vtkIdType &e1, vtkIdType &e2)
a collection of attributes
GLenum GLuint GLint GLenum face
dynamic, self-adjusting array of double
#define VTKCOMMONDATAMODEL_EXPORT
void InsertEdgesIntoEdgeTable(vtkTriangleTile &tri)
void Triangulate(vtkGenericAdaptorCell *cell, vtkGenericAttributeCollection *att, vtkDoubleArray *points, vtkCellArray *cellArray, vtkPointData *internalPd)
vtkPointData * TessellatePointData
vtkCellArray * Connectivity