18 #ifndef vtkGenericEdgeTable_h
19 #define vtkGenericEdgeTable_h
21 #include "vtkCommonDataModelModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkEdgeTableEdge;
26 class vtkEdgeTablePoints;
87 int GetNumberOfComponents();
93 void SetNumberOfComponents(
int count);
112 void InsertPointAndScalar(
vtkIdType ptId,
double pt[3],
double* s);
123 void IncrementPointReferenceCount(
vtkIdType ptId);
157 memcpy(this->Coord, other.
Coord,
sizeof(
double) * 3);
160 this->numberOfComponents = c;
161 this->Scalar =
new double[c];
162 memcpy(this->Scalar, other.
Scalar,
sizeof(
double) * c);
172 memcpy(this->Coord, other.
Coord,
sizeof(
double) * 3);
176 if (this->numberOfComponents != c)
178 delete[] this->Scalar;
179 this->Scalar =
new double[c];
180 this->numberOfComponents = c;
182 memcpy(this->Scalar, other.
Scalar,
sizeof(
double) * c);
214 this->PtId = copy.
PtId;
215 this->CellId = copy.
CellId;
228 this->PtId = entry.
PtId;
229 this->CellId = entry.
CellId;
267 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
keep track of edges (defined by pair of integer id's)
vtkEdgeTablePoints * HashPoints
a simple class to control print indentation
PointEntry & operator=(const PointEntry &other)
PointEntry(const PointEntry &other)
vtkIdType NumberOfComponents
EdgeEntry(const EdgeEntry ©)
EdgeEntry & operator=(const EdgeEntry &entry)
vtkEdgeTableEdge * EdgeTable
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...