VTK
Public Member Functions | Protected Member Functions
vtkUnstructuredGridBase Class Reference

dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standard memory layout. More...

#include <vtkUnstructuredGridBase.h>

Inheritance diagram for vtkUnstructuredGridBase:
Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkAbstractTypeMacro (vtkUnstructuredGridBase, vtkPointSet) void PrintSelf(ostream &os
void DeepCopy (vtkDataObject *src)
virtual vtkIdType InsertNextCell (int type, vtkIdList *ptIds)=0
virtual vtkIdType InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds, vtkIdType nfaces, vtkIdType *faces)=0
virtual void ReplaceCell (vtkIdType cellId, int npts, vtkIdType *pts)=0
virtual void GetIdsOfCellsOfType (int type, vtkIdTypeArray *array)=0
virtual int IsHomogeneous ()=0
virtual vtkIdType InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds)=0

Static Public Member Functions

static vtkUnstructuredGridBaseGetData (vtkInformation *info)
static vtkUnstructuredGridBaseGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

 vtkUnstructuredGridBase ()
 ~vtkUnstructuredGridBase ()

Detailed Description

dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standard memory layout.

vtkUnstructuredGridBase defines the core vtkUnstructuredGrid API, omitting functions that are implementation dependent.

See also:
vtkMappedDataArray vtkUnstructuredGrid
Tests:
vtkUnstructuredGridBase (Tests)

Definition at line 36 of file vtkUnstructuredGridBase.h.


Constructor & Destructor Documentation


Member Function Documentation

Shallow and Deep copy.

Reimplemented from vtkPointSet.

Reimplemented in vtkUnstructuredGrid.

virtual vtkIdType vtkUnstructuredGridBase::InsertNextCell ( int  type,
vtkIdType  npts,
vtkIdType ptIds 
) [pure virtual]

Insert/create cell in object by type and list of point ids defining cell topology. Most cells require just a type which implicitly defines a set of points and their ordering. For non-polyhedron cell type, npts is the number of unique points in the cell. pts are the list of global point Ids. For polyhedron cell, a special input format is required. npts is the number of faces in the cell. ptIds is the list of face stream: (numFace0Pts, id1, id2, id3, numFace1Pts,id1, id2, id3, ...)

Implemented in vtkMappedUnstructuredGrid< Implementation, CellIterator >, and vtkUnstructuredGrid.

virtual vtkIdType vtkUnstructuredGridBase::InsertNextCell ( int  type,
vtkIdList ptIds 
) [pure virtual]

Insert/create cell in object by a list of point ids defining cell topology. Most cells require just a type which implicitly defines a set of points and their ordering. For non-polyhedron cell type, ptIds is the list of global Ids of unique cell points. For polyhedron cell, a special ptIds input format is required: (numCellFaces, numFace0Pts, id1, id2, id3, numFace1Pts,id1, id2, id3, ...)

Implemented in vtkMappedUnstructuredGrid< Implementation, CellIterator >, and vtkUnstructuredGrid.

virtual vtkIdType vtkUnstructuredGridBase::InsertNextCell ( int  type,
vtkIdType  npts,
vtkIdType ptIds,
vtkIdType  nfaces,
vtkIdType faces 
) [pure virtual]
virtual void vtkUnstructuredGridBase::ReplaceCell ( vtkIdType  cellId,
int  npts,
vtkIdType pts 
) [pure virtual]

Replace the points defining cell "cellId" with a new set of points. This operator is (typically) used when links from points to cells have not been built (i.e., BuildLinks() has not been executed). Use the operator ReplaceLinkedCell() to replace a cell when cell structure has been built.

Implemented in vtkUnstructuredGrid, and vtkMappedUnstructuredGrid< Implementation, CellIterator >.

virtual void vtkUnstructuredGridBase::GetIdsOfCellsOfType ( int  type,
vtkIdTypeArray array 
) [pure virtual]

Fill vtkIdTypeArray container with list of cell Ids. This method traverses all cells and, for a particular cell type, inserts the cell Id into the container.

Implemented in vtkUnstructuredGrid, and vtkMappedUnstructuredGrid< Implementation, CellIterator >.

virtual int vtkUnstructuredGridBase::IsHomogeneous ( ) [pure virtual]

Traverse cells and determine if cells are all of the same type.

Implemented in vtkUnstructuredGrid, and vtkMappedUnstructuredGrid< Implementation, CellIterator >.

Retrieve an instance of this class from an information object.

Reimplemented from vtkPointSet.

Reimplemented in vtkUnstructuredGrid.

Retrieve an instance of this class from an information object.

Reimplemented from vtkPointSet.

Reimplemented in vtkUnstructuredGrid.


The documentation for this class was generated from the following file: