Loading [MathJax]/jax/input/TeX/config.js
VTK  9.4.20250415
vtkStaticCellLinks.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
34#ifndef vtkStaticCellLinks_h
35#define vtkStaticCellLinks_h
36
38#include "vtkCommonDataModelModule.h" // For export macro
39#include "vtkStaticCellLinksTemplate.h" // For implementations
40
41VTK_ABI_NAMESPACE_BEGIN
42class vtkDataSet;
43class vtkCellArray;
44
45class VTKCOMMONDATAMODEL_EXPORT vtkStaticCellLinks : public vtkAbstractCellLinks
46{
47public:
49
54 void PrintSelf(ostream& os, vtkIndent indent) override;
56
60 void BuildLinks() override;
61
65 vtkIdType GetNumberOfCells(vtkIdType ptId) { return this->Impl->GetNumberOfCells(ptId); }
66
71 vtkIdType GetNcells(vtkIdType ptId) VTK_FUTURE_CONST
72 {
73 return this->Impl->GetNumberOfCells(ptId);
74 }
75
79 vtkIdType* GetCells(vtkIdType ptId) { return this->Impl->GetCells(ptId); }
80
82
89 void SelectCells(vtkIdType minMaxDegree[2], unsigned char* cellSelection) override
90 {
91 this->Impl->SelectCells(minMaxDegree, cellSelection);
92 }
94
98 void Initialize() override
99 {
100 this->Impl->Initialize();
101 this->Modified();
102 }
103
107 void Squeeze() override {}
108
112 void Reset() override {}
113
122 unsigned long GetActualMemorySize() override { return this->Impl->GetActualMemorySize(); }
123
129 void DeepCopy(vtkAbstractCellLinks* src) override;
130
137
138protected:
141
143
144private:
145 vtkStaticCellLinks(const vtkStaticCellLinks&) = delete;
146 void operator=(const vtkStaticCellLinks&) = delete;
147};
148
149VTK_ABI_NAMESPACE_END
150#endif
object to represent cell connectivity
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
a simple class to control print indentation
Definition vtkIndent.h:108
virtual void Modified()
Update the modification time for this object.
object represents upward pointers from points to list of cells using each point (template implementat...
int vtkIdType
Definition vtkType.h:332