AronEigenConverter Class Reference

#include <RobotAPI/libraries/aron/converter/eigen/EigenConverter.h>

Static Public Member Functions

template<typename T >
static data::NDArrayPtr ConvertFromArray (const Eigen::Array< T, Eigen::Dynamic, Eigen::Dynamic > &mat)
 
template<typename T >
static data::NDArrayPtr ConvertFromMatrix (const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &mat)
 
template<typename T , int Rows = Eigen::Dynamic, int Cols = Eigen::Dynamic>
static data::NDArrayPtr ConvertFromMatrix (const Eigen::Matrix< T, Rows, Cols > &mat)
 
template<typename T >
static data::NDArrayPtr ConvertFromQuaternion (const Eigen::Quaternion< T > &quat)
 
template<typename T , int Rows = Eigen::Dynamic, int Cols = Eigen::Dynamic>
static Eigen::Array< T, Rows, Cols > ConvertToArray (const data::NDArray &nav)
 
template<typename T >
static Eigen::Array< T, Eigen::Dynamic, Eigen::Dynamic > ConvertToDynamicArray (const data::NDArray &nav)
 
template<typename T >
static Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > ConvertToDynamicMatrix (const data::NDArray &nav)
 
template<typename T , int Rows = Eigen::Dynamic, int Cols = Eigen::Dynamic>
static Eigen::Matrix< T, Rows, Cols > ConvertToMatrix (const data::NDArray &nav)
 
template<typename T , int Rows, int Cols>
static Eigen::Matrix< T, Rows, Cols > ConvertToMatrix (const data::NDArrayPtr &nav)
 
static Eigen::Matrix4d ConvertToMatrix4d (const data::NDArray &)
 
static Eigen::Matrix4d ConvertToMatrix4d (const data::NDArrayPtr &)
 
static Eigen::Matrix4f ConvertToMatrix4f (const data::NDArray &)
 
static Eigen::Matrix4f ConvertToMatrix4f (const data::NDArrayPtr &)
 
template<typename T >
static Eigen::Quaternion< TConvertToQuaternion (const data::NDArray &nav)
 
template<typename T >
static Eigen::Quaternion< TConvertToQuaternion (const data::NDArrayPtr &nav)
 
static Eigen::Quaternion< double > ConvertToQuaterniond (const data::NDArray &)
 
static Eigen::Quaternion< double > ConvertToQuaterniond (const data::NDArrayPtr &)
 
static Eigen::Quaternion< floatConvertToQuaternionf (const data::NDArray &)
 
static Eigen::Quaternion< floatConvertToQuaternionf (const data::NDArrayPtr &)
 
template<typename T , int Size>
static Eigen::Matrix< T, Size, 1 > ConvertToVector (const data::NDArray &nav)
 
template<typename T , int Size>
static Eigen::Matrix< T, Size, 1 > ConvertToVector (const data::NDArrayPtr &nav)
 
static Eigen::Vector3d ConvertToVector3d (const data::NDArray &)
 
static Eigen::Vector3d ConvertToVector3d (const data::NDArrayPtr &)
 
static Eigen::Vector3f ConvertToVector3f (const data::NDArray &)
 
static Eigen::Vector3f ConvertToVector3f (const data::NDArrayPtr &)
 

Detailed Description

Definition at line 41 of file EigenConverter.h.

Member Function Documentation

◆ ConvertFromArray()

static data::NDArrayPtr ConvertFromArray ( const Eigen::Array< T, Eigen::Dynamic, Eigen::Dynamic > &  mat)
inlinestatic

Definition at line 210 of file EigenConverter.h.

+ Here is the caller graph for this function:

◆ ConvertFromMatrix() [1/2]

static data::NDArrayPtr ConvertFromMatrix ( const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &  mat)
inlinestatic

Definition at line 151 of file EigenConverter.h.

+ Here is the caller graph for this function:

◆ ConvertFromMatrix() [2/2]

static data::NDArrayPtr ConvertFromMatrix ( const Eigen::Matrix< T, Rows, Cols > &  mat)
inlinestatic

Definition at line 164 of file EigenConverter.h.

◆ ConvertFromQuaternion()

static data::NDArrayPtr ConvertFromQuaternion ( const Eigen::Quaternion< T > &  quat)
inlinestatic

Definition at line 139 of file EigenConverter.h.

+ Here is the caller graph for this function:

◆ ConvertToArray()

