VTK  9.3.20240419
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 
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkTetra;
30 class vtkBezierCurve;
31 class vtkBezierTriangle;
32 class vtkDoubleArray;
33 class vtkDataSet;
34 
35 class VTKCOMMONDATAMODEL_EXPORT vtkBezierTetra : public vtkHigherOrderTetra
36 {
37 public:
38  static vtkBezierTetra* New();
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 
54 protected:
56  ~vtkBezierTetra() override;
60 
61 private:
62  vtkBezierTetra(const vtkBezierTetra&) = delete;
63  void operator=(const vtkBezierTetra&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
A 3D cell that represents an arbitrary order Bezier tetrahedron.
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkNew< vtkDoubleArray > RationalWeights
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
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
~vtkBezierTetra() override
vtkHigherOrderTriangle * GetFaceCell() override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkNew< vtkBezierCurve > EdgeCell
void InterpolateDerivs(const double pcoords[3], double *derivs) override
static vtkBezierTetra * New()
vtkHigherOrderCurve * GetEdgeCell() override
vtkDoubleArray * GetRationalWeights()
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:166
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
represent and manipulate point attribute data
Definition: vtkPointData.h:140
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:113
@ VTK_BEZIER_TETRAHEDRON
Definition: vtkCellType.h:132
int vtkIdType
Definition: vtkType.h:315