29 #ifndef vtkGenericEdgeTable_h
30 #define vtkGenericEdgeTable_h
35 class vtkEdgeTableEdge;
36 class vtkEdgeTablePoints;
83 int GetNumberOfComponents();
87 void SetNumberOfComponents(
int count);
100 void InsertPointAndScalar(
vtkIdType ptId,
double pt[3],
double *s);
107 void IncrementPointReferenceCount(
vtkIdType ptId );
134 delete[] this->Scalar;
141 memcpy(this->Coord,other.
Coord,
sizeof(
double)*3);
144 this->numberOfComponents = c;
145 this->Scalar =
new double[c];
146 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
156 memcpy(this->Coord, other.
Coord,
sizeof(
double)*3);
160 if(this->numberOfComponents!=c)
162 delete[] this->Scalar;
163 this->Scalar =
new double[c];
164 this->numberOfComponents = c;
166 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
197 this->PtId = copy.
PtId;
198 this->CellId = copy.
CellId;
211 this->PtId = entry.
PtId;
212 this->CellId = entry.
CellId;
abstract base class for most VTK objects
void operator=(const PointEntry &other)
keep track of edges (defined by pair of integer id's)
void operator=(const EdgeEntry &entry)
vtkEdgeTablePoints * HashPoints
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
PointEntry(const PointEntry &other)
vtkIdType NumberOfComponents
EdgeEntry(const EdgeEntry ©)
vtkEdgeTableEdge * EdgeTable
#define VTKCOMMONDATAMODEL_EXPORT