Skip to content

Commit af39aba

Browse files
committed
Add more usings.
1 parent 9679064 commit af39aba

File tree

6 files changed

+12
-2
lines changed

6 files changed

+12
-2
lines changed

features/include/pcl/features/intensity_gradient.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ namespace pcl
114114
const Eigen::Vector3f &normal,
115115
Eigen::Vector3f &gradient);
116116

117-
protected:
117+
using PCLBase<PointInT>::num_threads_;
118+
118119
///intensity field accessor structure
119120
IntensitySelectorT intensity_;
120121
};

filters/include/pcl/filters/pyramid.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ namespace pcl
139139

140140
inline const std::string&
141141
getClassName () const { return (name_); }
142+
143+
protected:
144+
using PCLBase<PointT>::num_threads_;
142145

143146
private:
144147

filters/include/pcl/filters/radius_outlier_removal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ namespace pcl
7272
class RadiusOutlierRemoval : public FilterIndices<PointT>
7373
{
7474
protected:
75+
using PCLBase<PointT>::num_threads_;
7576
using PointCloud = typename FilterIndices<PointT>::PointCloud;
7677
using PointCloudPtr = typename PointCloud::Ptr;
7778
using PointCloudConstPtr = typename PointCloud::ConstPtr;

keypoints/include/pcl/keypoints/harris_3d.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ namespace pcl
165165
}
166166

167167
protected:
168+
using PCLBase<PointInT>::num_threads_;
169+
168170
bool
169171
initCompute () override;
170172
void detectKeypoints (PointCloudOut &output) override;

registration/include/pcl/registration/correspondence_estimation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ class CorrespondenceEstimationBase : public PCLBase<PointSource> {
6969
using PCLBase<PointSource>::input_;
7070
using PCLBase<PointSource>::indices_;
7171
using PCLBase<PointSource>::setIndices;
72-
using PCLBase<PointSource>::num_threads_;
7372

7473
using KdTree = pcl::search::KdTree<PointTarget>;
7574
using KdTreePtr = typename KdTree::Ptr;
@@ -323,6 +322,8 @@ class CorrespondenceEstimationBase : public PCLBase<PointSource> {
323322
clone() const = 0;
324323

325324
protected:
325+
using PCLBase<PointSource>::num_threads_;
326+
326327
/** \brief The correspondence estimation method name. */
327328
std::string corr_name_;
328329

surface/include/pcl/surface/poisson.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ namespace pcl
231231
}
232232

233233
protected:
234+
using PCLBase<PointNT>::num_threads_;
235+
234236
/** \brief Class get name method. */
235237
std::string
236238
getClassName () const override { return ("Poisson"); }

0 commit comments

Comments
 (0)