 |
VTK
9.1.0
|
Go to the documentation of this file.
137 #ifndef vtkUnstructuredGrid_h
138 #define vtkUnstructuredGrid_h
141 #include "vtkCommonDataModelModule.h"
236 return this->AllocateExact(numCells, numCells * maxCellSize);
261 this->AllocateExact(numCells, numCells);
310 this->Connectivity->GetCellAtId(cellId, npts, pts);
322 "Use vtkUnstructuredGrid::GetPointCells::vtkIdType, vtkIdType&, vtkIdType*&)")
338 void Squeeze() override;
343 void Initialize() override;
348 int GetMaxCellSize() override;
vtkQuadraticQuad * QuadraticQuad
void AddReferenceToCell(vtkIdType ptId, vtkIdType cellId)
Use these methods only if the dataset has been specified as Editable.
vtkSmartPointer< vtkAbstractCellLinks > Links
A 3D cell that represents an arbitrary order Lagrange wedge.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
vtkBiQuadraticTriangle * BiQuadraticTriangle
vtkQuadraticEdge * QuadraticEdge
~vtkUnstructuredGrid() override
vtkHexahedron * Hexahedron
object provides direct access to cells in vtkCellArray and type information
void CopyStructure(vtkDataSet *ds) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
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
virtual int GetGhostLevel()
Get the ghost level.
A 3D cell that represents an arbitrary order Bezier wedge.
void Reset()
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
bool IsCellBoundary(vtkIdType cellId, vtkIdType npts, const vtkIdType *ptIds)
A topological inquiry to determine whether a topological entity (e.g., point, edge,...
a cell that represents an n-sided polygon
static vtkUnstructuredGrid * ExtendedNew()
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.
cell represents a parabolic, isoparametric triangle
vtkHexagonalPrism * HexagonalPrism
cell represents a parabolic, 20-node isoparametric hexahedron
a 3D cell that represents a linear pyramid
void GetCellNeighbors(vtkIdType cellId, vtkIdType npts, const vtkIdType *ptIds, vtkIdList *cellIds)
A topological inquiry to retrieve all of the cells using list of points exclusive of the current cell...
cell represents a biquadratic, 24-node isoparametric hexahedron
cell represents a parabolic, 8-node isoparametric quad
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
a cell that represents a 3D point
vtkIdTypeArray * GetFaceLocations()
Get pointer to faces and facelocations.
vtkIdType GetNumberOfCells() override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
vtkPolyVertex * PolyVertex
A 3D cell that represents an arbitrary order Bezier hex.
cell represents a 1D line
vtkBezierHexahedron * BezierHexahedron
vtkBezierQuadrilateral * BezierQuadrilateral
void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array) override
Fill vtkIdTypeArray container with list of cell Ids.
vtkIdTypeArray * GetFaces()
Get pointer to faces and facelocations.
vtkBiQuadraticQuadraticWedge * BiQuadraticQuadraticWedge
cell represents a parabolic, 13-node isoparametric pyramid
void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells)
Special methods specific to vtkUnstructuredGrid for defining the cells composing the dataset.
vtkTriangleStrip * TriangleStrip
int GetCellType(vtkIdType cellId) override
Get the type of the cell with the given cellId.
vtkTriQuadraticPyramid * TriQuadraticPyramid
vtkBiQuadraticQuadraticHexahedron * BiQuadraticQuadraticHexahedron
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
static vtkUnstructuredGrid * New()
Standard instantiation method.
vtkSmartPointer< vtkIdTypeArray > CellLocations
void GetCellBounds(vtkIdType cellId, double bounds[6]) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
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,...
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
static void DecomposeAPolyhedronCell(vtkIdType nCellFaces, const vtkIdType *inFaceStream, vtkIdType &nCellpts, vtkCellArray *cellArray, vtkIdTypeArray *faces)
A static method for converting an input polyhedron cell stream of format [nFace0Pts,...
abstract class to specify cell behavior
vtkSmartPointer< vtkUnsignedCharArray > Types
vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[]) override
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
int IsHomogeneous() override
Returns whether cells are all of the same type.
static vtkUnstructuredGrid * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
bool AllocateExact(vtkIdType numCells, vtkIdType connectivitySize)
Pre-allocate memory in internal data structures.
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 to represent cell connectivity
vtkBezierWedge * BezierWedge
int InitializeFacesRepresentation(vtkIdType numPrevCells)
Special function used by vtkUnstructuredGridReader.
#define VTK_DEPRECATED_IN_9_0_0(reason)
list of point or cell ids
virtual int GetNumberOfPieces()
Set / Get the piece and the number of pieces.
A 2D cell that represents an arbitrary order Lagrange triangle.
vtkQuadraticPolygon * QuadraticPolygon
virtual int GetPiece()
Set / Get the piece and the number of pieces.
vtkQuadraticHexahedron * QuadraticHexahedron
void GetCell(vtkIdType cellId, vtkGenericCell *cell) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
cell represents a, 12-node isoparametric wedge
void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[]) override
vtkSmartPointer< vtkIdTypeArray > Faces
vtkTriQuadraticHexahedron * TriQuadraticHexahedron
vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[], vtkIdType nfaces, const vtkIdType faces[]) override
vtkIdType GetNumberOfIds() const noexcept
Return the number of id's in the list.
a cell that represents a triangle
vtkLagrangeWedge * LagrangeWedge
cell represents a parabolic, 27-node isoparametric hexahedron
static void ConvertFaceStreamPointIds(vtkIdType nfaces, vtkIdType *faceStream, vtkIdType *idMap)
Convert pid in a face stream into idMap[pid].
vtkCellIterator * NewCellIterator() override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds) override
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.
vtkQuadraticWedge * QuadraticWedge
void RemoveReferenceToCell(vtkIdType ptId, vtkIdType cellId)
Use these methods only if the dataset has been specified as Editable.
vtkBezierTriangle * BezierTriangle
vtkMTimeType DistinctCellTypesUpdateMTime
vtkLagrangeQuadrilateral * LagrangeQuadrilateral
static vtkUnstructuredGrid * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
dynamic, self-adjusting array of vtkIdType
vtkBezierTetra * BezierTetra
static void DecomposeAPolyhedronCell(const vtkIdType *polyhedronCellStream, vtkIdType &nCellpts, vtkIdType &nCellfaces, vtkCellArray *cellArray, vtkIdTypeArray *faces)
vtkIdType * GetFaces(vtkIdType cellId)
Special support for polyhedron.
void ResizeCellList(vtkIdType ptId, int size)
Use these methods only if the dataset has been specified as Editable.
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
vtkIdType InsertNextLinkedCell(int type, int npts, const vtkIdType pts[])
Use these methods only if the dataset has been specified as Editable.
vtkQuadraticLinearWedge * QuadraticLinearWedge
vtkSmartPointer< vtkCellArray > Connectivity
void GetPointCells(vtkIdType ptId, vtkIdType &ncells, vtkIdType *&cells)
Special (efficient) operation to return the list of cells using the specified point ptId.
cell represents a parabolic, 18-node isoparametric wedge
provides thread-safe access to cells
vtkLagrangeHexahedron * LagrangeHexahedron
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
vtkIdType * GetPointer(const vtkIdType i)
Get a pointer to a particular data index.
cell represents a parabolic, 13-node isoparametric pyramid
vtkPolyhedron * Polyhedron
dataset represents arbitrary combinations of all possible cell types
void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) override
A topological inquiry to retrieve all of the cells using list of points exclusive of the current cell...
vtkIdTypeArray * GetCellLocationsArray()
Get the array of all the starting indices of cell definitions in the cell array.
Efficient cell iterator for vtkDataSet topologies.
a 3D cell that represents a tetrahedron
#define VTK_UNSTRUCTURED_GRID
vtkConvexPointSet * ConvexPointSet
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
general representation of visualization data
A 3D cell that represents an arbitrary order Lagrange hex.
cell represents a parabolic, isoparametric edge
void RemoveGhostCells()
This method will remove any cell that is marked as ghost (has the vtkDataSetAttributes::DUPLICATECELL...
vtkQuadraticTriangle * QuadraticTriangle
A 2D cell that represents an arbitrary order Bezier triangle.
a 3D cell defined by a set of polygonal faces
a cell that represents a triangle strip
vtkQuadraticLinearQuad * QuadraticLinearQuad
vtkCell * GetCell(vtkIdType cellId) override
Standard vtkDataSet methods; see vtkDataSet.h for documentation.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
a cell that represents a 2D quadrilateral
void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations, vtkCellArray *cells, vtkIdTypeArray *faceLocations, vtkIdTypeArray *faces)
Special methods specific to vtkUnstructuredGrid for defining the cells composing the dataset.
virtual vtkMTimeType GetMeshMTime()
Return the mesh (geometry/topology) modification time.
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkTypeUInt32 vtkMTimeType
void GetCellTypes(vtkCellTypes *types) override
Get a list of types of cells in a dataset.
cell represents a set of 0D vertices
a cell that represents a 3D orthogonal parallelepiped