19#ifndef vtkAbstractCellLinks_h
20#define vtkAbstractCellLinks_h
22#include "vtkCommonDataModelModule.h"
26VTK_ABI_NAMESPACE_BEGIN
void ReportReferences(vtkGarbageCollector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
virtual void DeepCopy(vtkAbstractCellLinks *src)=0
Standard DeepCopy method.
bool UsesGarbageCollector() const override
Handle the dataset <-> Links loop.
virtual void SelectCells(vtkIdType minMaxDegree[2], unsigned char *cellSelection)=0
These methods are not virtual due to performance concerns.
virtual unsigned long GetActualMemorySize()=0
Return the memory in kibibytes (1024 bytes) consumed by this cell links array.
@ STATIC_CELL_LINKS_IDTYPE
@ STATIC_CELL_LINKS_SPECIALIZED
@ STATIC_CELL_LINKS_USHORT
virtual void Squeeze()=0
Reclaim any unused memory.
static int ComputeType(vtkIdType maxPtId, vtkIdType maxCellId, vtkCellArray *ca)
Based on the input (i.e., number of points, number of cells, and length of connectivity array) this h...
virtual void Reset()=0
Reset to a state of no entries without freeing the memory.
virtual void ShallowCopy(vtkAbstractCellLinks *src)=0
Standard ShallowCopy method.
virtual void SetDataSet(vtkDataSet *)
Set/Get the points/cells defining this dataset.
virtual void Initialize()=0
Release memory and revert to empty state.
virtual void BuildLinks()=0
Build the link list array from the input dataset.
~vtkAbstractCellLinks() override
static int ComputeType(vtkIdType maxPtId, vtkIdType maxCellId, vtkIdType connectivitySize)
object to represent cell connectivity
abstract class to specify dataset behavior
list of point or cell ids
a simple class to control print indentation
friend class vtkGarbageCollector
Some classes need to clear the reference counts manually due to the way they work.
record modification and/or execution time
vtkTypeUInt32 vtkMTimeType