Public Member Functions | Public Attributes
RecognitionModel Class Reference

#include <recognitionmodel.h>

List of all members.

Public Member Functions

bool loadFromPath (const std::string &path)
bool matchAspects (ObjectAspect &other, Eigen::Matrix4f &model2scene)
 RecognitionModel ()

Public Attributes

std::vector< ObjectAspect * > aspects
std::string model_name

Detailed Description

Object recognition model. Consists of multiple ObjectAspects and a model name.

Definition at line 132 of file recognitionmodel.h.


Constructor & Destructor Documentation

Definition at line 421 of file recognitionmodel.cpp.


Member Function Documentation

bool RecognitionModel::loadFromPath ( const std::string &  path)

Load a recognition model from the given directory.

Returns:
true for success, false for failure
Parameters:
paththe path to load the model from

Definition at line 464 of file recognitionmodel.cpp.

bool RecognitionModel::matchAspects ( ObjectAspect other,
Eigen::Matrix4f &  model2scene 
)

Tries to match a object aspect with this recognition model and calculates the resulting transformation.

Returns:
true if successful, false otherwise
Parameters:
otherObjectAspect to compare
model2sceneoutput parameter, the resulting transformation

Definition at line 519 of file recognitionmodel.cpp.


Member Data Documentation

Definition at line 144 of file recognitionmodel.h.

Definition at line 153 of file recognitionmodel.h.


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


re_kinect_object_detector
Author(s): Andreas Koch
autogenerated on Sun Jan 5 2014 11:38:30