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 
46 class vtkCellData;
47 class vtkDoubleArray;
48 class vtkWedge;
49 class vtkIdList;
50 class vtkPointData;
51 class vtkPoints;
52 class vtkVector3d;
53 class vtkVector3i;
54 class vtkLagrangeCurve;
58 
59 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
60 {
61 public:
62  static vtkLagrangeWedge* New();
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 
74  vtkHigherOrderCurve* GetEdgeCell() override;
76 
77 protected:
79  ~vtkLagrangeWedge() override;
80 
86 
87 private:
88  vtkLagrangeWedge(const vtkLagrangeWedge&) = delete;
89  void operator=(const vtkLagrangeWedge&) = delete;
90 };
91 
92 #endif // vtkLagrangeWedge_h
virtual vtkHigherOrderCurve * GetEdgeCell()=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate point attribute data
Definition: vtkPointData.h:41
vtkNew< vtkLagrangeCurve > BdyEdge
represent and manipulate cell attribute data
Definition: vtkCellData.h:41
int GetCellType() override
Return the type of cell.
void InterpolateDerivs(const double pcoords[3], double *derivs) override=0
void InterpolateFunctions(const double pcoords[3], double *weights) override=0
virtual vtkHigherOrderQuadrilateral * GetBoundaryQuad()=0
dynamic, self-adjusting array of double
abstract class to specify cell behavior
Definition: vtkCell.h:60
A 3D cell that represents an arbitrary order Lagrange wedge.
A 2D cell that represents an arbitrary order Lagrange triangle.
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:33
vtkNew< vtkLagrangeTriangle > BdyTri
virtual vtkHigherOrderTriangle * GetBoundaryTri()=0
A 3D cell that represents an arbitrary order HigherOrder wedge.
vtkNew< vtkLagrangeInterpolation > Interp
vtkCell * GetEdge(int edgeId) override=0
Return the edge cell from the edgeId of the cell.
A 2D cell that represents an arbitrary order HigherOrder triangle.
vtkCell * GetFace(int faceId) override=0
Return the face cell from the faceId of the cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkNew< vtkLagrangeQuadrilateral > BdyQuad
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:46
virtual vtkHigherOrderInterpolation * GetInterpolation()=0
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkNew< vtkLagrangeCurve > EdgeCell