Go to the documentation of this file.
81 struct vtkPolyDataDummyContainter;
254 int IsTriangle(
int v1,
int v2,
int v3);
325 void RemoveCellReference(
vtkIdType cellId);
407 ERR_NO_SUCH_FIELD = -4,
408 ERR_INCORRECT_FIELD = -3,
409 ERR_NON_MANIFOLD_STAR = -2,
477 unsigned short int n1;
491 if ( (tVerts[0] == tVerts2[0] || tVerts[0] == tVerts2[1] ||
492 tVerts[0] == tVerts2[2]) &&
493 (tVerts[1] == tVerts2[0] || tVerts[1] == tVerts2[1] ||
494 tVerts[1] == tVerts2[2]) &&
495 (tVerts[2] == tVerts2[0] || tVerts[2] == tVerts2[1] ||
496 tVerts[2] == tVerts2[2]) )
512 if ( pts[i] == ptId )
565 for ( i=0; i < nverts; i++ )
567 if ( verts[i] == oldPtId )
int GetScalarFieldCriticalIndex(vtkIdType pointId, const char *fieldName)
void SetStrips(vtkCellArray *s)
GLfloat GLfloat GLfloat GLfloat v3
static vtkPolyData * New()
int GetCellType(vtkIdType cellId)
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
GLfloat GLfloat GLfloat v2
object provides direct access to cells in vtkCellArray and type information
vtkIdType InsertNextLinkedCell(int type, int npts, vtkIdType *pts)
void ReplaceCellPoint(vtkIdType cellId, vtkIdType oldPtId, vtkIdType newPtId)
vtkIdType GetNumberOfCells()
void GetCell(vtkIdType cellId, vtkGenericCell *cell)
void PrintSelf(ostream &os, vtkIndent indent)
a cell that represents an n-sided polygon
quickly locate points in 3-space
an empty cell used as a place-holder during processing
int GetScalarFieldCriticalIndex(vtkIdType pointId, vtkDataArray *scalarField)
void SetPolys(vtkCellArray *p)
unsigned short GetNcells(vtkIdType ptId)
#define vtkTypeMacro(thisClass, superclass)
vtkPolyVertex * PolyVertex
vtkIdType InsertNextCell(int type, int npts, vtkIdType *pts)
vtkIdType GetNumberOfPolys()
void ReplaceLinkedCell(vtkIdType cellId, int npts, vtkIdType *pts)
GLint GLint GLint GLint GLint x
void SetLines(vtkCellArray *l)
void RemoveCellReference(vtkIdType cellId)
virtual void Initialize()
abstract superclass for arrays of numeric data
void RemoveReferenceToCell(vtkIdType ptId, vtkIdType cellId)
vtkCellArray * GetStrips()
a cell that represents a 3D point
vtkIdType InsertNextCell(int type, vtkIdList *pts)
vtkIdType * GetCells(vtkIdType ptId)
void DeletePoint(vtkIdType ptId)
void ShallowCopy(vtkDataObject *src)
void RemoveDeletedCells()
cell represents a 1D line
vtkIdType GetNumberOfVerts()
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
void DeletePoint(vtkIdType ptId)
vtkCellArray * GetLines()
static vtkPolyData * GetData(vtkInformation *info)
int GetScalarFieldCriticalIndex(vtkIdType pointId, int fieldId)
void AddCellReference(vtkIdType cellId)
cell represents a set of 1D lines
static vtkPolyData * GetData(vtkInformationVector *v, int i=0)
void DeepCopy(vtkDataObject *src)
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
virtual int GetGhostLevel()
abstract class to specify cell behavior
vtkCellArray * GetVerts()
void RemoveCellReference(vtkIdType cellId, vtkIdType ptId)
void CopyCells(vtkPolyData *pd, vtkIdList *idList, vtkPointLocator *locator=NULL)
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
a simple class to control print indentation
object represents upward pointers from points to list of cells using each point
object to represent cell connectivity
int IsTriangle(int v1, int v2, int v3)
list of point or cell ids
void SetVerts(vtkCellArray *v)
a cell that represents a triangle
virtual int GetNumberOfPieces()
abstract class to specify dataset behavior
void ReplaceCell(vtkIdType cellId, int npts, vtkIdType *pts)
void BuildLinks(int initialSize=0)
void DeleteCell(vtkIdType cellId)
int IsPointUsedByCell(vtkIdType ptId, vtkIdType cellId)
vtkIdType InsertNextLinkedPoint(double x[3], int numLinks)
void ReverseCell(vtkIdType cellId)
void ResizeCellList(vtkIdType ptId, int size)
vtkCell * GetCell(vtkIdType cellId)
vtkIdType GetNumberOfLines()
abstract class for specifying dataset behavior
void GetCellEdgeNeighbors(vtkIdType cellId, vtkIdType p1, vtkIdType p2, vtkIdList *cellIds)
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataDummyContainter DummyContainer
void Allocate(vtkPolyData *inPolyData, vtkIdType numCells=1000, int extSize=1000)
vtkIdType InsertNextLinkedPoint(int numLinks)
void CopyStructure(vtkDataSet *ds)
provides thread-safe access to cells
vtkCellArray * GetPolys()
unsigned long GetActualMemorySize()
void Allocate(vtkIdType numCells=1000, int extSize=1000)
vtkIdType GetNumberOfStrips()
void AddReferenceToCell(vtkIdType ptId, vtkIdType cellId)
#define VTKCOMMONDATAMODEL_EXPORT
general representation of visualization data
void DeleteCell(vtkIdType cellId)
GLuint GLuint GLsizei GLenum type
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
void AddCellReference(vtkIdType cellId, vtkIdType ptId)
vtkTriangleStrip * TriangleStrip
a cell that represents a triangle strip
void GetCellBounds(vtkIdType cellId, double bounds[6])
void GetCellPoints(vtkIdType cellId, vtkIdType &npts, vtkIdType *&pts)
a cell that represents a 2D quadrilateral
void ResizeCellList(vtkIdType ptId, int size)
int IsEdge(vtkIdType p1, vtkIdType p2)
cell represents a set of 0D vertices