Skip to content

Commit e9783c4

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

File tree

28 files changed

+49
-6
lines changed

28 files changed

+49
-6
lines changed

features/include/pcl/features/fpfh_omp.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ namespace pcl
107107
void
108108
setNumberOfThreads (unsigned int num_threads = 0);
109109

110+
protected:
111+
using Base<PointT>::num_threads_;
112+
110113
private:
111114
/** \brief Estimate the Fast Point Feature Histograms (FPFH) descriptors at a set of points given by
112115
* <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in

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
};

features/include/pcl/features/normal_3d_omp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ namespace pcl
8888
setNumberOfThreads (unsigned int num_threads = 0);
8989

9090
protected:
91+
using Base<PointInT>::num_threads_;
9192
/** \brief Chunk size for (dynamic) scheduling. */
9293
int chunk_size_;
9394
private:

features/include/pcl/features/principal_curvatures.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ namespace pcl
111111
setNumberOfThreads (unsigned int num_threads = 0);
112112

113113
protected:
114+
using Base<PointInT>::num_threads_;
114115
/** \brief Chunk size for (dynamic) scheduling. */
115116
int chunk_size_;
116117

features/include/pcl/features/shot_lrf_omp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ namespace pcl
8686
setNumberOfThreads (unsigned int num_threads = 0);
8787

8888
protected:
89+
using Base<PointInT>::num_threads_;
8990
using Feature<PointInT, PointOutT>::feature_name_;
9091
using Feature<PointInT, PointOutT>::getClassName;
9192
//using Feature<PointInT, PointOutT>::searchForNeighbors;

features/include/pcl/features/shot_omp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ namespace pcl
189189
setNumberOfThreads (unsigned int num_threads = 0);
190190

191191
protected:
192-
192+
using Base<PointInT>::num_threads_;
193193
/** \brief Estimate the Signatures of Histograms of OrienTations (SHOT) descriptors at a set of points given by
194194
* <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in
195195
* setSearchMethod ()

filters/include/pcl/filters/convolution.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ namespace pcl
192192
*/
193193
void
194194
initCompute (PointCloudOut& output);
195+
196+
using Base<PointIn>::num_threads_;
195197
private:
196198
/** \return the result of convolution of point at (\ai, \aj)
197199
* \note no test on finity is performed

filters/include/pcl/filters/convolution_3d.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ namespace pcl
269269
convolve (PointCloudOut& output);
270270

271271
protected:
272+
using Base<PointIn>::num_threads_;
272273
/** \brief initialize computation */
273274
bool initCompute ();
274275

filters/include/pcl/filters/fast_bilateral_omp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ namespace pcl
5757
class FastBilateralFilterOMP : public FastBilateralFilter<PointT>
5858
{
5959
protected:
60+
using Base<PointT>::num_threads_;
6061
using FastBilateralFilter<PointT>::input_;
6162
using FastBilateralFilter<PointT>::sigma_s_;
6263
using FastBilateralFilter<PointT>::sigma_r_;

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

0 commit comments

Comments
 (0)