VTK  9.3.20240419
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 
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
represent and manipulate cell attribute data
Definition: vtkCellData.h:141
abstract class to specify cell behavior
Definition: vtkCell.h:130
dynamic, self-adjusting array of double
A 2D cell that represents an arbitrary order HigherOrder triangle.
A 3D cell that represents an arbitrary order HigherOrder wedge.
list of point or cell ids
Definition: vtkIdList.h:133
a simple class to control print indentation
Definition: vtkIndent.h:108
A 2D cell that represents an arbitrary order Lagrange triangle.
A 3D cell that represents an arbitrary order Lagrange wedge.
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
~vtkLagrangeWedge() override
vtkNew< vtkLagrangeCurve > BdyEdge
vtkHigherOrderInterpolation * GetInterpolation() override
vtkHigherOrderQuadrilateral * GetBoundaryQuad() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHigherOrderCurve * GetEdgeCell() override
vtkNew< vtkLagrangeTriangle > BdyTri
int GetCellType() override
Return the type of cell.
vtkHigherOrderTriangle * GetBoundaryTri() override
vtkNew< vtkLagrangeCurve > EdgeCell
vtkNew< vtkLagrangeQuadrilateral > BdyQuad
vtkNew< vtkLagrangeInterpolation > Interp
void InterpolateFunctions(const double pcoords[3], double *weights) override
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
static vtkLagrangeWedge * New()
represent and manipulate point attribute data
Definition: vtkPointData.h:140
represent and manipulate 3D points
Definition: vtkPoints.h:139
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:85
@ VTK_LAGRANGE_WEDGE
Definition: vtkCellType.h:125