|
virtual int | IsA (const char *type) |
|
vtkUnstructuredGrid * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
int | GetDataObjectType () |
|
virtual void | Allocate (vtkIdType numCells=1000, int extSize=1000) |
|
vtkIdType | InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds) |
|
vtkIdType | InsertNextCell (int type, vtkIdList *ptIds) |
|
vtkIdType | InsertNextCell (int type, vtkIdType npts, vtkIdType *ptIds, vtkIdType nfaces, vtkIdType *faces) |
|
int | GetCellType (vtkIdType cellId) |
|
vtkUnsignedCharArray * | GetCellTypesArray () |
|
vtkIdTypeArray * | GetCellLocationsArray () |
|
void | Squeeze () |
|
void | Initialize () |
|
int | GetMaxCellSize () |
|
void | BuildLinks () |
|
vtkCellLinks * | GetCellLinks () |
|
virtual void | GetCellPoints (vtkIdType cellId, vtkIdType &npts, vtkIdType *&pts) |
|
void | GetFaceStream (vtkIdType cellId, vtkIdList *ptIds) |
|
void | GetFaceStream (vtkIdType cellId, vtkIdType &nfaces, vtkIdType *&ptIds) |
|
vtkCellArray * | GetCells () |
|
void | ReplaceCell (vtkIdType cellId, int npts, vtkIdType *pts) |
|
vtkIdType | InsertNextLinkedCell (int type, int npts, vtkIdType *pts) |
|
void | RemoveReferenceToCell (vtkIdType ptId, vtkIdType cellId) |
|
void | AddReferenceToCell (vtkIdType ptId, vtkIdType cellId) |
|
void | ResizeCellList (vtkIdType ptId, int size) |
|
virtual int | GetGhostLevel () |
|
unsigned long | GetActualMemorySize () |
|
void | GetIdsOfCellsOfType (int type, vtkIdTypeArray *array) |
|
int | IsHomogeneous () |
|
void | RemoveGhostCells () |
|
vtkIdType * | GetFaces (vtkIdType cellId) |
|
int | InitializeFacesRepresentation (vtkIdType numPrevCells) |
|
|
void | Reset () |
|
virtual void | CopyStructure (vtkDataSet *ds) |
|
vtkIdType | GetNumberOfCells () |
|
virtual vtkCell * | GetCell (vtkIdType cellId) |
|
virtual void | GetCell (vtkIdType cellId, vtkGenericCell *cell) |
|
virtual void | GetCellBounds (vtkIdType cellId, double bounds[6]) |
|
virtual void | GetCellPoints (vtkIdType cellId, vtkIdList *ptIds) |
|
void | GetPointCells (vtkIdType ptId, vtkIdList *cellIds) |
|
vtkCellIterator * | NewCellIterator () |
|
|
void | SetCells (int type, vtkCellArray *cells) |
|
void | SetCells (int *types, vtkCellArray *cells) |
|
void | SetCells (vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells) |
|
void | SetCells (vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells, vtkIdTypeArray *faceLocations, vtkIdTypeArray *faces) |
|
|
virtual void | GetCellNeighbors (vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) |
|
|
virtual int | GetPiece () |
|
virtual int | GetNumberOfPieces () |
|
|
virtual void | ShallowCopy (vtkDataObject *src) |
|
virtual void | DeepCopy (vtkDataObject *src) |
|
|
vtkIdTypeArray * | GetFaces () |
|
vtkIdTypeArray * | GetFaceLocations () |
|
| vtkAbstractTypeMacro (vtkUnstructuredGridBase, vtkPointSet) void PrintSelf(ostream &os |
|
int | GetDataObjectType () |
|
void | DeepCopy (vtkDataObject *src) |
|
vtkPointSet * | NewInstance () const |
|
unsigned long | GetMTime () |
|
void | ComputeBounds () |
|
vtkIdType | GetNumberOfPoints () |
|
double * | GetPoint (vtkIdType ptId) |
|
void | GetPoint (vtkIdType ptId, double x[3]) |
|
virtual vtkIdType | FindPoint (double x[3]) |
|
vtkIdType | FindPoint (double x, double y, double z) |
|
virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
|
virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
|
virtual void | SetPoints (vtkPoints *) |
|
virtual vtkPoints * | GetPoints () |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
vtkDataSet * | NewInstance () const |
|
virtual void | CopyAttributes (vtkDataSet *ds) |
|
virtual void | GetCellTypes (vtkCellTypes *types) |
|
vtkCellData * | GetCellData () |
|
vtkPointData * | GetPointData () |
|
double * | GetBounds () |
|
void | GetBounds (double bounds[6]) |
|
double * | GetCenter () |
|
void | GetCenter (double center[3]) |
|
double | GetLength () |
|
virtual void | GetScalarRange (double range[2]) |
|
double * | GetScalarRange () |
|
int | CheckAttributes () |
|
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
|
virtual vtkIdType | GetNumberOfElements (int type) |
|
bool | HasAnyGhostCells () |
|
bool | HasAnyGhostPoints () |
|
vtkUnsignedCharArray * | GetPointGhostArray () |
|
void | UpdatePointGhostArrayCache () |
|
vtkUnsignedCharArray * | AllocatePointGhostArray () |
|
vtkUnsignedCharArray * | GetCellGhostArray () |
|
void | UpdateCellGhostArrayCache () |
|
vtkUnsignedCharArray * | AllocateCellGhostArray () |
|
vtkIdType | FindPoint (double x, double y, double z) |
|
virtual vtkCell * | FindAndGetCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
|
virtual void | GenerateGhostArray (int zeroExt[6]) |
|
virtual void | GenerateGhostArray (int zeroExt[6], bool cellOnly) |
|
virtual bool | HasAnyBlankCells () |
|
virtual bool | HasAnyBlankPoints () |
|
vtkDataObject * | NewInstance () const |
|
void | ReleaseData () |
|
unsigned long | GetUpdateTime () |
|
virtual void | CopyInformationToPipeline (vtkInformation *vtkNotUsed(info)) |
|
void | DataHasBeenGenerated () |
|
virtual void | PrepareForNewData () |
|
virtual int | GetExtentType () |
|
virtual void | Crop (const int *updateExtent) |
|
virtual vtkDataSetAttributes * | GetAttributes (int type) |
|
virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
|
virtual vtkInformation * | GetInformation () |
|
virtual void | SetInformation (vtkInformation *) |
|
virtual int | GetDataReleased () |
|
virtual void | SetFieldData (vtkFieldData *) |
|
virtual vtkFieldData * | GetFieldData () |
|
virtual void | CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info)) |
|
void | GlobalReleaseDataFlagOn () |
|
void | GlobalReleaseDataFlagOff () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
static vtkUnstructuredGrid * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkUnstructuredGrid * | SafeDownCast (vtkObjectBase *o) |
|
static void | DecomposeAPolyhedronCell (vtkIdType *polyhedronCellStream, vtkIdType &nCellpts, vtkIdType &nCellfaces, vtkCellArray *cellArray, vtkIdTypeArray *faces) |
|
|
static vtkUnstructuredGrid * | GetData (vtkInformation *info) |
|
static vtkUnstructuredGrid * | GetData (vtkInformationVector *v, int i=0) |
|
|
static void | DecomposeAPolyhedronCell (vtkCellArray *polyhedronCellArray, vtkIdType &nCellpts, vtkIdType &nCellfaces, vtkCellArray *cellArray, vtkIdTypeArray *faces) |
|
|
static void | DecomposeAPolyhedronCell (vtkIdType nCellFaces, vtkIdType *inFaceStream, vtkIdType &nCellpts, vtkCellArray *cellArray, vtkIdTypeArray *faces) |
|
|
static void | ConvertFaceStreamPointIds (vtkIdList *faceStream, vtkIdType *idMap) |
|
|
static void | ConvertFaceStreamPointIds (vtkIdType nfaces, vtkIdType *faceStream, vtkIdType *idMap) |
|
static vtkUnstructuredGridBase * | GetData (vtkInformation *info) |
|
static vtkUnstructuredGridBase * | GetData (vtkInformationVector *v, int i=0) |
|
static int | IsTypeOf (const char *type) |
|
static vtkPointSet * | SafeDownCast (vtkObjectBase *o) |
|
static vtkPointSet * | GetData (vtkInformation *info) |
|
static vtkPointSet * | GetData (vtkInformationVector *v, int i=0) |
|
static int | IsTypeOf (const char *type) |
|
static vtkDataSet * | SafeDownCast (vtkObjectBase *o) |
|
static vtkDataSet * | GetData (vtkInformation *info) |
|
static vtkDataSet * | GetData (vtkInformationVector *v, int i=0) |
|
static vtkDataObject * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkDataObject * | SafeDownCast (vtkObjectBase *o) |
|
static const char * | GetAssociationTypeAsString (int associationType) |
|
static int | GetAssociationTypeFromString (const char *associationType) |
|
static vtkInformationStringKey * | DATA_TYPE_NAME () |
|
static vtkInformationDataObjectKey * | DATA_OBJECT () |
|
static vtkInformationIntegerKey * | DATA_EXTENT_TYPE () |
|
static vtkInformationIntegerPointerKey * | DATA_EXTENT () |
|
static vtkInformationIntegerVectorKey * | ALL_PIECES_EXTENT () |
|
static vtkInformationIntegerKey * | DATA_PIECE_NUMBER () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_PIECES () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_GHOST_LEVELS () |
|
static vtkInformationDoubleKey * | DATA_TIME_STEP () |
|
static vtkInformationInformationVectorKey * | POINT_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | CELL_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | VERTEX_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | EDGE_DATA_VECTOR () |
|
static vtkInformationIntegerKey * | FIELD_ARRAY_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ASSOCIATION () |
|
static vtkInformationIntegerKey * | FIELD_ATTRIBUTE_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ACTIVE_ATTRIBUTE () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_COMPONENTS () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_TUPLES () |
|
static vtkInformationIntegerKey * | FIELD_OPERATION () |
|
static vtkInformationDoubleVectorKey * | FIELD_RANGE () |
|
static vtkInformationIntegerVectorKey * | PIECE_EXTENT () |
|
static vtkInformationStringKey * | FIELD_NAME () |
|
static vtkInformationDoubleVectorKey * | ORIGIN () |
|
static vtkInformationDoubleVectorKey * | SPACING () |
|
static vtkInformationDoubleVectorKey * | BOUNDING_BOX () |
|
static vtkInformationDataObjectKey * | SIL () |
|
static vtkInformation * | GetActiveFieldInformation (vtkInformation *info, int fieldAssociation, int attributeType) |
|
static vtkInformation * | GetNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static void | RemoveNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static vtkInformation * | SetActiveAttribute (vtkInformation *info, int fieldAssociation, const char *attributeName, int attributeType) |
|
static void | SetActiveAttributeInfo (vtkInformation *info, int fieldAssociation, int attributeType, const char *name, int arrayType, int numComponents, int numTuples) |
|
static void | SetPointDataActiveScalarInfo (vtkInformation *info, int arrayType, int numComponents) |
|
static vtkDataObject * | GetData (vtkInformation *info) |
|
static vtkDataObject * | GetData (vtkInformationVector *v, int i=0) |
|
static void | SetGlobalReleaseDataFlag (int val) |
|
static int | GetGlobalReleaseDataFlag () |
|
static int | IsTypeOf (const char *type) |
|
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
|
static vtkObject * | New () |
|
static void | BreakOnError () |
|
static void | SetGlobalWarningDisplay (int val) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static int | GetGlobalWarningDisplay () |
|
static int | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
dataset represents arbitrary combinations of all possible cell types
vtkUnstructuredGrid is a data object that is a concrete implementation of vtkDataSet. vtkUnstructuredGrid represents any combinations of any cell types. This includes 0D (e.g., points), 1D (e.g., lines, polylines), 2D (e.g., triangles, polygons), and 3D (e.g., hexahedron, tetrahedron, polyhedron, etc.).
- Examples:
- vtkUnstructuredGrid (Examples)
- Tests:
- vtkUnstructuredGrid (Tests)
Definition at line 80 of file vtkUnstructuredGrid.h.
Special methods specific to vtkUnstructuredGrid for defining the cells composing the dataset. Most cells require just arrays of cellTypes, cellLocations and cellConnectivities which implicitly define the set of points in each cell and their ordering. In those cases the cellConnectivities are of the format (numFace0Pts, id1, id2, id3, numFace1Pts, id1, id2, id3...). However, some cells like vtkPolyhedron require points plus a list of faces. To handle vtkPolyhedron, SetCells() support a special input cellConnectivities format (numCellFaces, numFace0Pts, id1, id2, id3, numFace1Pts,id1, id2, id3, ...) The functions use vtkPolyhedron::DecomposeAPolyhedronCell() to convert polyhedron cells into standard format.
Special methods specific to vtkUnstructuredGrid for defining the cells composing the dataset. Most cells require just arrays of cellTypes, cellLocations and cellConnectivities which implicitly define the set of points in each cell and their ordering. In those cases the cellConnectivities are of the format (numFace0Pts, id1, id2, id3, numFace1Pts, id1, id2, id3...). However, some cells like vtkPolyhedron require points plus a list of faces. To handle vtkPolyhedron, SetCells() support a special input cellConnectivities format (numCellFaces, numFace0Pts, id1, id2, id3, numFace1Pts,id1, id2, id3, ...) The functions use vtkPolyhedron::DecomposeAPolyhedronCell() to convert polyhedron cells into standard format.
A static method for converting a polyhedron vtkCellArray of format [nCellFaces, nFace0Pts, i, j, k, nFace1Pts, i, j, k, ...] into three components: (1) an integer indicating the number of faces (2) a standard vtkCellArray storing point ids [nCell0Pts, i, j, k] and (3) an vtkIdTypeArray storing face connectivity in format [nFace0Pts, i, j, k, nFace1Pts, i, j, k, ...] Note: input is assumed to contain only one polyhedron cell. Outputs (2) and (3) will be stacked at the end of the input cellArray and faces. The original data in the input will not be touched.
A static method for converting an input polyhedron cell stream of format [nFace0Pts, i, j, k, nFace1Pts, i, j, k, ...] into three components: (1) an integer indicating the number of faces (2) a standard vtkCellArray storing point ids [nCell0Pts, i, j, k] and (3) an vtkIdTypeArray storing face connectivity in format [nFace0Pts, i, j, k, nFace1Pts, i, j, k, ...] Note: input is assumed to contain only one polyhedron cell. Outputs (2) and (3) will be stacked at the end of the input cellArray and faces. The original data in the input will not be touched.