VTK  9.0.1
vtkLagrangeHexahedron.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLagrangeHexahedron.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 =========================================================================*/
26 #ifndef vtkLagrangeHexahedron_h
27 #define vtkLagrangeHexahedron_h
28 
29 #include "vtkCellType.h" // For GetCellType.
30 #include "vtkCommonDataModelModule.h" // For export macro
32 #include "vtkNew.h" // For member variable.
33 #include "vtkSmartPointer.h" // For member variable.
34 
35 class vtkCellData;
36 class vtkDoubleArray;
37 class vtkHexahedron;
38 class vtkIdList;
39 class vtkLagrangeCurve;
42 class vtkPointData;
43 class vtkPoints;
44 class vtkVector3d;
45 class vtkVector3i;
46 
47 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeHexahedron : public vtkHigherOrderHexahedron
48 {
49 public:
52 
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54  int GetCellType() override { return VTK_LAGRANGE_HEXAHEDRON; }
55  vtkCell* GetEdge(int edgeId) override;
56  vtkCell* GetFace(int faceId) override;
57  void InterpolateFunctions(const double pcoords[3], double* weights) override;
58  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
59  virtual vtkHigherOrderCurve* getEdgeCell() override;
62 
63 protected:
65  int subId, vtkDataArray* scalarsIn = nullptr, vtkDataArray* scalarsOut = nullptr) override;
68 
72 
73 private:
75  void operator=(const vtkLagrangeHexahedron&) = delete;
76 };
77 
78 #endif // vtkLagrangeHexahedron_h
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:34
vtkHexahedron
a cell that represents a linear 3D hexahedron
Definition: vtkHexahedron.h:42
vtkLagrangeHexahedron::InterpolateFunctions
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:32
vtkLagrangeHexahedron::getFaceCell
virtual vtkHigherOrderQuadrilateral * getFaceCell() override
vtkLagrangeHexahedron::~vtkLagrangeHexahedron
~vtkLagrangeHexahedron() override
vtkLagrangeHexahedron::InterpolateDerivs
void InterpolateDerivs(const double pcoords[3], double *derivs) override
VTK_LAGRANGE_HEXAHEDRON
@ VTK_LAGRANGE_HEXAHEDRON
Definition: vtkCellType.h:113
vtkLagrangeHexahedron::FaceCell
vtkNew< vtkLagrangeQuadrilateral > FaceCell
Definition: vtkLagrangeHexahedron.h:69
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:50
vtkHigherOrderCurve
Definition: vtkHigherOrderCurve.h:38
vtkHigherOrderHexahedron.h
vtkLagrangeHexahedron::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLagrangeHexahedron::EdgeCell
vtkNew< vtkLagrangeCurve > EdgeCell
Definition: vtkLagrangeHexahedron.h:70
vtkVector3i
Definition: vtkVector.h:463
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:57
vtkCellData
represent and manipulate cell attribute data
Definition: vtkCellData.h:33
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkHigherOrderQuadrilateral
Definition: vtkHigherOrderQuadrilateral.h:41
vtkLagrangeHexahedron::New
static vtkLagrangeHexahedron * New()
vtkCellType.h
vtkLagrangeQuadrilateral
Definition: vtkLagrangeQuadrilateral.h:39
vtkSmartPointer.h
vtkLagrangeHexahedron::Interp
vtkNew< vtkLagrangeInterpolation > Interp
Definition: vtkLagrangeHexahedron.h:71
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:31
vtkNew< vtkLagrangeQuadrilateral >
vtkLagrangeInterpolation
Definition: vtkLagrangeInterpolation.h:35
vtkLagrangeHexahedron::GetApproximateHex
vtkHexahedron * GetApproximateHex(int subId, vtkDataArray *scalarsIn=nullptr, vtkDataArray *scalarsOut=nullptr) override
vtkLagrangeHexahedron::getInterp
virtual vtkHigherOrderInterpolation * getInterp() override
vtkNew.h
vtkLagrangeHexahedron::GetFace
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkLagrangeHexahedron::GetEdge
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkLagrangeCurve
Definition: vtkLagrangeCurve.h:38
vtkHigherOrderInterpolation
Definition: vtkHigherOrderInterpolation.h:36
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:36
vtkHigherOrderHexahedron
A 3D cell that represents an arbitrary order HigherOrder hex.
Definition: vtkHigherOrderHexahedron.h:49
vtkLagrangeHexahedron::getEdgeCell
virtual vtkHigherOrderCurve * getEdgeCell() override
vtkLagrangeHexahedron
A 3D cell that represents an arbitrary order Lagrange hex.
Definition: vtkLagrangeHexahedron.h:48
vtkVector3d
Definition: vtkVector.h:489
vtkLagrangeHexahedron::GetCellType
int GetCellType() override
Return the type of cell.
Definition: vtkLagrangeHexahedron.h:54
vtkLagrangeHexahedron::vtkLagrangeHexahedron
vtkLagrangeHexahedron()