81 struct vtkPolyDataDummyContainter;
180 void Allocate(
vtkIdType numCells=1000,
int extSize=1000);
224 void BuildLinks(
int initialSize=0);
254 int IsTriangle(
int v1,
int v2,
int v3);
294 void RemoveDeletedCells();
303 vtkIdType InsertNextLinkedPoint(
int numLinks);
304 vtkIdType InsertNextLinkedPoint(
double x[3],
int numLinks);
325 void RemoveCellReference(
vtkIdType cellId);
356 virtual int GetPiece();
357 virtual int GetNumberOfPieces();
361 virtual int GetGhostLevel();
378 void RemoveGhostCells(
int level);
406 ERR_NO_SUCH_FIELD = -4,
407 ERR_INCORRECT_FIELD = -3,
408 ERR_NON_MANIFOLD_STAR = -2,
415 int GetScalarFieldCriticalIndex (
vtkIdType pointId,
417 int GetScalarFieldCriticalIndex (
vtkIdType pointId,
int fieldId);
418 int GetScalarFieldCriticalIndex (
vtkIdType pointId,
const char* fieldName);
470 ncells = this->Links->GetNcells(ptId);
471 cells = this->Links->GetCells(ptId);
476 unsigned short int n1;
490 if ( (tVerts[0] == tVerts2[0] || tVerts[0] == tVerts2[1] ||
491 tVerts[0] == tVerts2[2]) &&
492 (tVerts[1] == tVerts2[0] || tVerts[1] == tVerts2[1] ||
493 tVerts[1] == tVerts2[2]) &&
494 (tVerts[2] == tVerts2[0] || tVerts[2] == tVerts2[1] ||
495 tVerts[2] == tVerts2[2]) )
511 if ( pts[i] == ptId )
522 this->Links->DeletePoint(ptId);
527 this->Cells->DeleteCell(cellId);
537 this->Links->RemoveCellReference(cellId, pts[i]);
548 this->Links->AddCellReference(cellId, pts[i]);
554 this->Links->ResizeCellList(ptId,size);
564 for ( i=0; i < nverts; i++ )
566 if ( verts[i] == oldPtId )
GLuint GLuint GLsizei GLenum type
virtual vtkIdType GetNumberOfCells()=0
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
object represents upward pointers from points to list of cells using each point
static vtkDataObject * New()
quickly locate points in 3-space
void ReplaceCellPoint(vtkIdType cellId, vtkIdType oldPtId, vtkIdType newPtId)
abstract class to specify dataset behavior
a cell that represents a 3D point
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
static vtkPointSet * GetData(vtkInformation *info)
void AddCellReference(vtkIdType cellId)
void CopyStructure(vtkDataSet *pd)
a cell that represents a 2D quadrilateral
abstract class for specifying dataset behavior
unsigned long GetActualMemorySize()
an empty cell used as a place-holder during processing
concrete dataset represents vertices, lines, polygons, and triangle strips
cell represents a set of 0D vertices
void RemoveCellReference(vtkIdType cellId)
void DeletePoint(vtkIdType ptId)
#define vtkTypeMacro(thisClass, superclass)
provides thread-safe access to cells
vtkPolyVertex * PolyVertex
a cell that represents a triangle strip
GLfloat GLfloat GLfloat GLfloat v3
GLint GLint GLint GLint GLint x
cell represents a 1D line
abstract class to specify cell behavior
GLfloat GLfloat GLfloat v2
a simple class to control print indentation
virtual int GetMaxCellSize()=0
int IsTriangle(int v1, int v2, int v3)
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
abstract superclass for arrays of numeric data
a cell that represents an n-sided polygon
void ResizeCellList(vtkIdType ptId, int size)
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
void PrintSelf(ostream &os, vtkIndent indent)
int IsPointUsedByCell(vtkIdType ptId, vtkIdType cellId)
object to represent cell connectivity
void DeepCopy(vtkDataObject *src)
a cell that represents a triangle
void DeleteCell(vtkIdType cellId)
static vtkPolyDataDummyContainter DummyContainer
void ShallowCopy(vtkDataObject *src)
general representation of visualization data
object provides direct access to cells in vtkCellArray and type information
#define VTKCOMMONDATAMODEL_EXPORT
virtual vtkCell * GetCell(vtkIdType cellId)=0
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
cell represents a set of 1D lines
virtual int GetCellType(vtkIdType cellId)=0
vtkTriangleStrip * TriangleStrip