VTK  9.7.1
vtkLagrangeWedge.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
23 #ifndef vtkLagrangeWedge_h
24 #define vtkLagrangeWedge_h
25 
26 #include "vtkCellType.h" // For GetCellType.
27 #include "vtkCommonDataModelModule.h" // For export macro
28 #include "vtkHigherOrderWedge.h"
29 #include "vtkNew.h" // For member variable.
30 #include "vtkSmartPointer.h" // For member variable.
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class vtkCellData;
34 class vtkDoubleArray;
35 class vtkWedge;
36 class vtkIdList;
37 class vtkPointData;
38 class vtkPoints;
39 class vtkVector3d;
40 class vtkVector3i;
41 class vtkLagrangeCurve;
45 
46 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
47 {
48 public:
49  static vtkLagrangeWedge* New();
51 
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53  int GetCellType() override { return VTK_LAGRANGE_WEDGE; }
54  vtkCell* GetEdge(int edgeId) override;
55  vtkCell* GetFace(int faceId) override;
56  void InterpolateFunctions(const double pcoords[3], double* weights) override;
57  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
58 
61  vtkHigherOrderCurve* GetEdgeCell() override;
63 
64 protected:
66  ~vtkLagrangeWedge() override;
67 
73 
74 private:
75  vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
76  void operator=(const vtkLagrangeWedge&) = delete;
77 };
78 
79 VTK_ABI_NAMESPACE_END
80 #endif // vtkLagrangeWedge_h
virtual vtkHigherOrderCurve * GetEdgeCell()=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate point attribute data
Definition: vtkPointData.h:30
vtkNew< vtkLagrangeCurve > BdyEdge
represent and manipulate cell attribute data
Definition: vtkCellData.h:31
int GetCellType() override
Return the type of cell.
void InterpolateDerivs(const double pcoords[3], double *derivs) override=0
void InterpolateFunctions(const double pcoords[3], double *weights) override=0
Compute the interpolation functions/derivatives (aka shape functions/derivatives) No-ops at this leve...
virtual vtkHigherOrderQuadrilateral * GetBoundaryQuad()=0
dynamic, self-adjusting array of double
abstract class to specify cell behavior
Definition: vtkCell.h:50
A 3D cell that represents an arbitrary order Lagrange wedge.
A 2D cell that represents an arbitrary order Lagrange triangle.
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:25
vtkNew< vtkLagrangeTriangle > BdyTri
virtual vtkHigherOrderTriangle * GetBoundaryTri()=0
A 3D cell that represents an arbitrary order HigherOrder wedge.
vtkNew< vtkLagrangeInterpolation > Interp
vtkCell * GetEdge(int edgeId) override=0
Return the edge cell from the edgeId of the cell.
A 2D cell that represents an arbitrary order HigherOrder triangle.
vtkCell * GetFace(int faceId) override=0
Return the face cell from the faceId of the cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkNew< vtkLagrangeQuadrilateral > BdyQuad
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:35
virtual vtkHigherOrderInterpolation * GetInterpolation()=0
represent and manipulate 3D points
Definition: vtkPoints.h:30
vtkNew< vtkLagrangeCurve > EdgeCell