The interface for a class that can fit an individual mesh to a point cloud. More...
#include <model_fitter.h>

Public Member Functions | |
| int | getModelId () const |
| Get the database model id (if any) of this model. | |
| ModelToCloudFitter () | |
| Initializes model_id_ to -1. | |
| void | setModelId (int id) |
| Set the database model id of this model. | |
| virtual | ~ModelToCloudFitter () |
| Stub destructor. | |
Protected Member Functions | |
| void | sampleMesh (const shape_msgs::Mesh &mesh, std::vector< tf::Vector3 > &btVectors, double resolution) |
Protected Attributes | |
| int | model_id_ |
| The id of this model if loaded from the model database. | |
The interface for a class that can fit an individual mesh to a point cloud.
Must be able to:
Inherit from this class if you have a new awesome fitting method.
Definition at line 99 of file model_fitter.h.
Initializes model_id_ to -1.
Definition at line 110 of file model_fitter.h.
| virtual tabletop_object_detector::ModelToCloudFitter::~ModelToCloudFitter | ( | ) | [inline, virtual] |
Stub destructor.
Definition at line 112 of file model_fitter.h.
| int tabletop_object_detector::ModelToCloudFitter::getModelId | ( | ) | const [inline] |
Get the database model id (if any) of this model.
Definition at line 117 of file model_fitter.h.
| void tabletop_object_detector::ModelToCloudFitter::sampleMesh | ( | const shape_msgs::Mesh & | mesh, |
| std::vector< tf::Vector3 > & | btVectors, | ||
| double | resolution | ||
| ) | [protected] |
Definition at line 172 of file model_fitter.cpp.
| void tabletop_object_detector::ModelToCloudFitter::setModelId | ( | int | id | ) | [inline] |
Set the database model id of this model.
Definition at line 115 of file model_fitter.h.
int tabletop_object_detector::ModelToCloudFitter::model_id_ [protected] |
The id of this model if loaded from the model database.
Definition at line 103 of file model_fitter.h.