|
ArMarkerWrapper offers a simplified access to the necessary information for localization of AR markers. More...
#include <MemoryX/libraries/helpers/ObjectRecognitionHelpers/ObjectRecognitionWrapper.h>
Public Member Functions | |
ArMarkerWrapper (const GridFileManagerPtr &gfm) | |
Constructs new ArMarkerWrapper. More... | |
std::vector< int > | getArMarkerIDs () const |
std::vector< float > | getArMarkerSizes () const |
std::vector< Eigen::Matrix4f > | getTransformationsToCenter () const |
std::vector< Eigen::Vector3f > | getTransformationToCenterRotationsRPY () const |
std::vector< Eigen::Vector3f > | getTransformationToCenterTranslations () const |
Ice::ObjectPtr | ice_clone () const override |
void | setArMarkerIDs (const std::vector< int > &newMarkerIDs) |
void | setArMarkerSizes (const std::vector< float > &newMarkerSizes) |
void | setTransformationToCenterRotationsRPY (const std::vector< Eigen::Vector3f > &newRotations) |
void | setTransformationToCenterTranslations (const std::vector< Eigen::Vector3f > &newTranslations) |
Public Member Functions inherited from AbstractFileEntityWrapper | |
AbstractFileEntityWrapper (GridFileManagerPtr fileManager) | |
Public Member Functions inherited from AbstractEntityWrapper | |
AbstractEntityWrapper () | |
EntityBasePtr | getEntity () const |
Get the stored name of the stored entity. More... | |
std::string | getId () const |
Get the identifier of the stored entity. More... | |
std::string | getName () const |
Get the name of the stored entity. More... | |
void | setEntity (const EntityBasePtr &entity) |
Replace the stored entity with a new one. More... | |
~AbstractEntityWrapper () override | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractFileEntityWrapper | |
std::string | cacheAttributeFile (const std::string &attrName, bool preserveOriginalFName=false) const |
void | cleanUpAttributeFiles (EntityAttributeBasePtr oldAttr, EntityAttributeBasePtr newAttr) |
cleanUpAttributeFiles compares the files attached to the two given attributes and removes the files of the oldAttr, if they dont match. More... | |
void | removeAttributeFiles (const memoryx::EntityAttributeBasePtr &attr) |
removes all files of an attribute from the gridfs More... | |
Protected Attributes inherited from AbstractFileEntityWrapper | |
GridFileManagerPtr | fileManager |
ArMarkerWrapper offers a simplified access to the necessary information for localization of AR markers.
Definition at line 139 of file ObjectRecognitionWrapper.h.
ArMarkerWrapper | ( | const GridFileManagerPtr & | gfm | ) |
Constructs new ArMarkerWrapper.
gfm | GridFileManager to store/load files |
Definition at line 327 of file ObjectRecognitionWrapper.cpp.
std::vector< int > getArMarkerIDs | ( | ) | const |
Definition at line 332 of file ObjectRecognitionWrapper.cpp.
std::vector< float > getArMarkerSizes | ( | ) | const |
Definition at line 366 of file ObjectRecognitionWrapper.cpp.
std::vector< Eigen::Matrix4f > getTransformationsToCenter | ( | ) | const |
Definition at line 480 of file ObjectRecognitionWrapper.cpp.
std::vector< Eigen::Vector3f > getTransformationToCenterRotationsRPY | ( | ) | const |
Definition at line 440 of file ObjectRecognitionWrapper.cpp.
std::vector< Eigen::Vector3f > getTransformationToCenterTranslations | ( | ) | const |
Definition at line 400 of file ObjectRecognitionWrapper.cpp.
|
override |
Definition at line 512 of file ObjectRecognitionWrapper.cpp.
void setArMarkerIDs | ( | const std::vector< int > & | newMarkerIDs | ) |
Definition at line 354 of file ObjectRecognitionWrapper.cpp.
void setArMarkerSizes | ( | const std::vector< float > & | newMarkerSizes | ) |
Definition at line 388 of file ObjectRecognitionWrapper.cpp.
void setTransformationToCenterRotationsRPY | ( | const std::vector< Eigen::Vector3f > & | newRotations | ) |
Definition at line 467 of file ObjectRecognitionWrapper.cpp.
void setTransformationToCenterTranslations | ( | const std::vector< Eigen::Vector3f > & | newTranslations | ) |
Definition at line 427 of file ObjectRecognitionWrapper.cpp.