diff --git a/Common/DataModel/vtkBezierCurve.h b/Common/DataModel/vtkBezierCurve.h index d6dbd5c8bd2fdc675f18435dcce77102267654b0..a023e3f671feadba391d720564996176c9308b25 100644 --- a/Common/DataModel/vtkBezierCurve.h +++ b/Common/DataModel/vtkBezierCurve.h @@ -21,6 +21,7 @@ #include "vtkCellType.h" // For GetCellType. #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderCurve.h" #include "vtkNew.h" // For member variable. #include "vtkSmartPointer.h" // For member variable. @@ -43,6 +44,8 @@ public: void PrintSelf(ostream& os, vtkIndent indent) override; int GetCellType() override { return VTK_BEZIER_CURVE; } + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void SetRationalWeightsFromPointData(vtkPointData* point_data, const vtkIdType numPts); diff --git a/Common/DataModel/vtkBezierHexahedron.h b/Common/DataModel/vtkBezierHexahedron.h index d4a6d356eaa3951405e69eedf8dae12fe8bd7ccf..3c2d53ac71653e8c408a58037f74baf4dd835b7a 100644 --- a/Common/DataModel/vtkBezierHexahedron.h +++ b/Common/DataModel/vtkBezierHexahedron.h @@ -28,6 +28,7 @@ #include "vtkCellType.h" // For GetCellType. #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderHexahedron.h" #include "vtkNew.h" // For member variable. #include "vtkSmartPointer.h" // For member variable. @@ -55,6 +56,8 @@ public: int GetCellType() override { return VTK_BEZIER_HEXAHEDRON; } vtkCell* GetEdge(int edgeId) override; vtkCell* GetFace(int faceId) override; + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void InterpolateFunctions(const double pcoords[3], double* weights) override; diff --git a/Common/DataModel/vtkBezierQuadrilateral.h b/Common/DataModel/vtkBezierQuadrilateral.h index f6ac356278b60444c28da84ebc7be3f54a3f4d7d..9e1959ba8b6afeaaa6a4d3f87b2bf64228bea455 100644 --- a/Common/DataModel/vtkBezierQuadrilateral.h +++ b/Common/DataModel/vtkBezierQuadrilateral.h @@ -21,6 +21,7 @@ #include "vtkCellType.h" // For GetCellType. #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderQuadrilateral.h" #include "vtkNew.h" // For member variable. #include "vtkSmartPointer.h" // For member variable. @@ -46,6 +47,8 @@ public: int GetCellType() override { return VTK_BEZIER_QUADRILATERAL; } vtkCell* GetEdge(int edgeId) override; + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void InterpolateFunctions(const double pcoords[3], double* weights) override; diff --git a/Common/DataModel/vtkBezierTetra.h b/Common/DataModel/vtkBezierTetra.h index b5d724f2bbb971f48e2736b9967b41b529b6cf5e..803d9129dad72a2ff742189cfdd57ea4f126ac16 100644 --- a/Common/DataModel/vtkBezierTetra.h +++ b/Common/DataModel/vtkBezierTetra.h @@ -32,6 +32,7 @@ #define vtkBezierTetra_h #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderTetra.h" class vtkTetra; @@ -50,6 +51,8 @@ public: int GetCellType() override { return VTK_BEZIER_TETRAHEDRON; } vtkCell* GetEdge(int edgeId) override; vtkCell* GetFace(int faceId) override; + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void SetRationalWeightsFromPointData(vtkPointData* point_data, const vtkIdType numPts); diff --git a/Common/DataModel/vtkBezierTriangle.h b/Common/DataModel/vtkBezierTriangle.h index c51c94f20ab66b3fad039d1f238216cb45c6e65c..7ca320160fa997b4b7231f99b50b594d2051f776 100644 --- a/Common/DataModel/vtkBezierTriangle.h +++ b/Common/DataModel/vtkBezierTriangle.h @@ -32,6 +32,7 @@ #define vtkBezierTriangle_h #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderTriangle.h" class vtkDoubleArray; @@ -48,6 +49,8 @@ public: void PrintSelf(ostream& os, vtkIndent indent) override; int GetCellType() override { return VTK_BEZIER_TRIANGLE; } vtkCell* GetEdge(int edgeId) override; + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void SetRationalWeightsFromPointData(vtkPointData* point_data, const vtkIdType numPts); diff --git a/Common/DataModel/vtkBezierWedge.h b/Common/DataModel/vtkBezierWedge.h index 04f2a67cb5212e005d26d596744b18e3d8554431..325c2d76d7bf04be544838ca52ce61b601ec0279 100644 --- a/Common/DataModel/vtkBezierWedge.h +++ b/Common/DataModel/vtkBezierWedge.h @@ -36,6 +36,7 @@ #include "vtkCellType.h" // For GetCellType. #include "vtkCommonDataModelModule.h" // For export macro +#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0 #include "vtkHigherOrderWedge.h" #include "vtkNew.h" // For member variable. #include "vtkSmartPointer.h" // For member variable. @@ -64,6 +65,8 @@ public: int GetCellType() override { return VTK_BEZIER_WEDGE; } vtkCell* GetEdge(int edgeId) override; vtkCell* GetFace(int faceId) override; + VTK_DEPRECATED_IN_9_1_0( + "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.") void EvaluateLocationProjectedNode( int& subId, const vtkIdType point_id, double x[3], double* weights); void InterpolateFunctions(const double pcoords[3], double* weights) override;