$search
Holds information about the fit betwen a mesh and a point cloud. More...
#include <model_fitter.h>
Public Member Functions | |
int | getModelId () const |
Return the model if of this fit. | |
geometry_msgs::Pose | getPose () const |
Returns the transform of the fit. | |
float | getScore () const |
Gets the score of the fit. | |
ModelFitInfo (int model_id, const geometry_msgs::Pose &pose, float score) | |
Populates this instance with all the relevant information. | |
Static Public Member Functions | |
static bool | compareScores (const ModelFitInfo &mf1, const ModelFitInfo &mf2) |
Helper function for sorting based on scores. | |
Private Attributes | |
geometry_msgs::Pose | fit_pose_ |
The tranform of the fit itself. | |
int | model_id_ |
The database id of the model that was fit, if loaded from a database. | |
float | score_ |
The score of the fit. |
Holds information about the fit betwen a mesh and a point cloud.
A helper class for storing information about a fit between a model and a cloud. The cloud is not explicitly stored.
Relies on the default copy operator, so be careful about what you put in here.
Definition at line 63 of file model_fitter.h.
tabletop_object_detector::ModelFitInfo::ModelFitInfo | ( | int | model_id, | |
const geometry_msgs::Pose & | pose, | |||
float | score | |||
) | [inline] |
Populates this instance with all the relevant information.
Definition at line 74 of file model_fitter.h.
static bool tabletop_object_detector::ModelFitInfo::compareScores | ( | const ModelFitInfo & | mf1, | |
const ModelFitInfo & | mf2 | |||
) | [inline, static] |
Helper function for sorting based on scores.
Definition at line 85 of file model_fitter.h.
int tabletop_object_detector::ModelFitInfo::getModelId | ( | ) | const [inline] |
Return the model if of this fit.
Definition at line 78 of file model_fitter.h.
geometry_msgs::Pose tabletop_object_detector::ModelFitInfo::getPose | ( | void | ) | const [inline] |
Returns the transform of the fit.
Definition at line 82 of file model_fitter.h.
float tabletop_object_detector::ModelFitInfo::getScore | ( | ) | const [inline] |
Gets the score of the fit.
Definition at line 80 of file model_fitter.h.
The tranform of the fit itself.
Definition at line 68 of file model_fitter.h.
int tabletop_object_detector::ModelFitInfo::model_id_ [private] |
The database id of the model that was fit, if loaded from a database.
Definition at line 66 of file model_fitter.h.
float tabletop_object_detector::ModelFitInfo::score_ [private] |
The score of the fit.
Definition at line 70 of file model_fitter.h.