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. | |
void | getParticleCloud (const tf::Vector3 &step, double threshold, sensor_msgs::PointCloud &cloud) const |
Get evenly distributed particle cloud. | |
MCPdfVector (unsigned int num_samples) | |
Constructor. | |
virtual unsigned int | numParticlesGet () const |
virtual WeightedSample < tf::Vector3 > | SampleGet (unsigned int particle) const |
virtual | ~MCPdfVector () |
Destructor. |
Class representing a vector mcpdf.
Definition at line 47 of file mcpdf_vector.h.
MCPdfVector::MCPdfVector | ( | unsigned int | num_samples | ) |
Constructor.
Definition at line 53 of file mcpdf_vector.cpp.
MCPdfVector::~MCPdfVector | ( | ) | [virtual] |
Destructor.
Definition at line 57 of file mcpdf_vector.cpp.
Vector3 MCPdfVector::ExpectedValueGet | ( | ) | const [virtual] |
Reimplemented from BFL::BFL::MCPdf< tf::Vector3 >.
Definition at line 68 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 133 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.
unsigned int MCPdfVector::numParticlesGet | ( | ) | const [virtual] |
Definition at line 156 of file mcpdf_vector.cpp.
WeightedSample< Vector3 > MCPdfVector::SampleGet | ( | unsigned int | particle | ) | const [virtual] |
Reimplemented from BFL::BFL::MCPdf< tf::Vector3 >.
Definition at line 61 of file mcpdf_vector.cpp.