VTK  9.1.0
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=========================================================================*/
34#ifndef vtkLagrangeWedge_h
35#define vtkLagrangeWedge_h
36
37#include "vtkCellType.h" // For GetCellType.
38#include "vtkCommonDataModelModule.h" // For export macro
39#include "vtkHigherOrderWedge.h"
40#include "vtkNew.h" // For member variable.
41#include "vtkSmartPointer.h" // For member variable.
42
43class vtkCellData;
44class vtkDoubleArray;
45class vtkWedge;
46class vtkIdList;
47class vtkPointData;
48class vtkPoints;
49class vtkVector3d;
50class vtkVector3i;
55
56class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
57{
58public:
61
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63 int GetCellType() override { return VTK_LAGRANGE_WEDGE; }
64 vtkCell* GetEdge(int edgeId) override;
65 vtkCell* GetFace(int faceId) override;
66 void InterpolateFunctions(const double pcoords[3], double* weights) override;
67 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
68
73
74protected:
77
83
84private:
85 vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
86 void operator=(const vtkLagrangeWedge&) = delete;
87};
88
89#endif // vtkLagrangeWedge_h
represent and manipulate cell attribute data
Definition: vtkCellData.h:142
abstract class to specify cell behavior
Definition: vtkCell.h:147
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:140
a simple class to control print indentation
Definition: vtkIndent.h:113
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
represent and manipulate point attribute data
Definition: vtkPointData.h:142
represent and manipulate 3D points
Definition: vtkPoints.h:143
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:93
@ VTK_LAGRANGE_WEDGE
Definition: vtkCellType.h:154