VTK  9.3.20240424
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
30VTK_ABI_NAMESPACE_BEGIN
31class vtkTetra;
34class vtkDoubleArray;
35
36class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeTetra : public vtkHigherOrderTetra
37{
38public:
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;
50
51protected:
54
57
58private:
59 vtkLagrangeTetra(const vtkLagrangeTetra&) = delete;
60 void operator=(const vtkLagrangeTetra&) = delete;
61};
62
63VTK_ABI_NAMESPACE_END
64#endif
abstract class to specify cell behavior
Definition vtkCell.h:130
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:108
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
vtkHigherOrderCurve * GetEdgeCell() override
static vtkLagrangeTetra * New()
vtkNew< vtkLagrangeTriangle > FaceCell
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkNew< vtkLagrangeCurve > EdgeCell
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
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.
~vtkLagrangeTetra() override
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkHigherOrderTriangle * GetFaceCell() override
A 2D cell that represents an arbitrary order Lagrange triangle.
Allocate and hold a VTK object.
Definition vtkNew.h:160
a 3D cell that represents a tetrahedron
Definition vtkTetra.h:113
@ VTK_LAGRANGE_TETRAHEDRON