VTK
vtkUnstructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGrid.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef vtkUnstructuredGrid_h
28 #define vtkUnstructuredGrid_h
29 
30 #include "vtkCommonDataModelModule.h" // For export macro
32 
33 class vtkCellArray;
34 class vtkCellLinks;
35 class vtkConvexPointSet;
36 class vtkEmptyCell;
37 class vtkHexahedron;
38 class vtkIdList;
39 class vtkIdTypeArray;
40 class vtkLagrangeCurve;
44 class vtkLagrangeTetra;
45 class vtkLagrangeWedge;
46 class vtkLine;
47 class vtkPixel;
48 class vtkPolyLine;
49 class vtkPolyVertex;
50 class vtkPolygon;
51 class vtkPyramid;
52 class vtkPentagonalPrism;
53 class vtkHexagonalPrism;
54 class vtkQuad;
55 class vtkQuadraticEdge;
57 class vtkQuadraticWedge;
60 class vtkQuadraticQuad;
61 class vtkQuadraticTetra;
63 class vtkTetra;
64 class vtkTriangle;
65 class vtkTriangleStrip;
67 class vtkVertex;
68 class vtkVoxel;
69 class vtkWedge;
73 class vtkBiQuadraticQuad;
77 class vtkCubicLine;
78 class vtkPolyhedron;
79 class vtkIdTypeArray;
80 
81 class VTKCOMMONDATAMODEL_EXPORT vtkUnstructuredGrid :
83 {
84 public:
85  static vtkUnstructuredGrid *New();
86 
88  void PrintSelf(ostream& os, vtkIndent indent) override;
89 
93  int GetDataObjectType() override {return VTK_UNSTRUCTURED_GRID;};
94 
101  void Allocate(vtkIdType numCells=1000, int extSize=1000) override;
102 
104 
107  void Reset();
108  void CopyStructure(vtkDataSet *ds) override;
109  vtkIdType GetNumberOfCells() override;
110  using vtkDataSet::GetCell;
111  vtkCell *GetCell(vtkIdType cellId) override;
112  void GetCell(vtkIdType cellId, vtkGenericCell *cell) override;
113  void GetCellBounds(vtkIdType cellId, double bounds[6]) override;
114  void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds) override;
115  void GetPointCells(vtkIdType ptId, vtkIdList *cellIds) override;
116  vtkCellIterator* NewCellIterator() override;
118 
119  int GetCellType(vtkIdType cellId) override;
120  vtkUnsignedCharArray* GetCellTypesArray() { return this->Types; }
121  vtkIdTypeArray* GetCellLocationsArray() { return this->Locations; }
122  void Squeeze() override;
123  void Initialize() override;
124  int GetMaxCellSize() override;
125  void BuildLinks();
126  vtkCellLinks *GetCellLinks() {return this->Links;};
127  virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts,
128  vtkIdType* &pts);
129 
136  void GetFaceStream(vtkIdType cellId, vtkIdList *ptIds);
137 
146  void GetFaceStream(vtkIdType cellId, vtkIdType& nfaces, vtkIdType* &ptIds);
147 
149 
162  void SetCells(int type, vtkCellArray *cells);
163  void SetCells(int *types, vtkCellArray *cells);
164  void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations,
165  vtkCellArray *cells);
166  void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations,
167  vtkCellArray *cells, vtkIdTypeArray *faceLocations,
168  vtkIdTypeArray *faces);
170 
171  vtkCellArray *GetCells() {return this->Connectivity;};
172  vtkIdType InsertNextLinkedCell(int type, int npts, const vtkIdType pts[]) VTK_SIZEHINT(pts, npts);
173  void RemoveReferenceToCell(vtkIdType ptId, vtkIdType cellId);
174  void AddReferenceToCell(vtkIdType ptId, vtkIdType cellId);
175  void ResizeCellList(vtkIdType ptId, int size);
176 
183  void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds,
184  vtkIdList *cellIds) override;
185 
187 
190  virtual int GetPiece();
191  virtual int GetNumberOfPieces();
193 
197  virtual int GetGhostLevel();
198 
207  unsigned long GetActualMemorySize() override;
208 
210 
213  void ShallowCopy(vtkDataObject *src) override;
214  void DeepCopy(vtkDataObject *src) override;
216 
222  void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array) override;
223 
227  int IsHomogeneous() override;
228 
233  void RemoveGhostCells();
234 
236 
240  static vtkUnstructuredGrid* GetData(vtkInformationVector* v, int i=0);
242 
246  vtkIdType *GetFaces(vtkIdType cellId);
247 
249 
252  vtkIdTypeArray* GetFaces(){return this->Faces;};
253  vtkIdTypeArray* GetFaceLocations(){return this->FaceLocations;};
255 
263  int InitializeFacesRepresentation(vtkIdType numPrevCells);
264 
272  virtual vtkMTimeType GetMeshMTime();
273 
286  static void DecomposeAPolyhedronCell(vtkCellArray *polyhedronCellArray,
287  vtkIdType & nCellpts,
288  vtkIdType & nCellfaces,
289  vtkCellArray *cellArray,
290  vtkIdTypeArray *faces);
291 
292  static void DecomposeAPolyhedronCell(vtkIdType * polyhedronCellStream,
293  vtkIdType & nCellpts,
294  vtkIdType & nCellfaces,
295  vtkCellArray *cellArray,
296  vtkIdTypeArray *faces);
297 
310  static void DecomposeAPolyhedronCell(vtkIdType nCellFaces,
311  const vtkIdType * inFaceStream,
312  vtkIdType & nCellpts,
313  vtkCellArray * cellArray,
314  vtkIdTypeArray * faces);
315 
322  static void ConvertFaceStreamPointIds(vtkIdList * faceStream,
323  vtkIdType * idMap);
324 
330  static void ConvertFaceStreamPointIds(vtkIdType nfaces,
331  vtkIdType * faceStream,
332  vtkIdType * idMap);
333 
334 
335 protected:
337  ~vtkUnstructuredGrid() override;
338 
339  // used by GetCell method
381 
382  // points inherited
383  // point data (i.e., scalars, vectors, normals, tcoords) inherited
388 
389  // Special support for polyhedra/cells with explicit face representations.
390  // The Faces class represents polygonal faces using a modified vtkCellArray
391  // structure. Each cell face list begins with the total number of faces in
392  // the cell, followed by a vtkCellArray data organization
393  // (n,i,j,k,n,i,j,k,...).
396 
397  vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[]) override;
398  vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds) override;
399  vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[],
400  vtkIdType nfaces, const vtkIdType faces[]) override;
401  void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[]) override;
402 
403 private:
404  // Hide these from the user and the compiler.
405  vtkUnstructuredGrid(const vtkUnstructuredGrid&) = delete;
406  void operator=(const vtkUnstructuredGrid&) = delete;
407 
408  void Cleanup();
409 };
410 
411 #endif
vtkUnstructuredGrid::QuadraticQuad
vtkQuadraticQuad * QuadraticQuad
Definition: vtkUnstructuredGrid.h:364
vtkUnstructuredGrid::Vertex
vtkVertex * Vertex
Definition: vtkUnstructuredGrid.h:340
vtkUnstructuredGridBase::GetData
static vtkUnstructuredGridBase * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkLagrangeWedge
A 3D cell that represents an arbitrary order Lagrange wedge.
Definition: vtkLagrangeWedge.h:56
vtkUnstructuredGrid::BiQuadraticTriangle
vtkBiQuadraticTriangle * BiQuadraticTriangle
Definition: vtkUnstructuredGrid.h:376
vtkUnstructuredGridBase.h
vtkUnstructuredGrid::QuadraticEdge
vtkQuadraticEdge * QuadraticEdge
Definition: vtkUnstructuredGrid.h:362
vtkUnstructuredGrid::Wedge
vtkWedge * Wedge
Definition: vtkUnstructuredGrid.h:358
vtkUnstructuredGrid::Tetra
vtkTetra * Tetra
Definition: vtkUnstructuredGrid.h:355
vtkUnstructuredGrid::Hexahedron
vtkHexahedron * Hexahedron
Definition: vtkUnstructuredGrid.h:357
vtkUnstructuredGrid::QuadraticPyramid
vtkQuadraticPyramid * QuadraticPyramid
Definition: vtkUnstructuredGrid.h:369
vtkHexagonalPrism
a 3D cell that represents a prism with hexagonal base
Definition: vtkHexagonalPrism.h:45
vtkHexahedron
a cell that represents a linear 3D hexahedron
Definition: vtkHexahedron.h:41
vtkUnstructuredGrid::GetDataObjectType
int GetDataObjectType() override
Standard vtkDataSet API methods.
Definition: vtkUnstructuredGrid.h:93
vtkConvexPointSet
a 3D cell defined by a set of convex points
Definition: vtkConvexPointSet.h:42
vtkX3D::type
Definition: vtkX3D.h:516
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkPolygon
a cell that represents an n-sided polygon
Definition: vtkPolygon.h:39
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkUnstructuredGrid::Quad
vtkQuad * Quad
Definition: vtkUnstructuredGrid.h:353
vtkUnstructuredGrid::GetCellTypesArray
vtkUnsignedCharArray * GetCellTypesArray()
Definition: vtkUnstructuredGrid.h:120
vtkEmptyCell
an empty cell used as a place-holder during processing
Definition: vtkEmptyCell.h:29
vtkUnstructuredGrid::LagrangeTriangle
vtkLagrangeTriangle * LagrangeTriangle
Definition: vtkUnstructuredGrid.h:345
vtkUnstructuredGrid::QuadraticTetra
vtkQuadraticTetra * QuadraticTetra
Definition: vtkUnstructuredGrid.h:366
vtkUnstructuredGrid::PentagonalPrism
vtkPentagonalPrism * PentagonalPrism
Definition: vtkUnstructuredGrid.h:360
vtkUnstructuredGrid::GetCellLinks
vtkCellLinks * GetCellLinks()
Definition: vtkUnstructuredGrid.h:126
vtkBiQuadraticTriangle
cell represents a parabolic, isoparametric triangle
Definition: vtkBiQuadraticTriangle.h:48
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:35
vtkUnstructuredGridBase
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...
Definition: vtkUnstructuredGridBase.h:34
vtkQuadraticTriangle
cell represents a parabolic, isoparametric triangle
Definition: vtkQuadraticTriangle.h:43
vtkPointSet::Squeeze
void Squeeze() override
Reclaim any unused memory.
vtkUnstructuredGrid::HexagonalPrism
vtkHexagonalPrism * HexagonalPrism
Definition: vtkUnstructuredGrid.h:361
vtkQuadraticHexahedron
cell represents a parabolic, 20-node isoparametric hexahedron
Definition: vtkQuadraticHexahedron.h:45
vtkPyramid
a 3D cell that represents a linear pyramid
Definition: vtkPyramid.h:43
vtkUnstructuredGrid::FaceLocations
vtkIdTypeArray * FaceLocations
Definition: vtkUnstructuredGrid.h:395
vtkBiQuadraticQuadraticHexahedron
cell represents a biquadratic, 24-node isoparametric hexahedron
Definition: vtkBiQuadraticQuadraticHexahedron.h:80
vtkQuadraticQuad
cell represents a parabolic, 8-node isoparametric quad
Definition: vtkQuadraticQuad.h:43
vtkUnstructuredGridBase::GetIdsOfCellsOfType
virtual void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array)=0
Fill vtkIdTypeArray container with list of cell Ids.
vtkVertex
a cell that represents a 3D point
Definition: vtkVertex.h:30
vtkUnstructuredGrid::GetFaceLocations
vtkIdTypeArray * GetFaceLocations()
Definition: vtkUnstructuredGrid.h:253
vtkUnstructuredGrid::PolyVertex
vtkPolyVertex * PolyVertex
Definition: vtkUnstructuredGrid.h:341
vtkLine
cell represents a 1D line
Definition: vtkLine.h:29
vtkUnstructuredGrid::GetFaces
vtkIdTypeArray * GetFaces()
Get pointer to faces and facelocations.
Definition: vtkUnstructuredGrid.h:252
vtkUnstructuredGrid::BiQuadraticQuadraticWedge
vtkBiQuadraticQuadraticWedge * BiQuadraticQuadraticWedge
Definition: vtkUnstructuredGrid.h:374
vtkQuadraticPyramid
cell represents a parabolic, 13-node isoparametric pyramid
Definition: vtkQuadraticPyramid.h:52
vtkUnstructuredGrid::TriangleStrip
vtkTriangleStrip * TriangleStrip
Definition: vtkUnstructuredGrid.h:351
vtkUnstructuredGrid::Voxel
vtkVoxel * Voxel
Definition: vtkUnstructuredGrid.h:356
vtkUnstructuredGrid::BiQuadraticQuadraticHexahedron
vtkBiQuadraticQuadraticHexahedron * BiQuadraticQuadraticHexahedron
Definition: vtkUnstructuredGrid.h:375
vtkUnstructuredGridBase::InternalInsertNextCell
virtual vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds)=0
vtkPointSet::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPentagonalPrism
a 3D cell that represents a convex prism with pentagonal base
Definition: vtkPentagonalPrism.h:53
vtkUnstructuredGrid::LagrangeCurve
vtkLagrangeCurve * LagrangeCurve
Definition: vtkUnstructuredGrid.h:342
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:42
vtkPolyLine
cell represents a set of 1D lines
Definition: vtkPolyLine.h:36
vtkUnstructuredGrid::BiQuadraticQuad
vtkBiQuadraticQuad * BiQuadraticQuad
Definition: vtkUnstructuredGrid.h:371
vtkBiQuadraticQuad
cell represents a parabolic, 9-node isoparametric quad
Definition: vtkBiQuadraticQuad.h:51
vtkDataSet::GetCellNeighbors
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
Topological inquiry to get all cells using list of points exclusive of cell specified (e....
vtkQuadraticTetra
cell represents a parabolic, 10-node isoparametric tetrahedron
Definition: vtkQuadraticTetra.h:48
vtkWedge
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:43
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:56
vtkQuadraticWedge
cell represents a parabolic, 15-node isoparametric wedge
Definition: vtkQuadraticWedge.h:48
vtkQuadraticPolygon
a cell that represents a parabolic n-sided polygon
Definition: vtkQuadraticPolygon.h:43
vtkUnstructuredGrid::EmptyCell
vtkEmptyCell * EmptyCell
Definition: vtkUnstructuredGrid.h:380
vtkUnstructuredGrid::LagrangeTetra
vtkLagrangeTetra * LagrangeTetra
Definition: vtkUnstructuredGrid.h:346
vtkDataSet::GetPointCells
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
Topological inquiry to get cells using point.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkCubicLine
cell represents a cubic , isoparametric 1D line
Definition: vtkCubicLine.h:42
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:44
vtkLagrangeQuadrilateral
Definition: vtkLagrangeQuadrilateral.h:38
vtkUnstructuredGrid::Polygon
vtkPolygon * Polygon
Definition: vtkUnstructuredGrid.h:354
vtkUnstructuredGridBase::InternalReplaceCell
virtual void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])=0
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:30
vtkPointSet::Initialize
void Initialize() override
Reset to an empty state and free any memory.
vtkLagrangeTriangle
A 2D cell that represents an arbitrary order Lagrange triangle.
Definition: vtkLagrangeTriangle.h:49
vtkUnstructuredGrid::QuadraticPolygon
vtkQuadraticPolygon * QuadraticPolygon
Definition: vtkUnstructuredGrid.h:365
vtkUnstructuredGrid::QuadraticHexahedron
vtkQuadraticHexahedron * QuadraticHexahedron
Definition: vtkUnstructuredGrid.h:367
vtkX3D::size
Definition: vtkX3D.h:253
vtkQuadraticLinearWedge
cell represents a, 12-node isoparametric wedge
Definition: vtkQuadraticLinearWedge.h:52
vtkUnstructuredGrid::TriQuadraticHexahedron
vtkTriQuadraticHexahedron * TriQuadraticHexahedron
Definition: vtkUnstructuredGrid.h:372
vtkUnstructuredGrid::CubicLine
vtkCubicLine * CubicLine
Definition: vtkUnstructuredGrid.h:377
vtkTriangle
a cell that represents a triangle
Definition: vtkTriangle.h:35
vtkUnstructuredGrid::LagrangeWedge
vtkLagrangeWedge * LagrangeWedge
Definition: vtkUnstructuredGrid.h:347
vtkTriQuadraticHexahedron
cell represents a parabolic, 27-node isoparametric hexahedron
Definition: vtkTriQuadraticHexahedron.h:82
vtkUnstructuredGrid::Links
vtkCellLinks * Links
Definition: vtkUnstructuredGrid.h:385
vtkUnstructuredGrid::Pixel
vtkPixel * Pixel
Definition: vtkUnstructuredGrid.h:352
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
vtkPointSet::NewCellIterator
vtkCellIterator * NewCellIterator() override
Return an iterator that traverses the cells in this data set.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkDataSet::GetCellPoints
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
vtkUnstructuredGrid::QuadraticWedge
vtkQuadraticWedge * QuadraticWedge
Definition: vtkUnstructuredGrid.h:368
vtkX3D::info
Definition: vtkX3D.h:376
vtkUnstructuredGrid::Faces
vtkIdTypeArray * Faces
Definition: vtkUnstructuredGrid.h:394
vtkUnstructuredGrid::LagrangeQuadrilateral
vtkLagrangeQuadrilateral * LagrangeQuadrilateral
Definition: vtkUnstructuredGrid.h:343
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:35
vtkUnstructuredGridBase::DeepCopy
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
vtkPixel
a cell that represents an orthogonal quadrilateral
Definition: vtkPixel.h:34
vtkUnstructuredGrid::Pyramid
vtkPyramid * Pyramid
Definition: vtkUnstructuredGrid.h:359
vtkUnstructuredGrid::PolyLine
vtkPolyLine * PolyLine
Definition: vtkUnstructuredGrid.h:349
vtkLagrangeTetra
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
Definition: vtkLagrangeTetra.h:58
vtkQuadraticLinearQuad
cell represents a quadratic-linear, 6-node isoparametric quad
Definition: vtkQuadraticLinearQuad.h:47
vtkUnstructuredGrid::QuadraticLinearWedge
vtkQuadraticLinearWedge * QuadraticLinearWedge
Definition: vtkUnstructuredGrid.h:373
vtkPointSet::ShallowCopy
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
vtkBiQuadraticQuadraticWedge
cell represents a parabolic, 18-node isoparametric wedge
Definition: vtkBiQuadraticQuadraticWedge.h:53
vtkGenericCell
provides thread-safe access to cells
Definition: vtkGenericCell.h:36
vtkLagrangeCurve
Definition: vtkLagrangeCurve.h:37
vtkUnstructuredGrid::LagrangeHexahedron
vtkLagrangeHexahedron * LagrangeHexahedron
Definition: vtkUnstructuredGrid.h:344
vtkUnstructuredGrid::Locations
vtkIdTypeArray * Locations
Definition: vtkUnstructuredGrid.h:387
vtkUnstructuredGrid::Polyhedron
vtkPolyhedron * Polyhedron
Definition: vtkUnstructuredGrid.h:379
vtkUnstructuredGrid::Types
vtkUnsignedCharArray * Types
Definition: vtkUnstructuredGrid.h:386
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:81
vtkUnstructuredGrid::Triangle
vtkTriangle * Triangle
Definition: vtkUnstructuredGrid.h:350
vtkUnstructuredGrid::GetCellLocationsArray
vtkIdTypeArray * GetCellLocationsArray()
Definition: vtkUnstructuredGrid.h:121
vtkDataSet::GetNumberOfCells
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
vtkCellIterator
Efficient cell iterator for vtkDataSet topologies.
Definition: vtkCellIterator.h:77
vtkTetra
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:41
VTK_UNSTRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
Definition: vtkType.h:95
vtkUnstructuredGrid::ConvexPointSet
vtkConvexPointSet * ConvexPointSet
Definition: vtkUnstructuredGrid.h:378
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:58
vtkDataSet::GetCellType
virtual int GetCellType(vtkIdType cellId)=0
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkUnstructuredGridBase::Allocate
virtual void Allocate(vtkIdType numCells=1000, int extSize=1000)=0
Allocate memory for the number of cells indicated.
vtkPointSet::GetActualMemorySize
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
vtkLagrangeHexahedron
A 3D cell that represents an arbitrary order Lagrange hex.
Definition: vtkLagrangeHexahedron.h:47
vtkUnstructuredGridBase::IsHomogeneous
virtual int IsHomogeneous()=0
Traverse cells and determine if cells are all of the same type.
vtkQuadraticEdge
cell represents a parabolic, isoparametric edge
Definition: vtkQuadraticEdge.h:40
vtkDataSet::GetCellBounds
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkUnstructuredGrid::QuadraticTriangle
vtkQuadraticTriangle * QuadraticTriangle
Definition: vtkUnstructuredGrid.h:363
vtkUnstructuredGrid::GetCells
vtkCellArray * GetCells()
Definition: vtkUnstructuredGrid.h:171
vtkPointSet::CopyStructure
void CopyStructure(vtkDataSet *pd) override
Copy the geometric structure of an input point set object.
vtkPolyhedron
a 3D cell defined by a set of polygonal faces
Definition: vtkPolyhedron.h:57
vtkDataSet::GetMaxCellSize
virtual int GetMaxCellSize()=0
Convenience method returns largest cell size in dataset.
vtkTriangleStrip
a cell that represents a triangle strip
Definition: vtkTriangleStrip.h:37
vtkUnstructuredGrid::QuadraticLinearQuad
vtkQuadraticLinearQuad * QuadraticLinearQuad
Definition: vtkUnstructuredGrid.h:370
vtkQuad
a cell that represents a 2D quadrilateral
Definition: vtkQuad.h:35
vtkUnstructuredGrid::Connectivity
vtkCellArray * Connectivity
Definition: vtkUnstructuredGrid.h:384
vtkDataObject::New
static vtkDataObject * New()
vtkDataSet::GetCell
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
vtkUnstructuredGrid::Line
vtkLine * Line
Definition: vtkUnstructuredGrid.h:348
vtkPolyVertex
cell represents a set of 0D vertices
Definition: vtkPolyVertex.h:32
vtkVoxel
a cell that represents a 3D orthogonal parallelepiped
Definition: vtkVoxel.h:38