Main Page
Namespaces
Classes
Files
File List
File Members
include
next_best_view
space_sampler
SpaceSampler.hpp
Go to the documentation of this file.
1
20
#ifndef SPACESAMPLER_HPP_
21
#define SPACESAMPLER_HPP_
22
23
#include "
next_best_view/common/CommonClass.hpp
"
24
25
/* SpaceSampler generates positions to generate views.
26
* The diffrent sampler samples in diffrent ways the given xy-plane where the robot can stay for the next view.
27
*/
28
29
namespace
next_best_view
{
37
class
SpaceSampler
:
public
CommonClass
{
38
private
:
42
uint32_t
mSamples
;
43
44
protected
:
45
46
double
xtop
,
xbot
,
ytop
,
ybot
;
47
48
public
:
52
SpaceSampler
();
53
57
virtual
~SpaceSampler
();
58
62
virtual
SamplePointCloudPtr
getSampledSpacePointCloud
(
SimpleVector3
currentSpacePosition,
float
contractor) = 0;
63
67
void
setSamples
(
const
uint32_t &samples);
68
72
uint32_t
getSamples
();
73
74
double
getXtop
()
const
{
return
this->
xtop
;}
75
double
getYtop
()
const
{
return
this->
ytop
;}
76
double
getXbot
()
const
{
return
this->
xbot
;}
77
double
getYbot
()
const
{
return
this->
ybot
;}
78
};
79
83
typedef
boost::shared_ptr<SpaceSampler>
SpaceSamplerPtr
;
84
}
85
86
87
#endif
/* SPACESAMPLER_HPP_ */
next_best_view::SpaceSampler::setSamples
void setSamples(const uint32_t &samples)
Definition:
SpaceSampler.cpp:29
next_best_view::CommonClass
Definition:
CommonClass.hpp:26
next_best_view::SpaceSampler::getSamples
uint32_t getSamples()
Definition:
SpaceSampler.cpp:33
next_best_view::SimpleVector3
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
Definition:
typedef.hpp:53
next_best_view::SpaceSampler
SpaceSampler class generalizes the sampling of the space.
Definition:
SpaceSampler.hpp:37
next_best_view::SamplePointCloudPtr
SamplePointCloud::Ptr SamplePointCloudPtr
Definition:
typedef.hpp:93
boost::shared_ptr< SpaceSampler >
next_best_view::SpaceSampler::~SpaceSampler
virtual ~SpaceSampler()
destructor for SpaceSampler object
Definition:
SpaceSampler.cpp:27
next_best_view::SpaceSampler::ybot
double ybot
Definition:
SpaceSampler.hpp:46
next_best_view::SpaceSampler::getYtop
double getYtop() const
Definition:
SpaceSampler.hpp:75
next_best_view
this namespace contains all generally usable classes.
Definition:
CameraModelFilter.hpp:26
next_best_view::SpaceSampler::mSamples
uint32_t mSamples
sample count
Definition:
SpaceSampler.hpp:42
CommonClass.hpp
next_best_view::SpaceSampler::ytop
double ytop
Definition:
SpaceSampler.hpp:46
next_best_view::SpaceSampler::getSampledSpacePointCloud
virtual SamplePointCloudPtr getSampledSpacePointCloud(SimpleVector3 currentSpacePosition, float contractor)=0
next_best_view::SpaceSampler::getXbot
double getXbot() const
Definition:
SpaceSampler.hpp:76
next_best_view::SpaceSampler::SpaceSampler
SpaceSampler()
constructor for SpaceSampler object
Definition:
SpaceSampler.cpp:23
next_best_view::SpaceSampler::xtop
double xtop
Definition:
SpaceSampler.hpp:46
next_best_view::SpaceSampler::getXtop
double getXtop() const
Definition:
SpaceSampler.hpp:74
next_best_view::SpaceSampler::xbot
double xbot
Definition:
SpaceSampler.hpp:46
next_best_view::SpaceSampler::getYbot
double getYbot() const
Definition:
SpaceSampler.hpp:77
next_best_view::SpaceSamplerPtr
boost::shared_ptr< SpaceSampler > SpaceSamplerPtr
Definition for the shared pointer type of the class.
Definition:
SpaceSampler.hpp:83
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