30 #ifndef vtkGenericEdgeTable_h 31 #define vtkGenericEdgeTable_h 33 #include "vtkCommonDataModelModule.h" 36 class vtkEdgeTableEdge;
37 class vtkEdgeTablePoints;
100 int GetNumberOfComponents();
106 void SetNumberOfComponents(
int count);
125 void InsertPointAndScalar(
vtkIdType ptId,
double pt[3],
double *s);
136 void IncrementPointReferenceCount(
vtkIdType ptId );
166 delete[] this->Scalar;
173 memcpy(this->Coord,other.
Coord,
sizeof(
double)*3);
176 this->numberOfComponents = c;
177 this->Scalar =
new double[c];
178 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
188 memcpy(this->Coord, other.
Coord,
sizeof(
double)*3);
192 if(this->numberOfComponents!=c)
194 delete[] this->Scalar;
195 this->Scalar =
new double[c];
196 this->numberOfComponents = c;
198 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
230 this->PtId = copy.
PtId;
231 this->CellId = copy.
CellId;
244 this->PtId = entry.
PtId;
245 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...