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