19#ifndef vtkAbstractCellLinks_h
20#define vtkAbstractCellLinks_h
22#include "vtkCommonDataModelModule.h"
27VTK_ABI_NAMESPACE_BEGIN
99 LINKS_NOT_DEFINED = 0,
101 STATIC_CELL_LINKS_USHORT = 2,
102 STATIC_CELL_LINKS_UINT = 3,
103 STATIC_CELL_LINKS_IDTYPE = 4,
104 STATIC_CELL_LINKS_SPECIALIZED = 5
124 vtkGetMacro(Type,
int);
160 vtkSetMacro(SequentialProcessing,
bool);
162 vtkGetMacro(SequentialProcessing,
bool);
164 virtual
void SequentialProcessingOn()
166 if (!this->SequentialProcessing)
168 this->SequentialProcessing =
true;
173 virtual
void SequentialProcessingOff()
175 if (this->SequentialProcessing)
177 this->SequentialProcessing =
false;
an abstract base class for classes that build topological links from points to cells
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.
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.
bool SequentialProcessing
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
Detect and break reference loops.
list of point or cell ids
a simple class to control print indentation
abstract base class for most VTK objects
virtual void Modified()
Update the modification time for this object.
record modification and/or execution time
#define VTK_DEPRECATED_IN_9_5_0(reason)
vtkTypeUInt32 vtkMTimeType