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=========================================================================*/
37#ifndef vtkBezierWedge_h
38#define vtkBezierWedge_h
39
40#include "vtkCellType.h" // For GetCellType.
41#include "vtkCommonDataModelModule.h" // For export macro
42#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
43#include "vtkHigherOrderWedge.h"
44#include "vtkNew.h" // For member variable.
45#include "vtkSmartPointer.h" // For member variable.
46
47class vtkCellData;
48class vtkDoubleArray;
49class vtkWedge;
50class vtkIdList;
51class vtkPointData;
52class vtkPoints;
53class vtkVector3d;
54class vtkVector3i;
55class vtkBezierCurve;
59class vtkDataSet;
60
61class VTKCOMMONDATAMODEL_EXPORT vtkBezierWedge : public vtkHigherOrderWedge
62{
63public:
66
67 void PrintSelf(ostream& os, vtkIndent indent) override;
68 int GetCellType() override { return VTK_BEZIER_WEDGE; }
69 vtkCell* GetEdge(int edgeId) override;
70 vtkCell* GetFace(int faceId) override;
72 "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.")
73 void EvaluateLocationProjectedNode(
74 int& subId, const vtkIdType point_id, double x[3], double* weights);
75 void InterpolateFunctions(const double pcoords[3], double* weights) override;
76 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
77
78 void SetRationalWeightsFromPointData(vtkPointData* point_data, const vtkIdType numPts);
79
80 vtkHigherOrderQuadrilateral* GetBoundaryQuad() override;
81 vtkHigherOrderTriangle* GetBoundaryTri() override;
82 vtkHigherOrderCurve* GetEdgeCell() override;
83 vtkHigherOrderInterpolation* GetInterpolation() override;
84
85 vtkDoubleArray* GetRationalWeights();
86
87protected:
89 ~vtkBezierWedge() override;
90
91 vtkNew<vtkDoubleArray> RationalWeights;
97
98private:
99 vtkBezierWedge(const vtkBezierWedge&) = delete;
100 void operator=(const vtkBezierWedge&) = delete;
101};
102
103#endif // vtkBezierWedge_h
A 2D cell that represents an arbitrary order Bezier triangle.
A 3D cell that represents an arbitrary order Bezier wedge.
int GetCellType() override
Return the type of cell.
static vtkBezierWedge * New()
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.
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
represent and manipulate cell attribute data
Definition: vtkCellData.h:42
abstract class to specify cell behavior
Definition: vtkCell.h:61
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
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:34
a simple class to control print indentation
Definition: vtkIndent.h:40
Allocate and hold a VTK object.
Definition: vtkNew.h:62
represent and manipulate point attribute data
Definition: vtkPointData.h:42
represent and manipulate 3D points
Definition: vtkPoints.h:40
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:47
@ VTK_BEZIER_WEDGE
Definition: vtkCellType.h:124
#define VTK_DEPRECATED_IN_9_1_0(reason)
int vtkIdType
Definition: vtkType.h:332