34 #ifndef vtkStaticCellLinks_h
35 #define vtkStaticCellLinks_h
38 #include "vtkCommonDataModelModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
88 return this->Impl->SelectCells(minMaxDegree, cellSelection);
97 this->Impl->Initialize();
138 VTK_ABI_NAMESPACE_END
void Initialize() override
Make sure any previously created links are cleaned up.
void Reset() override
Reset to a state of no entries without freeing the memory.
abstract class to specify dataset behavior
an abstract base class for classes that build topological links from points to cells ...
void SelectCells(vtkIdType minMaxDegree[2], unsigned char *cellSelection) override
Select all cells with a point degree in the range [minDegree,maxDegree).
virtual void BuildLinks()=0
Build the link list array from the input dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
virtual void DeepCopy(vtkAbstractCellLinks *src)=0
Standard DeepCopy method.
a simple class to control print indentation
virtual void Modified()
Update the modification time for this object.
vtkIdType * GetCells(vtkIdType ptId)
Return a list of cell ids using the specified point.
object to represent cell connectivity
object represents upward pointers from points to list of cells using each point
vtkIdType GetNcells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
void Squeeze() override
Reclaim any unused memory.
vtkIdType GetNumberOfCells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
unsigned long GetActualMemorySize() override
Return the memory in kibibytes (1024 bytes) consumed by this cell links array.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkStaticCellLinksTemplate< vtkIdType > * Impl