Go to the documentation of this file.
27 #ifndef vtkCellLinks_h
28 #define vtkCellLinks_h
125 void InsertCellReference(
vtkIdType ptId,
unsigned short pos,
168 for (
int i=0; i < ncells; i++)
170 if (cells[i] == cellId)
172 for (
int j=i; j < (ncells-1); j++)
174 cells[j] = cells[j+1];
196 memcpy(cells, this->
Array[ptId].cells,
void AllocateLinks(vtkIdType n)
GLsizei GLsizei GLenum GLenum const GLvoid * data
Link & GetLink(vtkIdType ptId)
unsigned long GetActualMemorySize()
unsigned short GetNcells(vtkIdType ptId)
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
static vtkCellLinks * New()
vtkIdType InsertNextPoint(int numLinks)
vtkIdType * GetCells(vtkIdType ptId)
void DeletePoint(vtkIdType ptId)
void PrintSelf(ostream &os, vtkIndent indent)
void BuildLinks(vtkDataSet *data, vtkCellArray *Connectivity)
Link * Resize(vtkIdType sz)
void BuildLinks(vtkDataSet *data)
void RemoveCellReference(vtkIdType cellId, vtkIdType ptId)
a simple class to control print indentation
object represents upward pointers from points to list of cells using each point
object to represent cell connectivity
void Allocate(vtkIdType numLinks, vtkIdType ext=1000)
void InsertCellReference(vtkIdType ptId, unsigned short pos, vtkIdType cellId)
void InsertNextCellReference(vtkIdType ptId, vtkIdType cellId)
abstract class to specify dataset behavior
void DeepCopy(vtkCellLinks *src)
#define VTKCOMMONDATAMODEL_EXPORT
void AddCellReference(vtkIdType cellId, vtkIdType ptId)
void IncrementLinkCount(vtkIdType ptId)
void ResizeCellList(vtkIdType ptId, int size)