mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Merge topic 'point-locator-deprecated-features'
1822792b8 Support deprecated behavior of point locator pointers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Nickolas Davis <nadavi@sandia.gov> Merge-request: !2411
This commit is contained in:
commit
ee6aaee181
@ -122,9 +122,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC CellLocatorBoundingIntervalHierarchy* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const CellLocatorBoundingIntervalHierarchy* operator->() const { return this; }
|
||||
|
||||
private:
|
||||
|
@ -58,9 +58,9 @@ public:
|
||||
return this->Locators.CastAndCall(detail::FindCellFunctor{}, point, cellId, parametric);
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC CellLocatorMultiplexer* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const CellLocatorMultiplexer* operator->() const { return this; }
|
||||
};
|
||||
|
||||
|
@ -144,9 +144,9 @@ public:
|
||||
return vtkm::ErrorCode::Success;
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC CellLocatorRectilinearGrid* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const CellLocatorRectilinearGrid* operator->() const { return this; }
|
||||
|
||||
private:
|
||||
|
@ -200,9 +200,9 @@ public:
|
||||
return vtkm::ErrorCode::CellNotFound;
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC CellLocatorTwoLevel* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const CellLocatorTwoLevel* operator->() const { return this; }
|
||||
|
||||
private:
|
||||
|
@ -82,9 +82,9 @@ public:
|
||||
return vtkm::ErrorCode::Success;
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC CellLocatorUniformGrid* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators no longer pointers. Use . operator.")
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const CellLocatorUniformGrid* operator->() const { return this; }
|
||||
|
||||
private:
|
||||
|
@ -85,6 +85,11 @@ public:
|
||||
this->FindInBox(queryPoint, ijk, level, nearestNeighborId, distance2);
|
||||
}
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC PointLocatorSparseGrid* operator->() { return this; }
|
||||
VTKM_DEPRECATED(1.6, "Locators are no longer pointers. Use . operator.")
|
||||
VTKM_EXEC const PointLocatorSparseGrid* operator->() const { return this; }
|
||||
|
||||
private:
|
||||
vtkm::Vec3f Min;
|
||||
vtkm::Id3 Dims;
|
||||
|
Loading…
Reference in New Issue
Block a user