VTK  9.3.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
25 #ifndef vtkLagrangeWedge_h
26 #define vtkLagrangeWedge_h
27 
28 #include "vtkCellType.h" // For GetCellType.
29 #include "vtkCommonDataModelModule.h" // For export macro
30 #include "vtkHigherOrderWedge.h"
31 #include "vtkNew.h" // For member variable.
32 #include "vtkSmartPointer.h" // For member variable.
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class vtkCellData;
36 class vtkDoubleArray;
37 class vtkWedge;
38 class vtkIdList;
39 class vtkPointData;
40 class vtkPoints;
41 class vtkVector3d;
42 class vtkVector3i;
43 class vtkLagrangeCurve;
47 
48 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
49 {
50 public:
51  static vtkLagrangeWedge* New();
53 
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55  int GetCellType() override { return VTK_LAGRANGE_WEDGE; }
56  vtkCell* GetEdge(int edgeId) override;
57  vtkCell* GetFace(int faceId) override;
58  void InterpolateFunctions(const double pcoords[3], double* weights) override;
59  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
60 
63  vtkHigherOrderCurve* GetEdgeCell() override;
65 
66 protected:
68  ~vtkLagrangeWedge() override;
69 
75 
76 private:
77  vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
78  void operator=(const vtkLagrangeWedge&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #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:29
vtkNew< vtkLagrangeCurve > BdyEdge
represent and manipulate cell attribute data
Definition: vtkCellData.h:30
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
virtual vtkHigherOrderQuadrilateral * GetBoundaryQuad()=0
dynamic, self-adjusting array of double
abstract class to specify cell behavior
Definition: vtkCell.h:49
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:22
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:28
vtkNew< vtkLagrangeCurve > EdgeCell