19#ifndef vtkAbstractCellLinks_h
20#define vtkAbstractCellLinks_h
22#include "vtkCommonDataModelModule.h"
27VTK_ABI_NAMESPACE_BEGIN
166 if (!this->SequentialProcessing)
168 this->SequentialProcessing =
true;
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 void SequentialProcessingOff()
Force sequential processing (i.e.
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.
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.
virtual void SequentialProcessingOn()
Force sequential processing (i.e.
~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.
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