32 #ifndef __vtkUnstructuredGrid_h
33 #define __vtkUnstructuredGrid_h
35 #include "vtkCommonDataModelModule.h"
40 class vtkConvexPointSet;
51 class vtkPentagonalPrism;
52 class vtkHexagonalPrism;
56 class vtkQuadraticWedge;
57 class vtkQuadraticPyramid;
58 class vtkQuadraticQuad;
60 class vtkQuadraticTriangle;
69 class vtkQuadraticLinearWedge;
70 class vtkQuadraticLinearQuad;
71 class vtkBiQuadraticQuad;
73 class vtkBiQuadraticQuadraticHexahedron;
94 virtual void Allocate(
vtkIdType numCells=1000,
int extSize=1000);
128 virtual vtkCell *GetCell(
vtkIdType cellId);
130 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
140 int GetMaxCellSize();
173 void SetCells(
int type, vtkCellArray *cells);
174 void SetCells(
int *types, vtkCellArray *cells);
176 vtkCellArray *cells);
182 vtkCellArray *
GetCells() {
return this->Connectivity;};
187 void ResizeCellList(
vtkIdType ptId,
int size);
200 virtual int GetPiece();
201 virtual int GetNumberOfPieces();
205 virtual int GetGhostLevel();
230 void RemoveGhostCells(
int level);
255 int InitializeFacesRepresentation(
vtkIdType numPrevCells);
267 static void DecomposeAPolyhedronCell(vtkCellArray *polyhedronCellArray,
270 vtkCellArray *cellArray,
274 static void DecomposeAPolyhedronCell(
vtkIdType * polyhedronCellStream,
277 vtkCellArray *cellArray,
290 static void DecomposeAPolyhedronCell(
vtkIdType nCellFaces,
293 vtkCellArray * cellArray,
302 static void ConvertFaceStreamPointIds(
vtkIdList * faceStream,
311 static void ConvertFaceStreamPointIds(
vtkIdType nfaces,
vtkTriangleStrip * TriangleStrip
vtkTriQuadraticHexahedron * TriQuadraticHexahedron
vtkCellLinks * GetCellLinks()
a 3D cell that represents a linear pyramid
vtkQuadraticWedge * QuadraticWedge
vtkQuadraticTriangle * QuadraticTriangle
static vtkPointSet * GetData(vtkInformation *info)
vtkPentagonalPrism * PentagonalPrism
void CopyStructure(vtkDataSet *pd)
a cell that represents a 2D quadrilateral
abstract class for specifying dataset behavior
dynamic, self-adjusting array of vtkIdType
unsigned long GetActualMemorySize()
an empty cell used as a place-holder during processing
vtkQuadraticHexahedron * QuadraticHexahedron
cell represents a set of 0D vertices
vtkQuadraticTetra * QuadraticTetra
cell represents a parabolic, 18-node isoparametric wedge
provides thread-safe access to cells
vtkPolyhedron * Polyhedron
vtkHexagonalPrism * HexagonalPrism
cell represents a cubic , isoparametric 1D line
vtkBiQuadraticQuad * BiQuadraticQuad
a cell that represents a triangle strip
a 3D cell that represents a tetrahedron
vtkIdTypeArray * FaceLocations
cell represents a 1D line
a simple class to control print indentation
vtkQuadraticQuad * QuadraticQuad
vtkIdTypeArray * GetFaces()
list of point or cell ids
dataset represents arbitrary combinations of all possible cell types
vtkBiQuadraticTriangle * BiQuadraticTriangle
vtkHexahedron * Hexahedron
cell represents a parabolic, isoparametric triangle
a cell that represents a linear 3D hexahedron
cell represents a parabolic, 10-node isoparametric tetrahedron
dynamic, self-adjusting array of unsigned char
vtkQuadraticLinearWedge * QuadraticLinearWedge
void PrintSelf(ostream &os, vtkIndent indent)
vtkUnsignedCharArray * GetCellTypesArray()
vtkBiQuadraticQuadraticWedge * BiQuadraticQuadraticWedge
void DeepCopy(vtkDataObject *src)
vtkBiQuadraticQuadraticHexahedron * BiQuadraticQuadraticHexahedron
cell represents a parabolic, 27-node isoparametric hexahedron
cell represents a parabolic, isoparametric edge
cell represents a parabolic, 20-node isoparametric hexahedron
vtkUnsignedCharArray * Types
vtkQuadraticLinearQuad * QuadraticLinearQuad
vtkConvexPointSet * ConvexPointSet
vtkCellArray * GetCells()
vtkPolyVertex * PolyVertex
vtkIdTypeArray * GetFaceLocations()
vtkCellArray * Connectivity
void ShallowCopy(vtkDataObject *src)
helper class to get VTK data object types as string and instantiate them
vtkQuadraticEdge * QuadraticEdge
vtkIdTypeArray * Locations
#define VTK_UNSTRUCTURED_GRID
vtkQuadraticPyramid * QuadraticPyramid
vtkIdTypeArray * GetCellLocationsArray()