tabletop_object_detector::ModelToCloudFitter Class Reference

The interface for a class that can fit an individual mesh to a point cloud. More...

#include <model_fitter.h>

Inheritance diagram for tabletop_object_detector::ModelToCloudFitter:
Inheritance graph
[legend]

List of all members.

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 geometric_shapes_msgs::Shape &mesh, std::vector< btVector3 > &btVectors, double resolution)

Protected Attributes

int model_id_
 The id of this model if loaded from the model database.

Detailed Description

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.


Constructor & Destructor Documentation

tabletop_object_detector::ModelToCloudFitter::ModelToCloudFitter (  )  [inline]

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.


Member Function Documentation

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 geometric_shapes_msgs::Shape &  mesh,
std::vector< btVector3 > &  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.


Member Data Documentation

The id of this model if loaded from the model database.

Definition at line 103 of file model_fitter.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


tabletop_object_detector
Author(s): Marius Muja and Matei Ciocarlie
autogenerated on Fri Jan 11 09:34:40 2013