Go to the documentation of this file.
30 #ifndef vtkEdgeTable_h
31 #define vtkEdgeTable_h
33 #include "vtkCommonDataModelModule.h"
187 void operator=(const
vtkEdgeTable&) VTK_DELETE_FUNCTION;
represent and manipulate 3D points
vtkIdType IsEdge(vtkIdType p1, vtkIdType p2)
Return an integer id for the edge, or an attribute id of the edge (p1,p2) if the edge has been previo...
int GetNextEdge(vtkIdType &p1, vtkIdType &p2, void *&ptr)
Similar to above, but fills a void* pointer if InitEdgeInsertion() has been called with storeAttribut...
void Reset()
Reset the object and prepare for reinsertion of edges.
static vtkEdgeTable * New()
Instantiate object assuming that 1000 edges are to be inserted.
dynamic, self-adjusting array of void* pointers
vtkIdType InsertEdge(vtkIdType p1, vtkIdType p2)
Insert the edge (p1,p2) into the table.
abstract base class for most VTK objects
int InitEdgeInsertion(vtkIdType numPoints, int storeAttributes=0)
Initialize the edge insertion process.
keep track of edges (edge is pair of integer id's)
void InsertEdge(vtkIdType p1, vtkIdType p2, vtkIdType attributeId)
Insert the edge (p1,p2) into the table with the attribute id specified (make sure the attributeId >= ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetNextEdge(vtkIdType &p1, vtkIdType &p2)
Traverse list of edges in table.
a simple class to control print indentation
list of point or cell ids
int InitPointInsertion(vtkPoints *newPts, vtkIdType estSize)
Initialize the point insertion process.
void Initialize()
Free memory and return to the initially instantiated state.
void IsEdge(vtkIdType p1, vtkIdType p2, void *&ptr)
Similar to above, but returns a void* pointer is InitEdgeInsertion() has been called with storeAttrib...
void InitTraversal()
Intialize traversal of edges in table.
int InsertUniquePoint(vtkIdType p1, vtkIdType p2, double x[3], vtkIdType &ptId)
Insert a unique point on the specified edge.
void InsertEdge(vtkIdType p1, vtkIdType p2, void *ptr)
Insert the edge (p1,p2) into the table with the attribute id specified (make sure the attributeId >= ...