My Project 1.0
Holistic Fusion: A Generic Framework for Multimodal Sensor Fusion
Loading...
Searching...
No Matches
holistic_fusion::TransformsDictionary< TRANSFORM_TYPE > Class Template Reference

#include <TransformsDictionary.h>

Public Member Functions

 TransformsDictionary (TRANSFORM_TYPE identityObject)
 TransformsDictionary (const TransformsDictionary &other)
bool isFramePairInDictionary (const std::string &frame1, const std::string &frame2)
virtual bool removeTransform (const std::string &frame1, const std::string &frame2, TRANSFORM_TYPE &removedTransform)
size_t getNumberStoredTransformationPairs ()
TRANSFORM_TYPE & lv_T_frame1_frame2 (const std::string &frame1, const std::string &frame2)
const TRANSFORM_TYPE & rv_T_frame1_frame2 (const std::string &frame1, const std::string &frame2) const
std::map< std::pair< std::string, std::string >, TRANSFORM_TYPE > & getTransformsMap ()
const std::map< std::pair< std::string, std::string >, TRANSFORM_TYPE > & getTransformsMap () const
void set_T_frame1_frame2_andInverse (const std::string &frame1, const std::string &frame2, const TRANSFORM_TYPE &T_frame1_frame2)
void set_T_frame1_frame2 (const std::string &frame1, const std::string &frame2, const TRANSFORM_TYPE T_frame1_frame2)

Private Attributes

std::map< std::pair< std::string, std::string >, TRANSFORM_TYPE > T_frame1_frame2_map_
TRANSFORM_TYPE identity_
unsigned long numStoredTransforms_ = 0

Detailed Description

template<class TRANSFORM_TYPE>
class holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >

Definition at line 21 of file TransformsDictionary.h.

Constructor & Destructor Documentation

◆ TransformsDictionary() [1/2]

template<class TRANSFORM_TYPE>
holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::TransformsDictionary ( TRANSFORM_TYPE identityObject)
inline

Definition at line 24 of file TransformsDictionary.h.

◆ TransformsDictionary() [2/2]

template<class TRANSFORM_TYPE>
holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::TransformsDictionary ( const TransformsDictionary< TRANSFORM_TYPE > & other)
inline

Definition at line 27 of file TransformsDictionary.h.

Member Function Documentation

◆ getNumberStoredTransformationPairs()

template<class TRANSFORM_TYPE>
size_t holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::getNumberStoredTransformationPairs ( )
inline

Definition at line 59 of file TransformsDictionary.h.

◆ getTransformsMap() [1/2]

template<class TRANSFORM_TYPE>
std::map< std::pair< std::string, std::string >, TRANSFORM_TYPE > & holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::getTransformsMap ( )
inline

Definition at line 93 of file TransformsDictionary.h.

◆ getTransformsMap() [2/2]

template<class TRANSFORM_TYPE>
const std::map< std::pair< std::string, std::string >, TRANSFORM_TYPE > & holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::getTransformsMap ( ) const
inline

Definition at line 94 of file TransformsDictionary.h.

◆ isFramePairInDictionary()

template<class TRANSFORM_TYPE>
bool holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::isFramePairInDictionary ( const std::string & frame1,
const std::string & frame2 )
inline

Definition at line 35 of file TransformsDictionary.h.

◆ lv_T_frame1_frame2()

template<class TRANSFORM_TYPE>
TRANSFORM_TYPE & holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::lv_T_frame1_frame2 ( const std::string & frame1,
const std::string & frame2 )
inline

Definition at line 62 of file TransformsDictionary.h.

◆ removeTransform()

template<class TRANSFORM_TYPE>
virtual bool holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::removeTransform ( const std::string & frame1,
const std::string & frame2,
TRANSFORM_TYPE & removedTransform )
inlinevirtual

◆ rv_T_frame1_frame2()

template<class TRANSFORM_TYPE>
const TRANSFORM_TYPE & holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::rv_T_frame1_frame2 ( const std::string & frame1,
const std::string & frame2 ) const
inline

Definition at line 76 of file TransformsDictionary.h.

◆ set_T_frame1_frame2()

template<class TRANSFORM_TYPE>
void holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::set_T_frame1_frame2 ( const std::string & frame1,
const std::string & frame2,
const TRANSFORM_TYPE T_frame1_frame2 )
inline

Definition at line 112 of file TransformsDictionary.h.

◆ set_T_frame1_frame2_andInverse()

template<class TRANSFORM_TYPE>
void holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::set_T_frame1_frame2_andInverse ( const std::string & frame1,
const std::string & frame2,
const TRANSFORM_TYPE & T_frame1_frame2 )
inline

Definition at line 98 of file TransformsDictionary.h.

Member Data Documentation

◆ identity_

template<class TRANSFORM_TYPE>
TRANSFORM_TYPE holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::identity_
private

Definition at line 126 of file TransformsDictionary.h.

◆ numStoredTransforms_

template<class TRANSFORM_TYPE>
unsigned long holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::numStoredTransforms_ = 0
private

Definition at line 129 of file TransformsDictionary.h.

◆ T_frame1_frame2_map_

template<class TRANSFORM_TYPE>
std::map<std::pair<std::string, std::string>, TRANSFORM_TYPE> holistic_fusion::TransformsDictionary< TRANSFORM_TYPE >::T_frame1_frame2_map_
private

Definition at line 123 of file TransformsDictionary.h.


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