Main Page
Namespaces
Classes
Files
File List
File Members
include
next_best_view
hypothesis_updater
impl
PerspectiveHypothesisUpdaterFactory.hpp
Go to the documentation of this file.
1
20
#pragma once
21
22
#include "
next_best_view/rating/impl/DefaultRatingModuleFactory.hpp
"
23
#include "
next_best_view/hypothesis_updater/impl/PerspectiveHypothesisUpdater.hpp
"
24
#include "
next_best_view/hypothesis_updater/HypothesisUpdaterAbstractFactory.hpp
"
25
26
namespace
next_best_view
{
27
28
class
PerspectiveHypothesisUpdaterFactory
:
public
HypothesisUpdaterAbstractFactory
{
29
private
:
30
DefaultRatingModuleFactoryPtr
mDefaultRatingModuleFactoryPtr
;
31
double
mNormalAngleThreshold
;
32
33
public
:
34
PerspectiveHypothesisUpdaterFactory
(
DefaultRatingModuleFactoryPtr
defaultRatingModuleFactory,
double
angleThreshold)
35
: mDefaultRatingModuleFactoryPtr(defaultRatingModuleFactory),
36
mNormalAngleThreshold(angleThreshold)
37
{ }
38
39
HypothesisUpdaterPtr
createHypothesisUpdater
() {
40
PerspectiveHypothesisUpdaterPtr
perspectiveHypothesisUpdater =
PerspectiveHypothesisUpdaterPtr
(
new
PerspectiveHypothesisUpdater
());
41
DefaultRatingModulePtr
defaultRatingModule = boost::static_pointer_cast<
DefaultRatingModule
>(mDefaultRatingModuleFactoryPtr->createRatingModule());
42
perspectiveHypothesisUpdater->setDefaultRatingModule(defaultRatingModule);
43
perspectiveHypothesisUpdater->setNormalAngleThreshold(mNormalAngleThreshold);
44
return
perspectiveHypothesisUpdater;
45
}
46
};
47
typedef
boost::shared_ptr<PerspectiveHypothesisUpdaterFactory>
PerspectiveHypothesisUpdaterFactoryPtr
;
48
}
next_best_view::PerspectiveHypothesisUpdaterFactory
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:28
next_best_view::PerspectiveHypothesisUpdaterFactoryPtr
boost::shared_ptr< PerspectiveHypothesisUpdaterFactory > PerspectiveHypothesisUpdaterFactoryPtr
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:47
PerspectiveHypothesisUpdater.hpp
next_best_view::PerspectiveHypothesisUpdaterFactory::mNormalAngleThreshold
double mNormalAngleThreshold
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:31
next_best_view::PerspectiveHypothesisUpdaterFactory::createHypothesisUpdater
HypothesisUpdaterPtr createHypothesisUpdater()
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:39
boost::shared_ptr< DefaultRatingModuleFactory >
DefaultRatingModuleFactory.hpp
next_best_view
this namespace contains all generally usable classes.
Definition:
CameraModelFilter.hpp:26
next_best_view::PerspectiveHypothesisUpdater
Definition:
PerspectiveHypothesisUpdater.hpp:27
HypothesisUpdaterAbstractFactory.hpp
next_best_view::PerspectiveHypothesisUpdaterFactory::mDefaultRatingModuleFactoryPtr
DefaultRatingModuleFactoryPtr mDefaultRatingModuleFactoryPtr
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:30
next_best_view::PerspectiveHypothesisUpdaterPtr
boost::shared_ptr< PerspectiveHypothesisUpdater > PerspectiveHypothesisUpdaterPtr
Definition for the shared pointer type of the class.
Definition:
PerspectiveHypothesisUpdater.hpp:50
next_best_view::PerspectiveHypothesisUpdaterFactory::PerspectiveHypothesisUpdaterFactory
PerspectiveHypothesisUpdaterFactory(DefaultRatingModuleFactoryPtr defaultRatingModuleFactory, double angleThreshold)
Definition:
PerspectiveHypothesisUpdaterFactory.hpp:34
next_best_view::DefaultRatingModule
DefaultRatingModule implements the functionlities offered by RatingModule.
Definition:
DefaultRatingModule.hpp:40
next_best_view::HypothesisUpdaterAbstractFactory
Definition:
HypothesisUpdaterAbstractFactory.hpp:26
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