22 #include "vtkFiltersCellGridModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
33 class vtkTypeFloat32Array;
34 class vtkTypeInt32Array;
60 static int GetShapeCornerCount(
Shape shape);
61 static int GetShapeDimension(
Shape shape);
65 virtual Shape GetShape()
const = 0;
81 virtual const std::array<double, 3>& GetCornerParameter(
int corner)
const = 0;
86 virtual int GetNumberOfSideTypes()
const = 0;
100 virtual std::pair<int, int> GetSideRangeForType(
int sideType)
const = 0;
112 virtual int GetNumberOfSidesOfDimension(
int dimension)
const = 0;
120 virtual Shape GetSideShape(
int side)
const = 0;
130 virtual const std::vector<vtkIdType>& GetSideConnectivity(
int side)
const = 0;
137 virtual vtkTypeFloat32Array* GetReferencePoints()
const = 0;
146 virtual vtkTypeInt32Array* GetSideConnectivity()
const = 0;
153 virtual vtkTypeInt32Array* GetSideOffsetsAndShapes()
const = 0;
156 void FillReferencePoints(vtkTypeFloat32Array* arr)
const;
159 void FillSideConnectivity(vtkTypeInt32Array* arr)
const;
181 void FillSideOffsetsAndShapes(vtkTypeInt32Array* arr)
const;
189 void operator=(
const vtkDGCell&) =
delete;
192 VTK_ABI_NAMESPACE_END
virtual int GetDimension() const
Return the parametric dimension of this cell type (0, 1, 2, or 3).
A four-cornered volume bounded by 4 triangular shapes.
A volumetric, triangular prism.
Visualization data composed of cells of arbitrary type.
a simple class to control print indentation
A function defined over the physical domain of a vtkCellGrid.
Base class for a discontinuous Galerkin cells of all shapes.
virtual int GetNumberOfCorners() const
Return the number of corner points for this cell type.
represent and manipulate attribute data in a dataset
Represent a string by its integer hash.
A three-cornered face bounded by 3 edges.
A four-cornered face bounded by 4 edges.
An eight-cornered volume; a quadrilateral prism.
Shape
All possible shapes for DG cells.
static int GetShapeCornerCount(Shape shape)
A curve connecting two vertices.
static int GetShapeDimension(Shape shape)