VTK  9.3.20240424
vtkBezierWedge.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
25#ifndef vtkBezierWedge_h
26#define vtkBezierWedge_h
27
28#include "vtkCellType.h" // For GetCellType.
29#include "vtkCommonDataModelModule.h" // For export macro
30#include "vtkHigherOrderWedge.h"
31#include "vtkNew.h" // For member variable.
32#include "vtkSmartPointer.h" // For member variable.
33
34VTK_ABI_NAMESPACE_BEGIN
35class vtkCellData;
36class vtkDoubleArray;
37class vtkWedge;
38class vtkIdList;
39class vtkPointData;
40class vtkPoints;
41class vtkVector3d;
42class vtkVector3i;
43class vtkBezierCurve;
47class vtkDataSet;
48
49class VTKCOMMONDATAMODEL_EXPORT vtkBezierWedge : public vtkHigherOrderWedge
50{
51public:
54
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56 int GetCellType() override { return VTK_BEZIER_WEDGE; }
57 vtkCell* GetEdge(int edgeId) override;
58 vtkCell* GetFace(int faceId) override;
59 void InterpolateFunctions(const double pcoords[3], double* weights) override;
60 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
61
63
68
70
71protected:
73 ~vtkBezierWedge() override;
74
81
82private:
83 vtkBezierWedge(const vtkBezierWedge&) = delete;
84 void operator=(const vtkBezierWedge&) = delete;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif // vtkBezierWedge_h
A 2D cell that represents an arbitrary order Bezier triangle.
A 3D cell that represents an arbitrary order Bezier wedge.
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkNew< vtkBezierQuadrilateral > BdyQuad
vtkHigherOrderInterpolation * GetInterpolation() override
~vtkBezierWedge() override
int GetCellType() override
Return the type of cell.
static vtkBezierWedge * New()
vtkNew< vtkBezierInterpolation > Interp
vtkNew< vtkDoubleArray > RationalWeights
vtkDoubleArray * GetRationalWeights()
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHigherOrderCurve * GetEdgeCell() override
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkNew< vtkBezierCurve > EdgeCell
vtkNew< vtkBezierTriangle > BdyTri
vtkNew< vtkBezierCurve > BdyEdge
vtkHigherOrderQuadrilateral * GetBoundaryQuad() override
vtkHigherOrderTriangle * GetBoundaryTri() override
void SetRationalWeightsFromPointData(vtkPointData *point_data, vtkIdType numPts)
void InterpolateDerivs(const double pcoords[3], double *derivs) override
represent and manipulate cell attribute data
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 2D cell that represents an arbitrary order HigherOrder triangle.
A 3D cell that represents an arbitrary order HigherOrder wedge.
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
Allocate and hold a VTK object.
Definition vtkNew.h:160
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:139
a 3D cell that represents a linear wedge
Definition vtkWedge.h:85
@ VTK_BEZIER_WEDGE
int vtkIdType
Definition vtkType.h:315