Documentation for vtkCellLinks

vtkCellLinks - object represents upward pointers from points to list of cells using each point

Super Class: vtkObject

Description:

vtkCellLinks is a supplemental object to vtkCellArray and vtkCellTypes, enabling access from points to the cells using the points. vtkCellLinks is a list of Links, each link represents a dynamic list of cell id's using the point. The information provided by this object can be used to determine neighbors and construct other local topological information.

 

See Also:

vtkCellArray vtkCellTypes

 

Methods:

void vtkCellLinks ()
void vtkCellLinks (int ,int )
void vtkCellLinks ()
static vtkCellLinks *New ()
const char *GetClassName ()
unknown &GetLink (int )
unsigned short GetNcells (int )
void BuildLinks (vtkDataSet *)
int *GetCells (int )
int InsertNextPoint (int )
void InsertNextCellReference (int ,int )
void DeletePoint (int )
void RemoveCellReference (int ,int )
void AddCellReference (int ,int )
void ResizeCellList (int ,int )
void Squeeze ()
void Reset ()
void IncrementLinkCount (int )
void AllocateLinks (int )
void InsertCellReference (int ,unsigned short ,int )
unknown *Resize (int )

 

Detailed Method Descriptions:

Get a link structure given a point id.

unknown &GetLink (int )

Get the number of cells using the point specified by ptId.

unsigned short GetNcells (int )

Build the link list array.

void BuildLinks (vtkDataSet *)

Return a list of cell ids using the point.

int *GetCells (int )

Insert a new point into the cell-links data structure. The size parameter is the initial size of the list.

int InsertNextPoint (int )

Insert a cell id into the list of cells (at the end) using the cell id provided. (Make sure to extend the link list (if necessary) using the method ResizeCellList().)

void InsertNextCellReference (int ,int )

Delete point (and storage) by destroying links to using cells.

void DeletePoint (int )

Delete the reference to the cell (cellId) from the point (ptId). This removes the reference to the cellId from the cell list, but does not resize the list (recover memory with ResizeCellList(), if necessary).

void RemoveCellReference (int ,int )

Add the reference to the cell (cellId) from the point (ptId). This adds a reference to the cellId from the cell list, but does not resize the list (extend memory with ResizeCellList(), if necessary).

void AddCellReference (int ,int )

Change the length of a point's link list (i.e., list of cells using a point) by the size specified.

void ResizeCellList (int ,int )

Reclaim any unused memory.

void Squeeze ()

Reset to a state of no entries without freeing the memory.

void Reset ()

Increment the count of the number of cells using the point.

void IncrementLinkCount (int )

Insert a cell id into the list of cells using the point.

void InsertCellReference (int ,unsigned short ,int )