30 #ifndef vtkGenericEdgeTable_h
31 #define vtkGenericEdgeTable_h
33 #include "vtkCommonDataModelModule.h"
36 class vtkEdgeTableEdge;
37 class vtkEdgeTablePoints;
98 int GetNumberOfComponents();
104 void SetNumberOfComponents(
int count);
123 void InsertPointAndScalar(
vtkIdType ptId,
double pt[3],
double* s);
134 void IncrementPointReferenceCount(
vtkIdType ptId);
168 memcpy(this->Coord, other.
Coord,
sizeof(
double) * 3);
171 this->numberOfComponents = c;
172 this->Scalar =
new double[c];
173 memcpy(this->Scalar, other.
Scalar,
sizeof(
double) * c);
183 memcpy(this->Coord, other.
Coord,
sizeof(
double) * 3);
187 if (this->numberOfComponents != c)
189 delete[] this->Scalar;
190 this->Scalar =
new double[c];
191 this->numberOfComponents = c;
193 memcpy(this->Scalar, other.
Scalar,
sizeof(
double) * c);
225 this->PtId = copy.
PtId;
226 this->CellId = copy.
CellId;
239 this->PtId = entry.
PtId;
240 this->CellId = entry.
CellId;
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...