VTK  9.2.6
vtkLagrangeTetra.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLagrangeTetra.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 vtkLagrangeTetra_h
35 #define vtkLagrangeTetra_h
36 
37 #include "vtkCommonDataModelModule.h" // For export macro
38 #include "vtkHigherOrderTetra.h"
39 
40 #include <vector> // For caching
41 
42 class vtkTetra;
43 class vtkLagrangeCurve;
45 class vtkDoubleArray;
46 
47 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeTetra : public vtkHigherOrderTetra
48 {
49 public:
50  static vtkLagrangeTetra* New();
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53  int GetCellType() override { return VTK_LAGRANGE_TETRAHEDRON; }
54 
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  vtkHigherOrderCurve* GetEdgeCell() override;
61 
62 protected:
64  ~vtkLagrangeTetra() override;
65 
68 
69 private:
70  vtkLagrangeTetra(const vtkLagrangeTetra&) = delete;
71  void operator=(const vtkLagrangeTetra&) = delete;
72 };
73 
74 #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:44
abstract class to specify cell behavior
Definition: vtkCell.h:60
A 2D cell that represents an arbitrary order Lagrange triangle.
a simple class to control print indentation
Definition: vtkIndent.h:39
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