PerspectiveHypothesisUpdaterFactory.hpp
Go to the documentation of this file.
1 
20 #pragma once
21 
25 
26 namespace next_best_view {
27 
29  private:
32 
33  public:
34  PerspectiveHypothesisUpdaterFactory(DefaultRatingModuleFactoryPtr defaultRatingModuleFactory, double angleThreshold)
35  : mDefaultRatingModuleFactoryPtr(defaultRatingModuleFactory),
36  mNormalAngleThreshold(angleThreshold)
37  { }
38 
41  DefaultRatingModulePtr defaultRatingModule = boost::static_pointer_cast<DefaultRatingModule>(mDefaultRatingModuleFactoryPtr->createRatingModule());
42  perspectiveHypothesisUpdater->setDefaultRatingModule(defaultRatingModule);
43  perspectiveHypothesisUpdater->setNormalAngleThreshold(mNormalAngleThreshold);
44  return perspectiveHypothesisUpdater;
45  }
46  };
48 }
boost::shared_ptr< PerspectiveHypothesisUpdaterFactory > PerspectiveHypothesisUpdaterFactoryPtr
this namespace contains all generally usable classes.
boost::shared_ptr< PerspectiveHypothesisUpdater > PerspectiveHypothesisUpdaterPtr
Definition for the shared pointer type of the class.
PerspectiveHypothesisUpdaterFactory(DefaultRatingModuleFactoryPtr defaultRatingModuleFactory, double angleThreshold)
DefaultRatingModule implements the functionlities offered by RatingModule.


asr_next_best_view
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Thu Jan 9 2020 07:20:18