VTK  9.3.1
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;
45  void SetRationalWeightsFromPointData(vtkPointData* point_data, vtkIdType numPts);
46  void InterpolateFunctions(const double pcoords[3], double* weights) override;
47  void InterpolateDerivs(const double pcoords[3], double* derivs) override;
48 
49  vtkHigherOrderCurve* GetEdgeCell() override;
51 
52  vtkDoubleArray* GetRationalWeights();
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
virtual vtkHigherOrderCurve * GetEdgeCell()=0
vtkNew< vtkBezierTriangle > FaceCell
represent and manipulate point attribute data
Definition: vtkPointData.h:29
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
vtkNew< vtkBezierCurve > EdgeCell
A 2D cell that represents an arbitrary order Bezier triangle.
int vtkIdType
Definition: vtkType.h:315
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:33
abstract class to specify cell behavior
Definition: vtkCell.h:49
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual vtkHigherOrderTriangle * GetFaceCell()=0
A 3D cell that represents an arbitrary order Bezier tetrahedron.
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< vtkDoubleArray > RationalWeights
int GetCellType() override
Return the type of cell.