Main Page
Namespaces
Classes
Files
File List
File Members
include
next_best_view
space_sampler
impl
MapBasedRandomSpaceSamplerFactory.hpp
Go to the documentation of this file.
1
20
#pragma once
21
22
#include "
next_best_view/helper/MapHelper.hpp
"
23
#include "
next_best_view/space_sampler/impl/MapBasedRandomSpaceSampler.hpp
"
24
#include "
next_best_view/space_sampler/SpaceSamplerAbstractFactory.hpp
"
25
26
namespace
next_best_view
{
27
28
class
MapBasedRandomSpaceSamplerFactory
:
public
SpaceSamplerAbstractFactory
{
29
private
:
30
MapHelperPtr
mMapHelperPtr
;
31
int
mSampleSize
;
32
33
public
:
34
MapBasedRandomSpaceSamplerFactory
(
MapHelperPtr
mapHelper,
int
sampleSize)
35
: mMapHelperPtr(mapHelper),
36
mSampleSize(sampleSize)
37
{ }
38
39
SpaceSamplerPtr
createSpaceSampler
() {
40
MapBasedRandomSpaceSamplerPtr
mapBasedRandomSpaceSampler =
MapBasedRandomSpaceSamplerPtr
(
new
MapBasedRandomSpaceSampler
(mMapHelperPtr, mSampleSize));
41
return
mapBasedRandomSpaceSampler;
42
}
43
};
44
typedef
boost::shared_ptr<MapBasedRandomSpaceSamplerFactory>
MapBasedRandomSpaceSamplerFactoryPtr
;
45
}
46
next_best_view::MapBasedRandomSpaceSamplerFactory::createSpaceSampler
SpaceSamplerPtr createSpaceSampler()
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:39
next_best_view::MapBasedRandomSpaceSamplerFactory::mMapHelperPtr
MapHelperPtr mMapHelperPtr
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:30
MapBasedRandomSpaceSampler.hpp
next_best_view::MapBasedRandomSpaceSamplerFactory::mSampleSize
int mSampleSize
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:31
next_best_view::MapBasedRandomSpaceSampler
Definition:
MapBasedRandomSpaceSampler.hpp:27
boost::shared_ptr< MapHelper >
next_best_view::MapBasedRandomSpaceSamplerFactoryPtr
boost::shared_ptr< MapBasedRandomSpaceSamplerFactory > MapBasedRandomSpaceSamplerFactoryPtr
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:44
SpaceSamplerAbstractFactory.hpp
next_best_view
this namespace contains all generally usable classes.
Definition:
CameraModelFilter.hpp:26
next_best_view::MapBasedRandomSpaceSamplerFactory::MapBasedRandomSpaceSamplerFactory
MapBasedRandomSpaceSamplerFactory(MapHelperPtr mapHelper, int sampleSize)
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:34
next_best_view::MapBasedRandomSpaceSamplerFactory
Definition:
MapBasedRandomSpaceSamplerFactory.hpp:28
MapHelper.hpp
next_best_view::SpaceSamplerAbstractFactory
Definition:
SpaceSamplerAbstractFactory.hpp:26
next_best_view::MapBasedRandomSpaceSamplerPtr
boost::shared_ptr< MapBasedRandomSpaceSampler > MapBasedRandomSpaceSamplerPtr
Definition for the shared pointer type of the class.
Definition:
MapBasedRandomSpaceSampler.hpp:46
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