VTK  9.2.6
vtkBezierWedge.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkBezierWedge.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
33
34#ifndef vtkBezierWedge_h
35#define vtkBezierWedge_h
36
37#include "vtkCellType.h" // For GetCellType.
38#include "vtkCommonDataModelModule.h" // For export macro
39#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
40#include "vtkHigherOrderWedge.h"
41#include "vtkNew.h" // For member variable.
42#include "vtkSmartPointer.h" // For member variable.
43
44class vtkCellData;
45class vtkDoubleArray;
46class vtkWedge;
47class vtkIdList;
48class vtkPointData;
49class vtkPoints;
50class vtkVector3d;
51class vtkVector3i;
52class vtkBezierCurve;
56class vtkDataSet;
57
58class VTKCOMMONDATAMODEL_EXPORT vtkBezierWedge : public vtkHigherOrderWedge
59{
60public:
63
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65 int GetCellType() override { return VTK_BEZIER_WEDGE; }
66 vtkCell* GetEdge(int edgeId) override;
67 vtkCell* GetFace(int faceId) override;
69 "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.")
71 int& subId, const vtkIdType point_id, double x[3], double* weights);
72 void InterpolateFunctions(const double pcoords[3], double* weights) override;
73 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
74
76
81
83
84protected:
86 ~vtkBezierWedge() override;
87
94
95private:
96 vtkBezierWedge(const vtkBezierWedge&) = delete;
97 void operator=(const vtkBezierWedge&) = delete;
98};
99
100#endif // vtkBezierWedge_h
A 2D cell that represents an arbitrary order Bezier triangle.
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkNew< vtkBezierQuadrilateral > BdyQuad
vtkHigherOrderInterpolation * GetInterpolation() 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 EvaluateLocationProjectedNode(int &subId, const vtkIdType point_id, double x[3], double *weights)
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, const vtkIdType numPts)
void InterpolateDerivs(const double pcoords[3], double *derivs) override
represent and manipulate cell attribute data
Definition vtkCellData.h:36
abstract class to specify dataset behavior
Definition vtkDataSet.h:57
dynamic, self-adjusting array of double
A 2D cell that represents an arbitrary order HigherOrder triangle.
list of point or cell ids
Definition vtkIdList.h:31
a simple class to control print indentation
Definition vtkIndent.h:34
Allocate and hold a VTK object.
Definition vtkNew.h:56
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:34
a 3D cell that represents a linear wedge
Definition vtkWedge.h:44
@ VTK_BEZIER_WEDGE
#define VTK_DEPRECATED_IN_9_1_0(reason)
int vtkIdType
Definition vtkType.h:332