Skip to content

Commit fe2c80c

Browse files
authored
Merge pull request #6472 from theoniko/remove-deprecated-code-before-release1.16
Remove deprecated code before release 1.16
2 parents 821cf96 + 719011f commit fe2c80c

11 files changed

Lines changed: 0 additions & 364 deletions

File tree

cuda/filters/include/pcl/cuda/filters/filter.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ namespace pcl_cuda
120120
filter_limit_negative_ = limit_negative;
121121
}
122122

123-
/** \brief Get whether the data outside the interval (min/max) is to be
124-
* returned (true) or inside (false).
125-
* \param limit_negative the limit_negative flag
126-
*/
127-
PCL_DEPRECATED(1, 16, "use bool getFilterLimitsNegative() instead")
128-
inline void
129-
getFilterLimitsNegative (bool &limit_negative) { limit_negative = filter_limit_negative_; }
130-
131123
/** \brief Get whether the data outside the interval (min/max) is to be
132124
* returned (true) or inside (false).
133125
* \return true if data \b outside the interval [min; max] is to be returned, false otherwise

cuda/filters/include/pcl/cuda/filters/voxel_grid.h

Lines changed: 0 additions & 168 deletions
This file was deleted.

filters/include/pcl/filters/voxel_grid.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -478,16 +478,6 @@ namespace pcl
478478
filter_limit_negative_ = limit_negative;
479479
}
480480

481-
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
482-
* \param[out] limit_negative true if data \b outside the interval [min; max] is to be returned, false otherwise
483-
*/
484-
PCL_DEPRECATED(1, 16, "use bool getFilterLimitsNegative() instead")
485-
inline void
486-
getFilterLimitsNegative (bool &limit_negative) const
487-
{
488-
limit_negative = filter_limit_negative_;
489-
}
490-
491481
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
492482
* \return true if data \b outside the interval [min; max] is to be returned, false otherwise
493483
*/
@@ -827,16 +817,6 @@ namespace pcl
827817
filter_limit_negative_ = limit_negative;
828818
}
829819

830-
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
831-
* \param[out] limit_negative true if data \b outside the interval [min; max] is to be returned, false otherwise
832-
*/
833-
PCL_DEPRECATED(1, 16, "use bool getFilterLimitsNegative() instead")
834-
inline void
835-
getFilterLimitsNegative (bool &limit_negative) const
836-
{
837-
limit_negative = filter_limit_negative_;
838-
}
839-
840820
/** \brief Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
841821
* \return true if data \b outside the interval [min; max] is to be returned, false otherwise
842822
*/

geometry/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ if(NOT build)
1212
endif()
1313

1414
set(incs
15-
"include/pcl/${SUBSYS_NAME}/boost.h"
1615
"include/pcl/${SUBSYS_NAME}/get_boundary.h"
1716
"include/pcl/${SUBSYS_NAME}/line_iterator.h"
1817
"include/pcl/${SUBSYS_NAME}/mesh_base.h"

geometry/include/pcl/geometry/boost.h

Lines changed: 0 additions & 49 deletions
This file was deleted.

gpu/containers/src/device_memory.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <pcl/gpu/containers/device_memory.h>
3838
#include <pcl/gpu/utils/safe_call.hpp>
3939
#include <pcl/pcl_config.h> // used for HAVE_CUDA
40-
#include <pcl/pcl_macros.h> // used for PCL_DEPRECATED
4140

4241
#include <cuda_runtime_api.h>
4342

@@ -164,16 +163,6 @@ pcl::gpu::DeviceMemory2D::empty() const
164163

165164
#else
166165

167-
////////////////////////// XADD ///////////////////////////////
168-
169-
template <typename _Tp>
170-
PCL_DEPRECATED(1, 16, "Removed in favour of c++11 atomics")
171-
static inline _Tp CV_XADD(std::atomic<_Tp>* addr, std::atomic<_Tp> delta)
172-
{
173-
_Tp tmp = addr->fetch_add(delta);
174-
return tmp;
175-
}
176-
177166
//////////////////////// DeviceArray /////////////////////////////
178167

179168
pcl::gpu::DeviceMemory::DeviceMemory()

outofcore/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ set(incs
3434
"include/pcl/${SUBSYS_NAME}/outofcore_iterator_base.h"
3535
"include/pcl/${SUBSYS_NAME}/outofcore_breadth_first_iterator.h"
3636
"include/pcl/${SUBSYS_NAME}/outofcore_depth_first_iterator.h"
37-
"include/pcl/${SUBSYS_NAME}/boost.h"
3837
"include/pcl/${SUBSYS_NAME}/octree_base.h"
3938
"include/pcl/${SUBSYS_NAME}/octree_base_node.h"
4039
"include/pcl/${SUBSYS_NAME}/octree_abstract_node_container.h"

outofcore/include/pcl/outofcore/boost.h

Lines changed: 0 additions & 47 deletions
This file was deleted.

visualization/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ if(NOT (${VTK_VERSION} VERSION_LESS 9.0))
5757
endif()
5858

5959
set(incs
60-
"include/pcl/${SUBSYS_NAME}/boost.h"
6160
"include/pcl/${SUBSYS_NAME}/cloud_viewer.h"
6261
"include/pcl/${SUBSYS_NAME}/histogram_visualizer.h"
6362
"include/pcl/${SUBSYS_NAME}/image_viewer.h"

visualization/include/pcl/visualization/area_picking_event.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ namespace pcl
5454
: cloud_indices_ (std::move(cloud_indices))
5555
{}
5656

57-
PCL_DEPRECATED(1,16,"This constructor is deprecated!")
58-
AreaPickingEvent(int /*nb_points*/, const pcl::Indices& indices)
59-
: AreaPickingEvent ({{"",indices}}) {}
60-
6157
/** \brief For situations where a whole area is selected, return the points indices.
6258
* \param[out] indices indices of the points under the area selected by user.
6359
* \return true, if the area selected by the user contains points, false otherwise

0 commit comments

Comments
 (0)