Public Member Functions | Static Public Member Functions | Private Attributes
tabletop_object_detector::ModelFitInfo Class Reference

Holds information about the fit betwen a mesh and a point cloud. More...

#include <model_fitter.h>

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Return the model if of this fit.

Definition at line 78 of file model_fitter.h.

Returns the transform of the fit.

Definition at line 82 of file model_fitter.h.

Gets the score of the fit.

Definition at line 80 of file model_fitter.h.


Member Data Documentation

The tranform of the fit itself.

Definition at line 68 of file model_fitter.h.

The database id of the model that was fit, if loaded from a database.

Definition at line 66 of file model_fitter.h.

The score of the fit.

Definition at line 70 of file model_fitter.h.


The documentation for this class was generated from the following file:


tabletop_object_detector
Author(s): Marius Muja and Matei Ciocarlie
autogenerated on Mon Oct 6 2014 11:45:35