static Eigen::Array<T, Rows, Cols> ConvertToArray ( const data::NDArray nav)
inlinestatic

Definition at line 193 of file EigenConverter.h.

+ Here is the call graph for this function:

◆ ConvertToDynamicArray()

static Eigen::Array<T, Eigen::Dynamic, Eigen::Dynamic> ConvertToDynamicArray ( const data::NDArray nav)
inlinestatic

Definition at line 179 of file EigenConverter.h.

+ Here is the call graph for this function:

◆ ConvertToDynamicMatrix()

static Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> ConvertToDynamicMatrix ( const data::NDArray nav)
inlinestatic

Definition at line 109 of file EigenConverter.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertToMatrix() [1/2]

static Eigen::Matrix<T, Rows, Cols> ConvertToMatrix ( const data::NDArray nav)
inlinestatic

Definition at line 122 of file EigenConverter.h.

+ Here is the call graph for this function:

◆ ConvertToMatrix() [2/2]

static Eigen::Matrix<T, Rows, Cols> ConvertToMatrix ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 101 of file EigenConverter.h.

◆ ConvertToMatrix4d() [1/2]

Eigen::Matrix4d ConvertToMatrix4d ( const data::NDArray n)
static

Definition at line 99 of file EigenConverter.cpp.

◆ ConvertToMatrix4d() [2/2]

Eigen::Matrix4d ConvertToMatrix4d ( const data::NDArrayPtr n)
static

Definition at line 63 of file EigenConverter.cpp.

◆ ConvertToMatrix4f() [1/2]

Eigen::Matrix4f ConvertToMatrix4f ( const data::NDArray n)
static

Definition at line 93 of file EigenConverter.cpp.

◆ ConvertToMatrix4f() [2/2]

Eigen::Matrix4f ConvertToMatrix4f ( const data::NDArrayPtr n)
static

Definition at line 57 of file EigenConverter.cpp.

+ Here is the caller graph for this function:

◆ ConvertToQuaternion() [1/2]

static Eigen::Quaternion<T> ConvertToQuaternion ( const data::NDArray nav)
inlinestatic

Definition at line 71 of file EigenConverter.h.

+ Here is the call graph for this function:

◆ ConvertToQuaternion() [2/2]

static Eigen::Quaternion<T> ConvertToQuaternion ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 63 of file EigenConverter.h.

◆ ConvertToQuaterniond() [1/2]

Eigen::Quaternion< double > ConvertToQuaterniond ( const data::NDArray n)
static

Definition at line 75 of file EigenConverter.cpp.

◆ ConvertToQuaterniond() [2/2]

Eigen::Quaternion< double > ConvertToQuaterniond ( const data::NDArrayPtr n)
static

Definition at line 39 of file EigenConverter.cpp.

◆ ConvertToQuaternionf() [1/2]

Eigen::Quaternion< float > ConvertToQuaternionf ( const data::NDArray n)
static

Definition at line 69 of file EigenConverter.cpp.

◆ ConvertToQuaternionf() [2/2]

Eigen::Quaternion< float > ConvertToQuaternionf ( const data::NDArrayPtr n)
static

Definition at line 33 of file EigenConverter.cpp.

+ Here is the caller graph for this function:

◆ ConvertToVector() [1/2]

static Eigen::Matrix<T, Size, 1> ConvertToVector ( const data::NDArray nav)
inlinestatic

Definition at line 90 of file EigenConverter.h.

+ Here is the call graph for this function:

◆ ConvertToVector() [2/2]

static Eigen::Matrix<T, Size, 1> ConvertToVector ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 82 of file EigenConverter.h.

◆ ConvertToVector3d() [1/2]

Eigen::Vector3d ConvertToVector3d ( const data::NDArray n)
static

Definition at line 87 of file EigenConverter.cpp.

◆ ConvertToVector3d() [2/2]

Eigen::Vector3d ConvertToVector3d ( const data::NDArrayPtr n)
static

Definition at line 51 of file EigenConverter.cpp.

◆ ConvertToVector3f() [1/2]

Eigen::Vector3f ConvertToVector3f ( const data::NDArray n)
static

Definition at line 81 of file EigenConverter.cpp.

◆ ConvertToVector3f() [2/2]

Eigen::Vector3f ConvertToVector3f ( const data::NDArrayPtr n)
static

Definition at line 45 of file EigenConverter.cpp.

+ Here is the caller graph for this function:

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