#include <recognitionmodel.h>
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 |
Object recognition model. Consists of multiple ObjectAspects and a model name.
Definition at line 132 of file recognitionmodel.h.
Definition at line 421 of file recognitionmodel.cpp.
| bool RecognitionModel::loadFromPath | ( | const std::string & | path | ) |
Load a recognition model from the given directory.
| path | the 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.
| other | ObjectAspect to compare |
| model2scene | output parameter, the resulting transformation |
Definition at line 519 of file recognitionmodel.cpp.
Definition at line 144 of file recognitionmodel.h.
| std::string RecognitionModel::model_name |
Definition at line 153 of file recognitionmodel.h.