29 #ifndef __vtkGenericEdgeTable_h
30 #define __vtkGenericEdgeTable_h
34 class vtkEdgeTableEdge;
35 class vtkEdgeTablePoints;
82 int GetNumberOfComponents();
86 void SetNumberOfComponents(
int count);
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;