You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PCL_ERROR ("[pcl::SampleConsensusModel] Invalid index vector given with size %lu while the input PointCloud has size %lu!\n", indices_->size (), input_->points.size ());
146
124
indices_->clear ();
147
125
}
148
126
shuffled_indices_ = *indices_;
149
-
150
-
// Create a random number generator object
151
-
rng_gen_.reset (new boost::variate_generator<boost::mt19937&, boost::uniform_int<> > (rng_alg_, *rng_dist_));
152
127
};
153
128
154
129
/** \brief Destructor for base SampleConsensusModel. */
@@ -541,14 +516,11 @@ namespace pcl
541
516
/** Data containing a shuffled version of the indices. This is used and modified when drawing samples. */
542
517
std::vector<int> shuffled_indices_;
543
518
544
-
/** \brief Boost-based random number generator algorithm. */
545
-
boost::mt19937 rng_alg_;
519
+
/** \brief Random number generator algorithm. */
520
+
std::mt19937 rng_;
546
521
547
-
/** \brief Boost-based random number generator distribution. */
0 commit comments