40 #ifndef PCL_FEATURES_3DSC_H_
41 #define PCL_FEATURES_3DSC_H_
45 #include <boost/random.hpp>
76 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intOutT = pcl::ShapeContext>
106 point_density_radius_(0.2),
107 descriptor_length_ (),
109 rng_ (new boost::uniform_01<boost::mt19937> (rng_alg_))
111 feature_name_ =
"ShapeContext3DEstimation";
112 search_radius_ = 2.5;
116 rng_->base ().seed (static_cast<unsigned> (std::time(0)));
118 rng_->base ().seed (12345u);
197 std::vector<float> radii_interval_;
200 std::vector<float> theta_divisions_;
203 std::vector<float> phi_divisions_;
206 std::vector<float> volume_lut_;
209 size_t azimuth_bins_;
212 size_t elevation_bins_;
221 double point_density_radius_;
224 size_t descriptor_length_;
227 boost::mt19937 rng_alg_;
230 boost::shared_ptr<boost::uniform_01<boost::mt19937> > rng_;
238 shiftAlongAzimuth (
size_t block_size, std::vector<float>& desc);
279 template <
typename Po
intInT,
typename Po
intNT>
305 #endif //#ifndef PCL_3DSC_H_