VTK  9.4.20241223
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
34VTK_ABI_NAMESPACE_BEGIN
35class vtkCellData;
36class vtkDoubleArray;
37class vtkWedge;
38class vtkIdList;
39class vtkPointData;
40class vtkPoints;
41class vtkVector3d;
42class vtkVector3i;
47
48class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
49{
50public:
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
66protected:
69
75
76private:
77 vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
78 void operator=(const vtkLagrangeWedge&) = delete;
79};
80
81VTK_ABI_NAMESPACE_END
82#endif // vtkLagrangeWedge_h
represent and manipulate cell attribute data
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.
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
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:139
a 3D cell that represents a linear wedge
Definition vtkWedge.h:85
@ VTK_LAGRANGE_WEDGE