VTK  9.0.3
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 =========================================================================*/
31 #ifndef vtkLagrangeTetra_h
32 #define vtkLagrangeTetra_h
33 
34 #include "vtkCommonDataModelModule.h" // For export macro
35 #include "vtkHigherOrderTetra.h"
36 
37 #include <vector> // For caching
38 
39 class vtkTetra;
40 class vtkLagrangeCurve;
42 class vtkDoubleArray;
43 
44 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeTetra : public vtkHigherOrderTetra
45 {
46 public:
47  static vtkLagrangeTetra* New();
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50  int GetCellType() override { return VTK_LAGRANGE_TETRAHEDRON; }
51 
52  vtkCell* GetEdge(int edgeId) override;
53  vtkCell* GetFace(int faceId) override;
54  void InterpolateFunctions(const double pcoords[3], double* weights) override;
55  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
56  virtual vtkHigherOrderCurve* getEdgeCell() override;
57  virtual vtkHigherOrderTriangle* getFaceCell() override;
58 
59 protected:
61  ~vtkLagrangeTetra() override;
62 
65 
66 private:
67  vtkLagrangeTetra(const vtkLagrangeTetra&) = delete;
68  void operator=(const vtkLagrangeTetra&) = delete;
69 };
70 
71 #endif
abstract class to specify cell behavior
Definition: vtkCell.h:57
dynamic, self-adjusting array of double
A 3D cell that represents an arbitrary order HigherOrder tetrahedron.
A 2D cell that represents an arbitrary order HigherOrder triangle.
a simple class to control print indentation
Definition: vtkIndent.h:34
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
static vtkLagrangeTetra * New()
vtkNew< vtkLagrangeTriangle > FaceCell
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkNew< vtkLagrangeCurve > EdgeCell
virtual vtkHigherOrderCurve * getEdgeCell() override
int GetCellType() override
Return the type of cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkHigherOrderTriangle * getFaceCell() override
~vtkLagrangeTetra() override
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
A 2D cell that represents an arbitrary order Lagrange triangle.
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:42
@ VTK_LAGRANGE_TETRAHEDRON
Definition: vtkCellType.h:112