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 =========================================================================*/
33 #ifndef vtkUnstructuredGrid_h
34 #define vtkUnstructuredGrid_h
35 
36 #include "vtkCommonDataModelModule.h" // For export macro
38 
39 class vtkCellArray;
40 class vtkCellLinks;
41 class vtkConvexPointSet;
42 class vtkEmptyCell;
43 class vtkHexahedron;
44 class vtkIdList;
45 class vtkIdTypeArray;
46 class vtkLagrangeCurve;
50 class vtkLagrangeTetra;
51 class vtkLagrangeWedge;
52 class vtkLine;
53 class vtkPixel;
54 class vtkPolyLine;
55 class vtkPolyVertex;
56 class vtkPolygon;
57 class vtkPyramid;
58 class vtkPentagonalPrism;
59 class vtkHexagonalPrism;
60 class vtkQuad;
61 class vtkQuadraticEdge;
63 class vtkQuadraticWedge;
66 class vtkQuadraticQuad;
67 class vtkQuadraticTetra;
69 class vtkTetra;
70 class vtkTriangle;
71 class vtkTriangleStrip;
73 class vtkVertex;
74 class vtkVoxel;
75 class vtkWedge;
79 class vtkBiQuadraticQuad;
83 class vtkCubicLine;
84 class vtkPolyhedron;
85 class vtkIdTypeArray;
86 
87 class VTKCOMMONDATAMODEL_EXPORT vtkUnstructuredGrid :
89 {
90 public:
91  static vtkUnstructuredGrid *New();
92 
94  void PrintSelf(ostream& os, vtkIndent indent) override;
95 
99  int GetDataObjectType() override {return VTK_UNSTRUCTURED_GRID;};
100 
107  void Allocate(vtkIdType numCells=1000, int extSize=1000) override;
108 
110 
113  void Reset();
114  void CopyStructure(vtkDataSet *ds) override;
115  vtkIdType GetNumberOfCells() override;
116  using vtkDataSet::GetCell;
117  vtkCell *GetCell(vtkIdType cellId) override;
118  void GetCell(vtkIdType cellId, vtkGenericCell *cell) override;
119  void GetCellBounds(vtkIdType cellId, double bounds[6]) override;
120  void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds) override;
121  void GetPointCells(vtkIdType ptId, vtkIdList *cellIds) override;
122  vtkCellIterator* NewCellIterator() override;
124 
125  int GetCellType(vtkIdType cellId) override;
126  vtkUnsignedCharArray* GetCellTypesArray() { return this->Types; }
127  vtkIdTypeArray* GetCellLocationsArray() { return this->Locations; }
128  void Squeeze() override;
129  void Initialize() override;
130  int GetMaxCellSize() override;
131  void BuildLinks();
132  vtkCellLinks *GetCellLinks() {return this->Links;};
133  virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts,
134  vtkIdType* &pts);
135 
142  void GetFaceStream(vtkIdType cellId, vtkIdList *ptIds);
143 
152  void GetFaceStream(vtkIdType cellId, vtkIdType& nfaces, vtkIdType* &ptIds);
153 
155 
168  void SetCells(int type, vtkCellArray *cells);
169  void SetCells(int *types, vtkCellArray *cells);
170  void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations,
171  vtkCellArray *cells);
172  void SetCells(vtkUnsignedCharArray *cellTypes, vtkIdTypeArray *cellLocations,
173  vtkCellArray *cells, vtkIdTypeArray *faceLocations,
174  vtkIdTypeArray *faces);
176 
177  vtkCellArray *GetCells() {return this->Connectivity;};
178  vtkIdType InsertNextLinkedCell(int type, int npts, const vtkIdType pts[]) VTK_SIZEHINT(pts, npts);
179  void RemoveReferenceToCell(vtkIdType ptId, vtkIdType cellId);
180  void AddReferenceToCell(vtkIdType ptId, vtkIdType cellId);
181  void ResizeCellList(vtkIdType ptId, int size);
182 
189  void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds,
190  vtkIdList *cellIds) override;
191 
193 
196  virtual int GetPiece();
197  virtual int GetNumberOfPieces();
199 
203  virtual int GetGhostLevel();
204 
213  unsigned long GetActualMemorySize() override;
214 
216 
219  void ShallowCopy(vtkDataObject *src) override;
220  void DeepCopy(vtkDataObject *src) override;
222 
228  void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array) override;
229 
233  int IsHomogeneous() override;
234 
239  void RemoveGhostCells();
240 
242 
246  static vtkUnstructuredGrid* GetData(vtkInformationVector* v, int i=0);
248 
252  vtkIdType *GetFaces(vtkIdType cellId);
253 
255 
258  vtkIdTypeArray* GetFaces(){return this->Faces;};
259  vtkIdTypeArray* GetFaceLocations(){return this->FaceLocations;};
261 
269  int InitializeFacesRepresentation(vtkIdType numPrevCells);
270 
278  virtual vtkMTimeType GetMeshMTime();
279 
292  static void DecomposeAPolyhedronCell(vtkCellArray *polyhedronCellArray,
293  vtkIdType & nCellpts,
294  vtkIdType & nCellfaces,
295  vtkCellArray *cellArray,
296  vtkIdTypeArray *faces);
297 
298  static void DecomposeAPolyhedronCell(vtkIdType * polyhedronCellStream,
299  vtkIdType & nCellpts,
300  vtkIdType & nCellfaces,
301  vtkCellArray *cellArray,
302  vtkIdTypeArray *faces);
303 
316  static void DecomposeAPolyhedronCell(vtkIdType nCellFaces,
317  const vtkIdType * inFaceStream,
318  vtkIdType & nCellpts,
319  vtkCellArray * cellArray,
320  vtkIdTypeArray * faces);
321 
328  static void ConvertFaceStreamPointIds(vtkIdList * faceStream,
329  vtkIdType * idMap);
330 
336  static void ConvertFaceStreamPointIds(vtkIdType nfaces,
337  vtkIdType * faceStream,
338  vtkIdType * idMap);
339 
340 
341 protected:
343  ~vtkUnstructuredGrid() override;
344 
345  // used by GetCell method
387 
388  // points inherited
389  // point data (i.e., scalars, vectors, normals, tcoords) inherited
394 
395  // Special support for polyhedra/cells with explicit face representations.
396  // The Faces class represents polygonal faces using a modified vtkCellArray
397  // structure. Each cell face list begins with the total number of faces in
398  // the cell, followed by a vtkCellArray data organization
399  // (n,i,j,k,n,i,j,k,...).
402 
403  vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[]) override;
404  vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds) override;
405  vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[],
406  vtkIdType nfaces, const vtkIdType faces[]) override;
407  void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[]) override;
408 
409 private:
410  // Hide these from the user and the compiler.
411  vtkUnstructuredGrid(const vtkUnstructuredGrid&) = delete;
412  void operator=(const vtkUnstructuredGrid&) = delete;
413 
414  void Cleanup();
415 };
416 
417 #endif
vtkUnstructuredGrid::QuadraticQuad
vtkQuadraticQuad * QuadraticQuad
Definition: vtkUnstructuredGrid.h:370
vtkUnstructuredGrid::Vertex
vtkVertex * Vertex
Definition: vtkUnstructuredGrid.h:346
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:59
vtkUnstructuredGrid::BiQuadraticTriangle
vtkBiQuadraticTriangle * BiQuadraticTriangle
Definition: vtkUnstructuredGrid.h:382
vtkUnstructuredGridBase.h
vtkUnstructuredGrid::QuadraticEdge
vtkQuadraticEdge * QuadraticEdge
Definition: vtkUnstructuredGrid.h:368
vtkUnstructuredGrid::Wedge
vtkWedge * Wedge
Definition: vtkUnstructuredGrid.h:364
vtkUnstructuredGrid::Tetra
vtkTetra * Tetra
Definition: vtkUnstructuredGrid.h:361
vtkUnstructuredGrid::Hexahedron
vtkHexahedron * Hexahedron
Definition: vtkUnstructuredGrid.h:363
vtkUnstructuredGrid::QuadraticPyramid
vtkQuadraticPyramid * QuadraticPyramid
Definition: vtkUnstructuredGrid.h:375
vtkHexagonalPrism
a 3D cell that represents a prism with hexagonal base
Definition: vtkHexagonalPrism.h:48
vtkHexahedron
a cell that represents a linear 3D hexahedron
Definition: vtkHexahedron.h:47
vtkUnstructuredGrid::GetDataObjectType
int GetDataObjectType() override
Standard vtkDataSet API methods.
Definition: vtkUnstructuredGrid.h:99
vtkConvexPointSet
a 3D cell defined by a set of convex points
Definition: vtkConvexPointSet.h:45
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:45
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkUnstructuredGrid::Quad
vtkQuad * Quad
Definition: vtkUnstructuredGrid.h:359
vtkUnstructuredGrid::GetCellTypesArray
vtkUnsignedCharArray * GetCellTypesArray()
Definition: vtkUnstructuredGrid.h:126
vtkEmptyCell
an empty cell used as a place-holder during processing
Definition: vtkEmptyCell.h:32
vtkUnstructuredGrid::LagrangeTriangle
vtkLagrangeTriangle * LagrangeTriangle
Definition: vtkUnstructuredGrid.h:351
vtkUnstructuredGrid::QuadraticTetra
vtkQuadraticTetra * QuadraticTetra
Definition: vtkUnstructuredGrid.h:372
vtkUnstructuredGrid::PentagonalPrism
vtkPentagonalPrism * PentagonalPrism
Definition: vtkUnstructuredGrid.h:366
vtkUnstructuredGrid::GetCellLinks
vtkCellLinks * GetCellLinks()
Definition: vtkUnstructuredGrid.h:132
vtkBiQuadraticTriangle
cell represents a parabolic, isoparametric triangle
Definition: vtkBiQuadraticTriangle.h:51
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:41
vtkUnstructuredGridBase
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...
Definition: vtkUnstructuredGridBase.h:37
vtkQuadraticTriangle
cell represents a parabolic, isoparametric triangle
Definition: vtkQuadraticTriangle.h:46
vtkPointSet::Squeeze
void Squeeze() override
Reclaim any unused memory.
vtkUnstructuredGrid::HexagonalPrism
vtkHexagonalPrism * HexagonalPrism
Definition: vtkUnstructuredGrid.h:367
vtkQuadraticHexahedron
cell represents a parabolic, 20-node isoparametric hexahedron
Definition: vtkQuadraticHexahedron.h:48
vtkPyramid
a 3D cell that represents a linear pyramid
Definition: vtkPyramid.h:49
vtkUnstructuredGrid::FaceLocations
vtkIdTypeArray * FaceLocations
Definition: vtkUnstructuredGrid.h:401
vtkBiQuadraticQuadraticHexahedron
cell represents a biquadratic, 24-node isoparametric hexahedron
Definition: vtkBiQuadraticQuadraticHexahedron.h:83
vtkQuadraticQuad
cell represents a parabolic, 8-node isoparametric quad
Definition: vtkQuadraticQuad.h:46
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:36
vtkUnstructuredGrid::GetFaceLocations
vtkIdTypeArray * GetFaceLocations()
Definition: vtkUnstructuredGrid.h:259
vtkUnstructuredGrid::PolyVertex
vtkPolyVertex * PolyVertex
Definition: vtkUnstructuredGrid.h:347
vtkLine
cell represents a 1D line
Definition: vtkLine.h:35
vtkUnstructuredGrid::GetFaces
vtkIdTypeArray * GetFaces()
Get pointer to faces and facelocations.
Definition: vtkUnstructuredGrid.h:258
vtkUnstructuredGrid::BiQuadraticQuadraticWedge
vtkBiQuadraticQuadraticWedge * BiQuadraticQuadraticWedge
Definition: vtkUnstructuredGrid.h:380
vtkQuadraticPyramid
cell represents a parabolic, 13-node isoparametric pyramid
Definition: vtkQuadraticPyramid.h:55
vtkUnstructuredGrid::TriangleStrip
vtkTriangleStrip * TriangleStrip
Definition: vtkUnstructuredGrid.h:357
vtkUnstructuredGrid::Voxel
vtkVoxel * Voxel
Definition: vtkUnstructuredGrid.h:362
vtkUnstructuredGrid::BiQuadraticQuadraticHexahedron
vtkBiQuadraticQuadraticHexahedron * BiQuadraticQuadraticHexahedron
Definition: vtkUnstructuredGrid.h:381
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:56
vtkUnstructuredGrid::LagrangeCurve
vtkLagrangeCurve * LagrangeCurve
Definition: vtkUnstructuredGrid.h:348
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:42
vtkPolyLine
cell represents a set of 1D lines
Definition: vtkPolyLine.h:42
vtkUnstructuredGrid::BiQuadraticQuad
vtkBiQuadraticQuad * BiQuadraticQuad
Definition: vtkUnstructuredGrid.h:377
vtkBiQuadraticQuad
cell represents a parabolic, 9-node isoparametric quad
Definition: vtkBiQuadraticQuad.h:54
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:51
vtkWedge
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:49
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:59
vtkQuadraticWedge
cell represents a parabolic, 15-node isoparametric wedge
Definition: vtkQuadraticWedge.h:51
vtkQuadraticPolygon
a cell that represents a parabolic n-sided polygon
Definition: vtkQuadraticPolygon.h:46
vtkUnstructuredGrid::EmptyCell
vtkEmptyCell * EmptyCell
Definition: vtkUnstructuredGrid.h:386
vtkUnstructuredGrid::LagrangeTetra
vtkLagrangeTetra * LagrangeTetra
Definition: vtkUnstructuredGrid.h:352
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:39
vtkCubicLine
cell represents a cubic , isoparametric 1D line
Definition: vtkCubicLine.h:45
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkLagrangeQuadrilateral
Definition: vtkLagrangeQuadrilateral.h:38
vtkUnstructuredGrid::Polygon
vtkPolygon * Polygon
Definition: vtkUnstructuredGrid.h:360
vtkUnstructuredGridBase::InternalReplaceCell
virtual void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])=0
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
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:52
vtkUnstructuredGrid::QuadraticPolygon
vtkQuadraticPolygon * QuadraticPolygon
Definition: vtkUnstructuredGrid.h:371
vtkUnstructuredGrid::QuadraticHexahedron
vtkQuadraticHexahedron * QuadraticHexahedron
Definition: vtkUnstructuredGrid.h:373
vtkX3D::size
Definition: vtkX3D.h:253
vtkQuadraticLinearWedge
cell represents a, 12-node isoparametric wedge
Definition: vtkQuadraticLinearWedge.h:55
vtkUnstructuredGrid::TriQuadraticHexahedron
vtkTriQuadraticHexahedron * TriQuadraticHexahedron
Definition: vtkUnstructuredGrid.h:378
vtkUnstructuredGrid::CubicLine
vtkCubicLine * CubicLine
Definition: vtkUnstructuredGrid.h:383
vtkTriangle
a cell that represents a triangle
Definition: vtkTriangle.h:41
vtkUnstructuredGrid::LagrangeWedge
vtkLagrangeWedge * LagrangeWedge
Definition: vtkUnstructuredGrid.h:353
vtkTriQuadraticHexahedron
cell represents a parabolic, 27-node isoparametric hexahedron
Definition: vtkTriQuadraticHexahedron.h:85
vtkUnstructuredGrid::Links
vtkCellLinks * Links
Definition: vtkUnstructuredGrid.h:391
vtkUnstructuredGrid::Pixel
vtkPixel * Pixel
Definition: vtkUnstructuredGrid.h:358
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
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:86
vtkDataSet::GetCellPoints
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
vtkUnstructuredGrid::QuadraticWedge
vtkQuadraticWedge * QuadraticWedge
Definition: vtkUnstructuredGrid.h:374
vtkX3D::info
Definition: vtkX3D.h:376
vtkUnstructuredGrid::Faces
vtkIdTypeArray * Faces
Definition: vtkUnstructuredGrid.h:400
vtkUnstructuredGrid::LagrangeQuadrilateral
vtkLagrangeQuadrilateral * LagrangeQuadrilateral
Definition: vtkUnstructuredGrid.h:349
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:41
vtkUnstructuredGridBase::DeepCopy
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
vtkPixel
a cell that represents an orthogonal quadrilateral
Definition: vtkPixel.h:40
vtkUnstructuredGrid::Pyramid
vtkPyramid * Pyramid
Definition: vtkUnstructuredGrid.h:365
vtkUnstructuredGrid::PolyLine
vtkPolyLine * PolyLine
Definition: vtkUnstructuredGrid.h:355
vtkLagrangeTetra
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
Definition: vtkLagrangeTetra.h:61
vtkQuadraticLinearQuad
cell represents a quadratic-linear, 6-node isoparametric quad
Definition: vtkQuadraticLinearQuad.h:50
vtkUnstructuredGrid::QuadraticLinearWedge
vtkQuadraticLinearWedge * QuadraticLinearWedge
Definition: vtkUnstructuredGrid.h:379
vtkPointSet::ShallowCopy
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
vtkBiQuadraticQuadraticWedge
cell represents a parabolic, 18-node isoparametric wedge
Definition: vtkBiQuadraticQuadraticWedge.h:56
vtkGenericCell
provides thread-safe access to cells
Definition: vtkGenericCell.h:39
vtkLagrangeCurve
Definition: vtkLagrangeCurve.h:37
vtkUnstructuredGrid::LagrangeHexahedron
vtkLagrangeHexahedron * LagrangeHexahedron
Definition: vtkUnstructuredGrid.h:350
vtkUnstructuredGrid::Locations
vtkIdTypeArray * Locations
Definition: vtkUnstructuredGrid.h:393
vtkUnstructuredGrid::Polyhedron
vtkPolyhedron * Polyhedron
Definition: vtkUnstructuredGrid.h:385
vtkUnstructuredGrid::Types
vtkUnsignedCharArray * Types
Definition: vtkUnstructuredGrid.h:392
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:87
vtkUnstructuredGrid::Triangle
vtkTriangle * Triangle
Definition: vtkUnstructuredGrid.h:356
vtkUnstructuredGrid::GetCellLocationsArray
vtkIdTypeArray * GetCellLocationsArray()
Definition: vtkUnstructuredGrid.h:127
vtkDataSet::GetNumberOfCells
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
vtkCellIterator
Efficient cell iterator for vtkDataSet topologies.
Definition: vtkCellIterator.h:80
vtkTetra
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:47
VTK_UNSTRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
Definition: vtkType.h:95
vtkUnstructuredGrid::ConvexPointSet
vtkConvexPointSet * ConvexPointSet
Definition: vtkUnstructuredGrid.h:384
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:64
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:50
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:43
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:369
vtkUnstructuredGrid::GetCells
vtkCellArray * GetCells()
Definition: vtkUnstructuredGrid.h:177
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:60
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:43
vtkUnstructuredGrid::QuadraticLinearQuad
vtkQuadraticLinearQuad * QuadraticLinearQuad
Definition: vtkUnstructuredGrid.h:376
vtkQuad
a cell that represents a 2D quadrilateral
Definition: vtkQuad.h:41
vtkUnstructuredGrid::Connectivity
vtkCellArray * Connectivity
Definition: vtkUnstructuredGrid.h:390
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:354
vtkPolyVertex
cell represents a set of 0D vertices
Definition: vtkPolyVertex.h:38
vtkVoxel
a cell that represents a 3D orthogonal parallelepiped
Definition: vtkVoxel.h:44