vtkGenericEdgeTable is used to indicate the existance of and hold information about edges. Similar to vtkEdgeTable, this class is more sophisticated in that it uses reference counting to keep track of when information about an edge should be deleted.
vtkGenericEdgeTable is a helper class used in the adaptor framework. It is used during the tessellation process to hold information about the error metric on each edge. This avoids recomputing the error metric each time the same edge is visited.
|
typedef vtkObject | Superclass |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
static vtkGenericEdgeTable * | New () |
static int | IsTypeOf (const char *type) |
static vtkGenericEdgeTable * | SafeDownCast (vtkObject *o) |
Public Member Functions |
void | InsertEdge (vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref=1) |
int | RemoveEdge (vtkIdType e1, vtkIdType e2) |
int | CheckEdgeReferenceCount (vtkIdType e1, vtkIdType e2) |
void | Initialize (vtkIdType start) |
int | GetNumberOfComponents () |
void | SetNumberOfComponents (int count) |
int | CheckPoint (vtkIdType ptId) |
void | RemovePoint (vtkIdType ptId) |
|
void | InsertEdge (vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref, vtkIdType &ptId) |
|
int | CheckEdge (vtkIdType e1, vtkIdType e2, vtkIdType &ptId) |
int | IncrementEdgeReferenceCount (vtkIdType e1, vtkIdType e2, vtkIdType cellId) |
|
int | CheckPoint (vtkIdType ptId, double point[3], double *scalar) |
void | InsertPoint (vtkIdType ptId, double point[3]) |
void | InsertPointAndScalar (vtkIdType ptId, double pt[3], double *s) |
|
void | IncrementPointReferenceCount (vtkIdType ptId) |
void | DumpTable () |
void | LoadFactor () |
Protected Member Functions |
| vtkGenericEdgeTable () |
vtkIdType | HashFunction (vtkIdType e1, vtkIdType e2) |
vtkIdType | HashFunction (vtkIdType ptId) |
|
| ~vtkGenericEdgeTable () |
void | InsertEdge (vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref, int toSplit, vtkIdType &ptId) |
Protected Attributes |
vtkEdgeTableEdge * | EdgeTable |
vtkEdgeTablePoints * | HashPoints |
vtkIdType | LastPointId |
vtkIdType | NumberOfComponents |
Classes |
class | EdgeEntry |
class | PointEntry |