VTK  9.6.20260323
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
22
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
32VTK_ABI_NAMESPACE_BEGIN
33class vtkCellData;
34class vtkDoubleArray;
35class vtkWedge;
36class vtkIdList;
37class vtkPointData;
38class vtkPoints;
39class vtkVector3d;
40class vtkVector3i;
45
46class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
47{
48public:
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
63
64protected:
67
73
74private:
75 vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
76 void operator=(const vtkLagrangeWedge&) = delete;
77};
78
79VTK_ABI_NAMESPACE_END
80#endif // vtkLagrangeWedge_h
represent and manipulate cell attribute data
dynamic, self-adjusting array of double
A 2D cell that represents an arbitrary order HigherOrder triangle.
list of point or cell ids
Definition vtkIdList.h:135
a simple class to control print indentation
Definition vtkIndent.h:108
A 2D cell that represents an arbitrary order Lagrange triangle.
vtkHigherOrderInterpolation * GetInterpolation() override
~vtkLagrangeWedge() override
vtkNew< vtkLagrangeCurve > BdyEdge
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHigherOrderTriangle * GetBoundaryTri() override
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkNew< vtkLagrangeTriangle > BdyTri
int GetCellType() override
Return the type of cell.
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkHigherOrderCurve * GetEdgeCell() override
vtkNew< vtkLagrangeCurve > EdgeCell
static vtkLagrangeWedge * New()
vtkNew< vtkLagrangeQuadrilateral > BdyQuad
vtkNew< vtkLagrangeInterpolation > Interp
void InterpolateFunctions(const double pcoords[3], double *weights) override
Compute the interpolation functions/derivatives (aka shape functions/derivatives) No-ops at this leve...
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkHigherOrderQuadrilateral * GetBoundaryQuad() override
Allocate and hold a VTK object.
Definition vtkNew.h:167
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:140
a 3D cell that represents a linear wedge
Definition vtkWedge.h:85
@ VTK_LAGRANGE_WEDGE