 |
VTK
9.0.1
|
Go to the documentation of this file.
28 #ifndef vtkUnstructuredGrid_h
29 #define vtkUnstructuredGrid_h
32 #include "vtkCommonDataModelModule.h"
124 return this->AllocateExact(numCells, numCells * maxCellSize);
149 this->AllocateExact(numCells, numCells);
198 this->Connectivity->GetCellAtId(cellId, npts, pts);
209 #ifndef VTK_LEGACY_REMOVE
316 virtual int GetPiece();
317 virtual int GetNumberOfPieces();
323 virtual int GetGhostLevel();
359 void RemoveGhostCells();
389 int InitializeFacesRepresentation(
vtkIdType numPrevCells);
415 static void DecomposeAPolyhedronCell(
const vtkIdType* polyhedronCellStream,
vtkIdType& nCellpts,
430 static void DecomposeAPolyhedronCell(
vtkIdType nCellFaces,
const vtkIdType* inFaceStream,
vtkQuadraticQuad * QuadraticQuad
static vtkUnstructuredGridBase * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkSmartPointer< vtkAbstractCellLinks > Links
A 3D cell that represents an arbitrary order Lagrange wedge.
vtkBiQuadraticTriangle * BiQuadraticTriangle
vtkQuadraticEdge * QuadraticEdge
vtkHexahedron * Hexahedron
object provides direct access to cells in vtkCellArray and type information
vtkQuadraticPyramid * QuadraticPyramid
a 3D cell that represents a prism with hexagonal base
A 3D cell that represents an arbitrary order Bezier tetrahedron.
vtkSmartPointer< vtkCellTypes > DistinctCellTypes
a cell that represents a linear 3D hexahedron
int GetDataObjectType() override
Standard vtkDataSet API methods.
a 3D cell defined by a set of convex points
A 3D cell that represents an arbitrary order Bezier wedge.
a cell that represents an n-sided polygon
an empty cell used as a place-holder during processing
vtkLagrangeTriangle * LagrangeTriangle
vtkQuadraticTetra * QuadraticTetra
vtkPentagonalPrism * PentagonalPrism
cell represents a parabolic, isoparametric triangle
dynamic, self-adjusting array of unsigned char
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...
cell represents a parabolic, isoparametric triangle
void Squeeze() override
Reclaim any unused memory.
vtkHexagonalPrism * HexagonalPrism
cell represents a parabolic, 20-node isoparametric hexahedron
a 3D cell that represents a linear pyramid
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
cell represents a biquadratic, 24-node isoparametric hexahedron
cell represents a parabolic, 8-node isoparametric quad
virtual void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array)=0
Fill vtkIdTypeArray container with list of cell Ids.
a cell that represents a 3D point
vtkPolyVertex * PolyVertex
A 3D cell that represents an arbitrary order Bezier hex.
cell represents a 1D line
vtkBezierHexahedron * BezierHexahedron
vtkBezierQuadrilateral * BezierQuadrilateral
vtkBiQuadraticQuadraticWedge * BiQuadraticQuadraticWedge
cell represents a parabolic, 13-node isoparametric pyramid
vtkTriangleStrip * TriangleStrip
vtkBiQuadraticQuadraticHexahedron * BiQuadraticQuadraticHexahedron
virtual vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds)=0
vtkSmartPointer< vtkIdTypeArray > FaceLocations
a 3D cell that represents a convex prism with pentagonal base
void Allocate(vtkIdType numCells=1000, int vtkNotUsed(extSize)=1000) override
Method allocates initial storage for the cell connectivity.
vtkLagrangeCurve * LagrangeCurve
#define VTK_SIZEHINT(...)
cell represents a set of 1D lines
vtkBiQuadraticQuad * BiQuadraticQuad
an abstract base class for classes that build topological links from points to cells
vtkSmartPointer< vtkIdTypeArray > CellLocations
cell represents a parabolic, 9-node isoparametric quad
vtkBezierCurve * BezierCurve
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
Topological inquiry to get all cells using list of points exclusive of cell specified (e....
cell represents a parabolic, 10-node isoparametric tetrahedron
a 3D cell that represents a linear wedge
abstract class to specify cell behavior
vtkSmartPointer< vtkUnsignedCharArray > Types
bool AllocateEstimate(vtkIdType numCells, vtkIdType maxCellSize)
Pre-allocate memory in internal data structures.
cell represents a parabolic, 15-node isoparametric wedge
a cell that represents a parabolic n-sided polygon
vtkLagrangeTetra * LagrangeTetra
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
Topological inquiry to get cells using point.
a simple class to control print indentation
cell represents a cubic , isoparametric 1D line
object to represent cell connectivity
vtkBezierWedge * BezierWedge
virtual void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])=0
list of point or cell ids
void Initialize() override
Reset to an empty state and free any memory.
A 2D cell that represents an arbitrary order Lagrange triangle.
vtkQuadraticPolygon * QuadraticPolygon
vtkQuadraticHexahedron * QuadraticHexahedron
cell represents a, 12-node isoparametric wedge
vtkSmartPointer< vtkIdTypeArray > Faces
vtkTriQuadraticHexahedron * TriQuadraticHexahedron
a cell that represents a triangle
vtkLagrangeWedge * LagrangeWedge
cell represents a parabolic, 27-node isoparametric hexahedron
abstract class to specify dataset behavior
void GetCellPoints(vtkIdType cellId, vtkIdType &npts, vtkIdType const *&pts)
A higher-performing variant of the virtual vtkDataSet::GetCellPoints() for unstructured grids.
vtkCellIterator * NewCellIterator() override
Return an iterator that traverses the cells in this data set.
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
vtkQuadraticWedge * QuadraticWedge
vtkBezierTriangle * BezierTriangle
vtkMTimeType DistinctCellTypesUpdateMTime
vtkLagrangeQuadrilateral * LagrangeQuadrilateral
dynamic, self-adjusting array of vtkIdType
vtkBezierTetra * BezierTetra
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
a cell that represents an orthogonal quadrilateral
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
cell represents a quadratic-linear, 6-node isoparametric quad
virtual void GetCellTypes(vtkCellTypes *types)
Get a list of types of cells in a dataset.
vtkQuadraticLinearWedge * QuadraticLinearWedge
vtkSmartPointer< vtkCellArray > Connectivity
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
cell represents a parabolic, 18-node isoparametric wedge
provides thread-safe access to cells
vtkLagrangeHexahedron * LagrangeHexahedron
vtkPolyhedron * Polyhedron
dataset represents arbitrary combinations of all possible cell types
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
Efficient cell iterator for vtkDataSet topologies.
a 3D cell that represents a tetrahedron
#define VTK_UNSTRUCTURED_GRID
vtkConvexPointSet * ConvexPointSet
general representation of visualization data
virtual int GetCellType(vtkIdType cellId)=0
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
A 3D cell that represents an arbitrary order Lagrange hex.
virtual int IsHomogeneous()=0
Traverse cells and determine if cells are all of the same type.
cell represents a parabolic, isoparametric edge
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkQuadraticTriangle * QuadraticTriangle
vtkCellArray * GetCells()
Return the unstructured grid connectivity array.
A 2D cell that represents an arbitrary order Bezier triangle.
void CopyStructure(vtkDataSet *pd) override
Copy the geometric structure of an input point set object.
a 3D cell defined by a set of polygonal faces
virtual int GetMaxCellSize()=0
Convenience method returns largest cell size in dataset.
a cell that represents a triangle strip
vtkQuadraticLinearQuad * QuadraticLinearQuad
a cell that represents a 2D quadrilateral
static vtkDataObject * New()
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkTypeUInt32 vtkMTimeType
cell represents a set of 0D vertices
a cell that represents a 3D orthogonal parallelepiped