VTK  9.0.3
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 
43 class vtkCellData;
44 class vtkDoubleArray;
45 class vtkWedge;
46 class vtkIdList;
47 class vtkPointData;
48 class vtkPoints;
49 class vtkVector3d;
50 class vtkVector3i;
51 class vtkLagrangeCurve;
55 
56 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeWedge : public vtkHigherOrderWedge
57 {
58 public:
59  static vtkLagrangeWedge* New();
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 
70  virtual vtkHigherOrderTriangle* getBdyTri() override;
71  virtual vtkHigherOrderCurve* getEdgeCell() override;
73 
74 protected:
76  ~vtkLagrangeWedge() override;
77 
83 
84 private:
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:33
abstract class to specify cell behavior
Definition: vtkCell.h:57
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:31
a simple class to control print indentation
Definition: vtkIndent.h:34
A 2D cell that represents an arbitrary order Lagrange triangle.
A 3D cell that represents an arbitrary order Lagrange wedge.
virtual vtkHigherOrderInterpolation * getInterp() override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
~vtkLagrangeWedge() override
vtkNew< vtkLagrangeCurve > BdyEdge
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkHigherOrderCurve * getEdgeCell() override
virtual vtkHigherOrderTriangle * getBdyTri() override
vtkNew< vtkLagrangeTriangle > BdyTri
virtual vtkHigherOrderQuadrilateral * getBdyQuad() override
int GetCellType() override
Return the type of cell.
vtkNew< vtkLagrangeCurve > EdgeCell
vtkNew< vtkLagrangeQuadrilateral > BdyQuad
vtkNew< vtkLagrangeInterpolation > Interp
void InterpolateFunctions(const double pcoords[3], double *weights) override
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
static vtkLagrangeWedge * New()
represent and manipulate point attribute data
Definition: vtkPointData.h:32
represent and manipulate 3D points
Definition: vtkPoints.h:34
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:44
@ VTK_LAGRANGE_WEDGE
Definition: vtkCellType.h:114