SpaceSampler.hpp
Go to the documentation of this file.
1 
20 #ifndef SPACESAMPLER_HPP_
21 #define SPACESAMPLER_HPP_
22 
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 
84 }
85 
86 
87 #endif /* SPACESAMPLER_HPP_ */
void setSamples(const uint32_t &samples)
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
Definition: typedef.hpp:53
SpaceSampler class generalizes the sampling of the space.
SamplePointCloud::Ptr SamplePointCloudPtr
Definition: typedef.hpp:93
virtual ~SpaceSampler()
destructor for SpaceSampler object
this namespace contains all generally usable classes.
uint32_t mSamples
sample count
virtual SamplePointCloudPtr getSampledSpacePointCloud(SimpleVector3 currentSpacePosition, float contractor)=0
SpaceSampler()
constructor for SpaceSampler object
boost::shared_ptr< SpaceSampler > SpaceSamplerPtr
Definition for the shared pointer type of the class.


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