Go to the documentation of this file.
33 #ifndef vtkUnstructuredGrid_h
34 #define vtkUnstructuredGrid_h
36 #include "vtkCommonDataModelModule.h"
88 void PrintSelf(ostream& os,
vtkIndent indent) VTK_OVERRIDE;
145 void GetCellBounds(
vtkIdType cellId,
double bounds[6]) VTK_OVERRIDE;
155 void Initialize() VTK_OVERRIDE;
156 int GetMaxCellSize() VTK_OVERRIDE;
260 int IsHomogeneous() VTK_OVERRIDE;
266 void RemoveGhostCells();
void AddReferenceToCell(vtkIdType ptId, vtkIdType cellId)
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
void SetCells(int *types, vtkCellArray *cells)
void GetFaceStream(vtkIdType cellId, vtkIdList *ptIds)
Get the face stream of a polyhedron cell in the following format: (numCellFaces, numFace0Pts,...
~vtkUnstructuredGrid() override
a 3D cell that represents a prism with hexagonal base
void Allocate(vtkIdType numCells=1000, int extSize=1000) override
Method allocates initial storage for the cell connectivity.
a cell that represents a linear 3D hexahedron
a 3D cell defined by a set of convex points
virtual int GetGhostLevel()
Get the ghost level.
a cell that represents an n-sided polygon
an empty cell used as a place-holder during processing
cell represents a parabolic, isoparametric triangle
dynamic, self-adjusting array of unsigned char
dataset represents arbitrary combinations of all possible cell types.
cell represents a parabolic, isoparametric triangle
cell represents a parabolic, 20-node isoparametric hexahedron
a 3D cell that represents a linear pyramid
cell represents a biquadratic, 24-node isoparametric hexahedron
cell represents a parabolic, 8-node isoparametric quad
a cell that represents a 3D point
vtkIdTypeArray * GetFaceLocations()
cell represents a 1D line
void SetCells(int type, vtkCellArray *cells)
Special methods specific to vtkUnstructuredGrid for defining the cells composing the dataset.
cell represents a parabolic, 13-node isoparametric pyramid
void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells)
static void DecomposeAPolyhedronCell(vtkIdType nCellFaces, vtkIdType *inFaceStream, vtkIdType &nCellpts, vtkCellArray *cellArray, vtkIdTypeArray *faces)
A static method for converting an input polyhedron cell stream of format [nFace0Pts,...
a 3D cell that represents a convex prism with pentagonal base
cell represents a set of 1D lines
static vtkUnstructuredGrid * New()
cell represents a parabolic, 9-node isoparametric quad
static void DecomposeAPolyhedronCell(vtkCellArray *polyhedronCellArray, vtkIdType &nCellpts, vtkIdType &nCellfaces, vtkCellArray *cellArray, vtkIdTypeArray *faces)
A static method for converting a polyhedron vtkCellArray of format [nCellFaces, nFace0Pts,...
cell represents a parabolic, 10-node isoparametric tetrahedron
a 3D cell that represents a linear wedge
abstract class to specify cell behavior
cell represents a parabolic, 15-node isoparametric wedge
a cell that represents a parabolic n-sided polygon
static void DecomposeAPolyhedronCell(vtkIdType *polyhedronCellStream, vtkIdType &nCellpts, vtkIdType &nCellfaces, vtkCellArray *cellArray, vtkIdTypeArray *faces)
static void ConvertFaceStreamPointIds(vtkIdList *faceStream, vtkIdType *idMap)
Convert pid in a face stream into idMap[pid].
a simple class to control print indentation
cell represents a cubic , isoparametric 1D line
object represents upward pointers from points to list of cells using each point
object to represent cell connectivity
void GetFaceStream(vtkIdType cellId, vtkIdType &nfaces, vtkIdType *&ptIds)
Get the number of faces and the face stream of a polyhedral cell.
int InitializeFacesRepresentation(vtkIdType numPrevCells)
Special function used by vtkUnstructuredGridReader.
list of point or cell ids
virtual int GetNumberOfPieces()
virtual int GetPiece()
Set / Get the piece and the number of pieces.
cell represents a, 12-node isoparametric wedge
a cell that represents a triangle
cell represents a parabolic, 27-node isoparametric hexahedron
virtual void GetCellPoints(vtkIdType cellId, vtkIdType &npts, vtkIdType *&pts)
static void ConvertFaceStreamPointIds(vtkIdType nfaces, vtkIdType *faceStream, vtkIdType *idMap)
Convert pid in a face stream into idMap[pid].
abstract class to specify dataset behavior
vtkIdType InsertNextLinkedCell(int type, int npts, vtkIdType *pts)
void ReplaceCell(vtkIdType cellId, int npts, vtkIdType *pts) override
Replace the points defining cell "cellId" with a new set of points.
void RemoveReferenceToCell(vtkIdType ptId, vtkIdType cellId)
dynamic, self-adjusting array of vtkIdType
void ResizeCellList(vtkIdType ptId, int size)
a cell that represents an orthogonal quadrilateral
cell represents a quadratic-linear, 6-node isoparametric quad
cell represents a parabolic, 18-node isoparametric wedge
provides thread-safe access to cells
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
dataset represents arbitrary combinations of all possible cell types
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) override
Topological inquiry to get all cells using list of points exclusive of cell specified (e....
vtkIdTypeArray * GetCellLocationsArray()
Efficient cell iterator for vtkDataSet topologies.
a 3D cell that represents a tetrahedron
#define VTK_UNSTRUCTURED_GRID
void Squeeze() override
Reclaim any unused memory.
general representation of visualization data
cell represents a parabolic, isoparametric edge
vtkCellArray * GetCells()
a 3D cell defined by a set of polygonal faces
a cell that represents a triangle strip
a cell that represents a 2D quadrilateral
void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells, vtkIdTypeArray *faceLocations, vtkIdTypeArray *faces)
cell represents a set of 0D vertices
a cell that represents a 3D orthogonal parallelepiped