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 
47 class vtkCellData;
48 class vtkDoubleArray;
49 class vtkWedge;
50 class vtkIdList;
51 class vtkPointData;
52 class vtkPoints;
53 class vtkVector3d;
54 class vtkVector3i;
55 class vtkBezierCurve;
58 class vtkBezierTriangle;
59 class vtkDataSet;
60 
61 class VTKCOMMONDATAMODEL_EXPORT vtkBezierWedge : public vtkHigherOrderWedge
62 {
63 public:
64  static vtkBezierWedge* New();
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 
87 protected:
89  ~vtkBezierWedge() override;
90 
91  vtkNew<vtkDoubleArray> RationalWeights;
97 
98 private:
99  vtkBezierWedge(const vtkBezierWedge&) = delete;
100  void operator=(const vtkBezierWedge&) = delete;
101 };
102 
103 #endif // vtkBezierWedge_h
#define VTK_DEPRECATED_IN_9_1_0(reason)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate point attribute data
Definition: vtkPointData.h:41
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
represent and manipulate cell attribute data
Definition: vtkCellData.h:41
A 2D cell that represents an arbitrary order Bezier triangle.
int vtkIdType
Definition: vtkType.h:332
dynamic, self-adjusting array of double
int GetCellType() override
Return the type of cell.
abstract class to specify cell behavior
Definition: vtkCell.h:60
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:33
A 3D cell that represents an arbitrary order HigherOrder wedge.
A 3D cell that represents an arbitrary order Bezier wedge.
vtkCell * GetEdge(int edgeId) override=0
Return the edge cell from the edgeId of the cell.
Allocate and hold a VTK object.
Definition: vtkMeta.h:30
A 2D cell that represents an arbitrary order HigherOrder triangle.
vtkCell * GetFace(int faceId) override=0
Return the face cell from the faceId of the cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
a 3D cell that represents a linear wedge
Definition: vtkWedge.h:46
represent and manipulate 3D points
Definition: vtkPoints.h:39