Go to the documentation of this file.
29 #ifndef vtkGenericEdgeTable_h
30 #define vtkGenericEdgeTable_h
35 class vtkEdgeTableEdge;
36 class vtkEdgeTablePoints;
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;
void SetNumberOfComponents(int count)
GLuint GLuint GLsizei count
vtkIdType HashFunction(vtkIdType e1, vtkIdType e2)
void InsertEdge(vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref=1)
#define vtkTypeMacro(thisClass, superclass)
void InsertPoint(vtkIdType ptId, double point[3])
abstract base class for most VTK objects
int CheckPoint(vtkIdType ptId)
int CheckPoint(vtkIdType ptId, double point[3], double *scalar)
vtkIdType HashFunction(vtkIdType ptId)
void operator=(const PointEntry &other)
void operator=(const EdgeEntry &entry)
void InsertEdge(vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref, int toSplit, vtkIdType &ptId)
void IncrementPointReferenceCount(vtkIdType ptId)
a simple class to control print indentation
void Initialize(vtkIdType start)
void RemovePoint(vtkIdType ptId)
int CheckEdgeReferenceCount(vtkIdType e1, vtkIdType e2)
vtkEdgeTablePoints * HashPoints
keep track of edges (defined by pair of integer id's)
vtkEdgeTableEdge * EdgeTable
void InsertPointAndScalar(vtkIdType ptId, double pt[3], double *s)
void PrintSelf(ostream &os, vtkIndent indent)
int IncrementEdgeReferenceCount(vtkIdType e1, vtkIdType e2, vtkIdType cellId)
static vtkGenericEdgeTable * New()
void InsertEdge(vtkIdType e1, vtkIdType e2, vtkIdType cellId, int ref, vtkIdType &ptId)
EdgeEntry(const EdgeEntry ©)
int RemoveEdge(vtkIdType e1, vtkIdType e2)
#define VTKCOMMONDATAMODEL_EXPORT
int GetNumberOfComponents()
int CheckEdge(vtkIdType e1, vtkIdType e2, vtkIdType &ptId)
vtkIdType NumberOfComponents
PointEntry(const PointEntry &other)