29 #ifndef __vtkGenericEdgeTable_h
30 #define __vtkGenericEdgeTable_h
34 class vtkEdgeTableEdge;
35 class vtkEdgeTablePoints;
82 int GetNumberOfComponents();
86 void SetNumberOfComponents(
int count);
93 int CheckPoint(
vtkIdType ptId,
double point[3],
double *scalar);
97 void InsertPoint(
vtkIdType ptId,
double point[3]);
99 void InsertPointAndScalar(
vtkIdType ptId,
double pt[3],
double *s);
106 void IncrementPointReferenceCount(
vtkIdType ptId );
133 delete[] this->Scalar;
140 memcpy(this->Coord,other.
Coord,
sizeof(
double)*3);
143 this->numberOfComponents = c;
144 this->Scalar =
new double[c];
145 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
155 memcpy(this->Coord, other.
Coord,
sizeof(
double)*3);
159 if(this->numberOfComponents!=c)
161 delete[] this->Scalar;
162 this->Scalar =
new double[c];
163 this->numberOfComponents = c;
165 memcpy(this->Scalar, other.
Scalar,
sizeof(
double)*c);
196 this->PtId = copy.
PtId;
197 this->CellId = copy.
CellId;
210 this->PtId = entry.
PtId;
211 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