Skip to content

Commit

Permalink
Deprecate getter/setter in PassThrough that are now provided by paren…
Browse files Browse the repository at this point in the history
…t class
  • Loading branch information
mvieth committed Nov 27, 2019
1 parent f26c6fc commit 630627b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filters/include/pcl/filters/passthrough.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ namespace pcl
* Default: false.
* \param[in] limit_negative return data inside the interval (false) or outside (true)
*/
[[deprecated("use inherited FilterIndices::setNegative() instead")]]
inline void
setFilterLimitsNegative (const bool limit_negative)
{
Expand All @@ -295,6 +296,7 @@ namespace pcl
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
* \param[out] limit_negative true if data \b outside the interval [min; max] is to be returned, false otherwise
*/
[[deprecated("use inherited FilterIndices::getNegative() instead")]]
inline void
getFilterLimitsNegative (bool &limit_negative) const
{
Expand All @@ -304,6 +306,7 @@ namespace pcl
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
* \return true if data \b outside the interval [min; max] is to be returned, false otherwise
*/
[[deprecated("use inherited FilterIndices::getNegative() instead")]]
inline bool
getFilterLimitsNegative () const
{
Expand Down

0 comments on commit 630627b

Please sign in to comment.