VTK  9.2.6
vtkLagrangeWedge.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkLagrangeWedge.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
37#ifndef vtkLagrangeWedge_h
38#define vtkLagrangeWedge_h
39
40#include "vtkCellType.h" // For GetCellType.
41#include "vtkCommonDataModelModule.h" // For export macro
42#include "vtkHigherOrderWedge.h"
43#include "vtkNew.h" // For member variable.
44#include "vtkSmartPointer.h" // For member variable.
45
46class vtkCellData;
47class vtkDoubleArray;
48class vtkWedge;
49class vtkIdList;
50class vtkPointData;
51class vtkPoints;
52class vtkVector3d;
53class vtkVector3i;
58
59class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
60{
61public:
64
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66 int GetCellType() override { return VTK_LAGRANGE_WEDGE; }
67 vtkCell* GetEdge(int edgeId) override;
68 vtkCell* GetFace(int faceId) override;
69 void InterpolateFunctions(const double pcoords[3], double* weights) override;
70 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
71
76
77protected:
80
86
87private:
88 vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
89 void operator=(const vtkLagrangeWedge&) = delete;
90};
91
92#endif // vtkLagrangeWedge_h
represent and manipulate cell attribute data
Definition vtkCellData.h:42
abstract class to specify cell behavior
Definition vtkCell.h:61
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:34
a simple class to control print indentation
Definition vtkIndent.h:40
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:62
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:40
a 3D cell that represents a linear wedge
Definition vtkWedge.h:47
@ VTK_LAGRANGE_WEDGE