vtkPolyData - concrete dataset represents vertices, lines, polygons, and triangle strips
Super Class: vtkPointSet
Description:
vtkPolyData is a data object that is a concrete implementation of vtkDataSet. vtkPolyData represents a geometric structure consisting of vertices, lines, polygons, and triangle strips. Point attribute values (e.g., scalars, vectors, etc.) also are represented. The actual cell types (CellType.h) supported by vtkPolyData are: vtkVertex, vtkPolyVertex, vtkLine, vtkPolyLine, vtkTriangle, vtkTriangleStrip, vtkPolygon, vtkPixel, and vtkQuad. One important feature of vtkPolyData objects is that special traversal and data manipulation methods are available to process data. These methods are generally more efficient than vtkDataSet methods and should be used whenever possible. For example, traversing the cells in a dataset we would use GetCell(). To traverse cells with vtkPolyData we would retrieve the cell array object representing polygons (for example) and then use vtkCellArray's InitTraversal() and GetNextCell() methods.
Methods:
Detailed Method Descriptions:
vtkDataObject *MakeObject () |
int GetDataSetType () |
void CopyStructure (vtkDataSet *) |
int GetNumberOfCells () | |
vtkCell *GetCell (int ) | |
int GetCellType (int ) |
void GetCellPoints (int ,vtkIdList *) |
void GetPointCells (int ,vtkIdList *) |
void Squeeze () |
int GetMaxCellSize () |
void SetVerts (vtkCellArray *) |
vtkCellArray *GetVerts () |
void SetLines (vtkCellArray *) |
vtkCellArray *GetLines () |
void SetPolys (vtkCellArray *) |
vtkCellArray *GetPolys () |
void SetStrips (vtkCellArray *) |
vtkCellArray *GetStrips () |
int GetNumberOfVerts () | |
int GetNumberOfLines () | |
int GetNumberOfPolys () | |
int GetNumberOfStrips () |
void Allocate (int ,int ) |
int InsertNextCell (int ,int ,int *) |
int InsertNextCell (int ,vtkIdList *) |
void Reset () |
void BuildCells () |
void BuildLinks () |
void GetPointCells (int ,unsigned short & ,int ) |
void GetCellEdgeNeighbors (int ,int ,int ,vtkIdList *) |
void GetCellPoints (int ,int & ,int ) |
int IsTriangle (int ,int ,int ) |
int IsEdge (int ,int ) |
int IsPointUsedByCell (int ,int ) |
void ReplaceCell (int ,int ,int *) |
void ReplaceCellPoint (int ,int ,int ) |
void ReverseCell (int ) |
void DeletePoint (int ) | |
void DeleteCell (int ) |
int InsertNextLinkedPoint (float ,int ) |
int InsertNextLinkedCell (int ,int ,int *) |
void ReplaceLinkedCell (int ,int ,int *) |
void RemoveCellReference (int ) |
void AddCellReference (int ) |
void RemoveReferenceToCell (int ,int ) |
void AddReferenceToCell (int ,int ) |
void ResizeCellList (int ,int ) |
void Initialize () |
void GetCellPoints (int ,vtkIdList &) | |
void GetPointCells (int ,vtkIdList &) | |
int InsertNextCell (int ,vtkIdList &) |