#include <vtkUnstructuredGrid.h>
Inheritance diagram for vtkUnstructuredGrid:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | GetDataObjectType () |
void | Allocate (int numCells=1000, int extSize=1000) |
int | InsertNextCell (int type, int npts, int *pts) |
int | InsertNextCell (int type, vtkIdList *ptIds) |
void | Reset () |
void | SetCells (int *types, vtkCellArray *cells) |
vtkCellArray * | GetCells () |
vtkDataObject * | MakeObject () |
void | CopyStructure (vtkDataSet *ds) |
int | GetNumberOfCells () |
vtkCell * | GetCell (int cellId) |
void | GetCell (int cellId, vtkGenericCell *cell) |
void | GetCellBounds (int cellId, float bounds[6]) |
void | GetCellPoints (int cellId, vtkIdList *ptIds) |
void | GetPointCells (int ptId, vtkIdList *cellIds) |
int | GetCellType (int cellId) |
void | Squeeze () |
void | Initialize () |
int | GetMaxCellSize () |
void | BuildLinks () |
vtkCellLinks * | GetCellLinks () |
void | GetCellPoints (int cellId, int &npts, int *&pts) |
void | ReplaceCell (int cellId, int npts, int *pts) |
int | InsertNextLinkedCell (int type, int npts, int *pts) |
void | RemoveReferenceToCell (int ptId, int cellId) |
void | AddReferenceToCell (int ptId, int cellId) |
void | ResizeCellList (int ptId, int size) |
virtual void | GetCellNeighbors (int cellId, vtkIdList *ptIds, vtkIdList *cellIds) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces) |
void | GetUpdateExtent (int &piece, int &numPieces, int &ghostLevel) |
virtual int * | GetUpdateExtent () |
virtual void | GetUpdateExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetUpdateExtent (int[6]) |
void | SetUpdateExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
void | SetUpdateExtent (int ext[6]) |
virtual int | GetPiece () |
virtual int | GetNumberOfPieces () |
virtual int | GetGhostLevel () |
unsigned long | GetActualMemorySize () |
void | ShallowCopy (vtkDataObject *src) |
void | DeepCopy (vtkDataObject *src) |
void | GetCellPoints (int cellId, vtkIdList &ptIds) |
void | GetPointCells (int ptId, vtkIdList &cellIds) |
int | InsertNextCell (int type, vtkIdList &pts) |
Static Public Methods | |
vtkUnstructuredGrid * | New () |
int | IsTypeOf (const char *type) |
vtkUnstructuredGrid * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkUnstructuredGrid () | |
~vtkUnstructuredGrid () | |
vtkUnstructuredGrid (const vtkUnstructuredGrid &) | |
void | operator= (const vtkUnstructuredGrid &) |
Protected Attributes | |
vtkVertex * | Vertex |
vtkPolyVertex * | PolyVertex |
vtkLine * | Line |
vtkPolyLine * | PolyLine |
vtkTriangle * | Triangle |
vtkTriangleStrip * | TriangleStrip |
vtkPixel * | Pixel |
vtkQuad * | Quad |
vtkPolygon * | Polygon |
vtkTetra * | Tetra |
vtkVoxel * | Voxel |
vtkHexahedron * | Hexahedron |
vtkWedge * | Wedge |
vtkPyramid * | Pyramid |
vtkCellTypes * | Cells |
vtkCellArray * | Connectivity |
vtkCellLinks * | Links |
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).
|
Copy the geometric structure of an input point set object. Reimplemented from vtkPointSet. |
|
Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE. Reimplemented from vtkPointSet. |
|
Get cell with cellId such that: 0 <= cellId < NumberOfCells. This is a thread-safe alternative to the previous GetCell() method. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Implements vtkDataSet. |
|
Get cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS NOT THREAD SAFE. Implements vtkDataSet. |
|
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells. A subclass may be able to determine the bounds of cell without using an expensive GetCell() method. A default implementation is provided that actually uses a GetCell() call. This is to ensure the method is available to all datasets. Subclasses should override this method to provide an efficient implementation. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
For legacy compatibility. Do not use. Reimplemented from vtkDataSet. |
|
Topological inquiry to get points defining cell. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Implements vtkDataSet. |
|
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Implements vtkDataSet. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
Standard vtkDataSet API methods. See vtkDataSet for more information. Reimplemented from vtkDataSet. |
|
Set / Get the ghost level. |
|
Convenience method returns largest cell size in dataset. This is generally used to allocate memory for supporting data structures. THIS METHOD IS THREAD SAFE Implements vtkDataSet. |
|
Determine the number of cells composing the dataset. THIS METHOD IS THREAD SAFE Implements vtkDataSet. |
|
Set / Get the piece and the number of pieces. Similar to extent in 3D. |
|
Topological inquiry to get cells using point. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Implements vtkDataSet. |
|
We need this here to keep from hiding superclass method Reimplemented from vtkDataObject. |
|
Reset to an empty state and free any memory. Reimplemented from vtkPointSet. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
Create concrete instance of this data object. Reimplemented from vtkDataObject. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkDataObject. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPointSet. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
Call superclass method to avoid hiding Since this data type does not use 3D extents, this set method is useless but necessary since vtkDataSetToDataSetFilter does not know what type of data it is working on. Reimplemented from vtkDataObject. |
|
For streaming. User/next filter specifies which piece the want updated. The source of this poly data has to return exactly this piece. |
|
Shallow and Deep copy. Reimplemented from vtkPointSet. |
|
Reclaim any unused memory. Reimplemented from vtkPointSet. |