Main Page
Namespaces
Classes
Files
File List
File Members
include
next_best_view
space_sampler
impl
MapBasedHexagonSpaceSamplerFactory.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/MapBasedHexagonSpaceSampler.hpp
"
24
#include "
next_best_view/space_sampler/SpaceSamplerAbstractFactory.hpp
"
25
26
namespace
next_best_view
{
27
28
class
MapBasedHexagonSpaceSamplerFactory
:
public
SpaceSamplerAbstractFactory
{
29
private
:
30
MapHelperPtr
mMapHelperPtr
;
31
double
mRadius
;
32
33
public
:
34
MapBasedHexagonSpaceSamplerFactory
(
MapHelperPtr
mapHelper,
double
radius)
35
: mMapHelperPtr(mapHelper),
36
mRadius(radius)
37
{ }
38
39
SpaceSamplerPtr
createSpaceSampler
() {
40
MapBasedHexagonSpaceSamplerPtr
mapBasedHexagonSpaceSampler =
MapBasedHexagonSpaceSamplerPtr
(
new
MapBasedHexagonSpaceSampler
(mMapHelperPtr));
41
mapBasedHexagonSpaceSampler->setHexagonRadius(mRadius);
42
return
mapBasedHexagonSpaceSampler;
43
}
44
};
45
typedef
boost::shared_ptr<MapBasedHexagonSpaceSamplerFactory>
MapBasedHexagonSpaceSamplerFactoryPtr
;
46
}
47
48
next_best_view::MapBasedHexagonSpaceSamplerFactory::createSpaceSampler
SpaceSamplerPtr createSpaceSampler()
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:39
MapBasedHexagonSpaceSampler.hpp
next_best_view::MapBasedHexagonSpaceSampler
MapBasedHexagonSpaceSampler implements the space sampling with a hexagon pattern. ...
Definition:
MapBasedHexagonSpaceSampler.hpp:34
next_best_view::MapBasedHexagonSpaceSamplerPtr
boost::shared_ptr< MapBasedHexagonSpaceSampler > MapBasedHexagonSpaceSamplerPtr
Definition for the shared pointer type of the class.
Definition:
MapBasedHexagonSpaceSampler.hpp:63
boost::shared_ptr< MapHelper >
next_best_view::MapBasedHexagonSpaceSamplerFactory
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:28
SpaceSamplerAbstractFactory.hpp
next_best_view
this namespace contains all generally usable classes.
Definition:
CameraModelFilter.hpp:26
next_best_view::MapBasedHexagonSpaceSamplerFactory::mMapHelperPtr
MapHelperPtr mMapHelperPtr
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:30
next_best_view::MapBasedHexagonSpaceSamplerFactoryPtr
boost::shared_ptr< MapBasedHexagonSpaceSamplerFactory > MapBasedHexagonSpaceSamplerFactoryPtr
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:45
MapHelper.hpp
next_best_view::MapBasedHexagonSpaceSamplerFactory::mRadius
double mRadius
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:31
next_best_view::MapBasedHexagonSpaceSamplerFactory::MapBasedHexagonSpaceSamplerFactory
MapBasedHexagonSpaceSamplerFactory(MapHelperPtr mapHelper, double radius)
Definition:
MapBasedHexagonSpaceSamplerFactory.hpp:34
next_best_view::SpaceSamplerAbstractFactory
Definition:
SpaceSamplerAbstractFactory.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