ArMarkerWrapper Class Reference

ArMarkerWrapper offers a simplified access to the necessary information for localization of AR markers. More...

#include <MemoryX/libraries/helpers/ObjectRecognitionHelpers/ObjectRecognitionWrapper.h>

+ Inheritance diagram for ArMarkerWrapper:

Public Member Functions

 ArMarkerWrapper (const GridFileManagerPtr &gfm)
 Constructs new ArMarkerWrapper. More...
 
std::vector< int > getArMarkerIDs () const
 
std::vector< floatgetArMarkerSizes () 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
 

Detailed Description

ArMarkerWrapper offers a simplified access to the necessary information for localization of AR markers.

Definition at line 139 of file ObjectRecognitionWrapper.h.

Constructor & Destructor Documentation

◆ ArMarkerWrapper()

Constructs new ArMarkerWrapper.

Parameters
gfmGridFileManager to store/load files

Definition at line 327 of file ObjectRecognitionWrapper.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ getArMarkerIDs()

std::vector< int > getArMarkerIDs ( ) const

Definition at line 332 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ getArMarkerSizes()

std::vector< float > getArMarkerSizes ( ) const

Definition at line 366 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ getTransformationsToCenter()

std::vector< Eigen::Matrix4f > getTransformationsToCenter ( ) const

Definition at line 480 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ getTransformationToCenterRotationsRPY()

std::vector< Eigen::Vector3f > getTransformationToCenterRotationsRPY ( ) const

Definition at line 440 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ getTransformationToCenterTranslations()

std::vector< Eigen::Vector3f > getTransformationToCenterTranslations ( ) const

Definition at line 400 of file ObjectRecognitionWrapper.cpp.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
override

Definition at line 512 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ setArMarkerIDs()

void setArMarkerIDs ( const std::vector< int > &  newMarkerIDs)

Definition at line 354 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ setArMarkerSizes()

void setArMarkerSizes ( const std::vector< float > &  newMarkerSizes)

Definition at line 388 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ setTransformationToCenterRotationsRPY()

void setTransformationToCenterRotationsRPY ( const std::vector< Eigen::Vector3f > &  newRotations)

Definition at line 467 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

◆ setTransformationToCenterTranslations()

void setTransformationToCenterTranslations ( const std::vector< Eigen::Vector3f > &  newTranslations)

Definition at line 427 of file ObjectRecognitionWrapper.cpp.

+ Here is the call graph for this function:

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