VTK  9.3.1
vtkLagrangeTetra.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkLagrangeTetra_h
23 #define vtkLagrangeTetra_h
24 
25 #include "vtkCommonDataModelModule.h" // For export macro
26 #include "vtkHigherOrderTetra.h"
27 
28 #include <vector> // For caching
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkTetra;
32 class vtkLagrangeCurve;
34 class vtkDoubleArray;
35 
36 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeTetra : public vtkHigherOrderTetra
37 {
38 public:
39  static vtkLagrangeTetra* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42  int GetCellType() override { return VTK_LAGRANGE_TETRAHEDRON; }
43 
44  vtkCell* GetEdge(int edgeId) override;
45  vtkCell* GetFace(int faceId) override;
46  void InterpolateFunctions(const double pcoords[3], double* weights) override;
47  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
48  vtkHigherOrderCurve* GetEdgeCell() override;
50 
51 protected:
53  ~vtkLagrangeTetra() override;
54 
57 
58 private:
59  vtkLagrangeTetra(const vtkLagrangeTetra&) = delete;
60  void operator=(const vtkLagrangeTetra&) = delete;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
virtual vtkHigherOrderCurve * GetEdgeCell()=0
vtkNew< vtkLagrangeTriangle > FaceCell
int GetCellType() override
Return the type of cell.
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
vtkCell * GetFace(int faceId) override=0
Return the face cell from the faceId of the cell.
dynamic, self-adjusting array of double
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:33
abstract class to specify cell behavior
Definition: vtkCell.h:49
A 2D cell that represents an arbitrary order Lagrange triangle.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual vtkHigherOrderTriangle * GetFaceCell()=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InterpolateDerivs(const double pcoords[3], double *derivs) override=0
A 2D cell that represents an arbitrary order HigherOrder triangle.
void InterpolateFunctions(const double pcoords[3], double *weights) override=0
A 3D cell that represents an arbitrary order HigherOrder tetrahedron.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkCell * GetEdge(int edgeId) override=0
Return the edge cell from the edgeId of the cell.
vtkNew< vtkLagrangeCurve > EdgeCell