Class representing a vector mcpdf. More...
#include <mcpdf_vector.h>
Public Member Functions | |
virtual tf::Vector3 | ExpectedValueGet () const |
MatrixWrapper::Matrix | getHistogram (const tf::Vector3 &min, const tf::Vector3 &max, const tf::Vector3 &step) const |
Get pos histogram from certain area. More... | |
void | getParticleCloud (const tf::Vector3 &step, double threshold, sensor_msgs::PointCloud &cloud) const |
Get evenly distributed particle cloud. More... | |
MCPdfVector (unsigned int num_samples) | |
Constructor. More... | |
virtual unsigned int | numParticlesGet () const |
virtual WeightedSample< tf::Vector3 > | SampleGet (unsigned int particle) const |
virtual | ~MCPdfVector () |
Destructor. More... | |
Class representing a vector mcpdf.
Definition at line 47 of file mcpdf_vector.h.
MCPdfVector::MCPdfVector | ( | unsigned int | num_samples | ) |
Constructor.
Definition at line 52 of file mcpdf_vector.cpp.
|
virtual |
Destructor.
Definition at line 56 of file mcpdf_vector.cpp.
|
virtual |
Definition at line 67 of file mcpdf_vector.cpp.
MatrixWrapper::Matrix MCPdfVector::getHistogram | ( | const tf::Vector3 & | min, |
const tf::Vector3 & | max, | ||
const tf::Vector3 & | step | ||
) | const |
Get pos histogram from certain area.
Get histogram from pos.
Definition at line 136 of file mcpdf_vector.cpp.
void MCPdfVector::getParticleCloud | ( | const tf::Vector3 & | step, |
double | threshold, | ||
sensor_msgs::PointCloud & | cloud | ||
) | const |
Get evenly distributed particle cloud.
Definition at line 83 of file mcpdf_vector.cpp.
|
virtual |
Definition at line 160 of file mcpdf_vector.cpp.
|
virtual |
Definition at line 60 of file mcpdf_vector.cpp.