Documentation for vtkEdgeTable

vtkEdgeTable - keep track of edges (edge is pair of integer id's)

Super Class: vtkObject

Description:

vtkEdgeTable is a general object for keeping track of lists of edges. An edge is defined by the pair of point id's (p1,p2). Methods are available to insert edges, check if edges exist, and traverse the list of edges.

 

Methods:

void vtkEdgeTable (int )
void vtkEdgeTable ()
static vtkEdgeTable *New ()
const char *GetClassName ()
int IsEdge (int ,int )
void InsertEdge (int ,int )
void InitTraversal ()
int GetNextEdge (int & ,int &)

 

Detailed Method Descriptions:

Instantiate object based on maximum point id.

void vtkEdgeTable (int )

Return non-zero if edge (p1,p2) is an edge; otherwise 0.

int IsEdge (int ,int )

Insert the edge (p1,p2) into the table. It is the user's responsibility to check if the edge has already been inserted.

void InsertEdge (int ,int )

Intialize traversal of edges in table.

void InitTraversal ()

Traverse list of edges in table. Return the edge as (p1,p2), where p1 and p2 are point id's. Method return value is zero if list is exhausted; non-zero otherwise. The value of p1 is guaranteed to be <= p2.

int GetNextEdge (int & ,int &)