Loading [MathJax]/extensions/tex2jax.js
VTK  9.4.20250413
vtkBezierTetra.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 vtkBezierTetra_h
23#define vtkBezierTetra_h
24
25#include "vtkCommonDataModelModule.h" // For export macro
26#include "vtkHigherOrderTetra.h"
27
28VTK_ABI_NAMESPACE_BEGIN
29class vtkTetra;
30class vtkBezierCurve;
32class vtkDoubleArray;
33class vtkDataSet;
34
35class VTKCOMMONDATAMODEL_EXPORT vtkBezierTetra : public vtkHigherOrderTetra
36{
37public:
40
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42 int GetCellType() override { return VTK_BEZIER_TETRAHEDRON; }
43 vtkCell* GetEdge(int edgeId) override;
44 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
51
53
54protected:
56 ~vtkBezierTetra() override;
60
61private:
62 vtkBezierTetra(const vtkBezierTetra&) = delete;
63 void operator=(const vtkBezierTetra&) = delete;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
A 3D cell that represents an arbitrary order Bezier tetrahedron.
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkNew< vtkDoubleArray > RationalWeights
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkDoubleArray * GetRationalWeights()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetRationalWeightsFromPointData(vtkPointData *point_data, vtkIdType numPts)
vtkNew< vtkBezierTriangle > FaceCell
vtkHigherOrderTriangle * GetFaceCell() override
~vtkBezierTetra() override
vtkHigherOrderCurve * GetEdgeCell() override
vtkNew< vtkBezierCurve > EdgeCell
void InterpolateDerivs(const double pcoords[3], double *derivs) override
static vtkBezierTetra * New()
int GetCellType() override
Return the type of cell.
A 2D cell that represents an arbitrary order Bezier triangle.
abstract class to specify cell behavior
Definition vtkCell.h:130
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
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
Allocate and hold a VTK object.
Definition vtkNew.h:167
represent and manipulate point attribute data
a 3D cell that represents a tetrahedron
Definition vtkTetra.h:113
@ VTK_BEZIER_TETRAHEDRON
int vtkIdType
Definition vtkType.h:332