SpaceSampler class generalizes the sampling of the space. More...
#include <SpaceSampler.hpp>
Public Member Functions | |
virtual SamplePointCloudPtr | getSampledSpacePointCloud (SimpleVector3 currentSpacePosition, float contractor)=0 |
uint32_t | getSamples () |
double | getXbot () const |
double | getXtop () const |
double | getYbot () const |
double | getYtop () const |
void | setSamples (const uint32_t &samples) |
SpaceSampler () | |
constructor for SpaceSampler object More... | |
virtual | ~SpaceSampler () |
destructor for SpaceSampler object More... | |
Public Member Functions inherited from next_best_view::CommonClass | |
CommonClass () | |
constructor More... | |
virtual IndicesPtr & | getIndices () |
virtual ObjectPointCloudPtr & | getInputCloud () |
virtual void | setIndices (const IndicesPtr &indicesPtr) |
setting the shared pointer to the active indices of the point cloud. More... | |
virtual void | setInputCloud (const ObjectPointCloudPtr &pointCloudPtr) |
setting the input cloud. More... | |
virtual | ~CommonClass ()=0 |
pure virtual deconstructor. More... | |
Protected Attributes | |
double | xbot |
double | xtop |
double | ybot |
double | ytop |
Private Attributes | |
uint32_t | mSamples |
sample count More... | |
SpaceSampler class generalizes the sampling of the space.
Definition at line 37 of file SpaceSampler.hpp.
next_best_view::SpaceSampler::SpaceSampler | ( | ) |
constructor for SpaceSampler object
Definition at line 23 of file SpaceSampler.cpp.
|
virtual |
destructor for SpaceSampler object
Definition at line 27 of file SpaceSampler.cpp.
|
pure virtual |
Implemented in next_best_view::MapBasedHexagonSpaceSampler, next_best_view::Raytracing2DBasedSpaceSampler, next_best_view::PlaneSubSpaceSampler, and next_best_view::MapBasedRandomSpaceSampler.
uint32_t next_best_view::SpaceSampler::getSamples | ( | ) |
Definition at line 33 of file SpaceSampler.cpp.
|
inline |
Definition at line 76 of file SpaceSampler.hpp.
|
inline |
Definition at line 74 of file SpaceSampler.hpp.
|
inline |
Definition at line 77 of file SpaceSampler.hpp.
|
inline |
Definition at line 75 of file SpaceSampler.hpp.
void next_best_view::SpaceSampler::setSamples | ( | const uint32_t & | samples | ) |
samples | the count of samples to be created |
Definition at line 29 of file SpaceSampler.cpp.
|
private |
sample count
Definition at line 42 of file SpaceSampler.hpp.
|
protected |
Definition at line 46 of file SpaceSampler.hpp.
|
protected |
Definition at line 46 of file SpaceSampler.hpp.
|
protected |
Definition at line 46 of file SpaceSampler.hpp.
|
protected |
Definition at line 46 of file SpaceSampler.hpp.