|
template<typename T > |
static bool | frame2matrix (const Frame &frame, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > &matrix) |
| Converts a frame to an Eigen matrix with column major memory layout (default in Eigen). More...
|
|
template<typename T > |
static bool | frame2matrix (const Frame &frame, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &matrix) |
| Converts a frame to an Eigen matrix with row major memory layout. More...
|
|
template<typename TType > |
static Eigen::Matrix< TType, 2, 1 > | toEigenVector (const VectorT2< TType > &ocnVector) |
| Converts an Ocean 2D vector to a corresponding Eigen vector. More...
|
|
template<typename TType > |
static Eigen::Matrix< TType, 3, 1 > | toEigenVector (const VectorT3< TType > &ocnVector) |
| Converts an Ocean 3D vector to a corresponding Eigen vector. More...
|
|
template<typename TType > |
static Eigen::Matrix< TType, 4, 1 > | toEigenVector (const VectorT4< TType > &ocnVector) |
| Converts an Ocean 4D vector to a corresponding Eigen vector. More...
|
|
template<typename TType > |
static VectorT2< TType > | toOceanVector (const Eigen::Matrix< TType, 2, 1 > &eigenVector) |
| Converts an Eigen 2D vector to a corresponding Ocean vector. More...
|
|
template<typename TType > |
static VectorT3< TType > | toOceanVector (const Eigen::Matrix< TType, 3, 1 > &eigenVector) |
| Converts an Eigen 3D vector to a corresponding Ocean vector. More...
|
|
template<typename TType > |
static VectorT4< TType > | toOceanVector (const Eigen::Matrix< TType, 4, 1 > &eigenVector) |
| Converts an Eigen 4D vector to a corresponding Ocean vector. More...
|
|
template<typename TType > |
static Eigen::Quaternion< TType > | toEigenQuaternion (const QuaternionT< TType > &ocnQuaternion) |
| Converts an Ocean quaternion to an Eigen quaternion. More...
|
|
template<typename TType > |
static QuaternionT< TType > | toOceanQuaternion (const Eigen::Quaternion< TType > &eigenQuaternion) |
| Converts an Eigen quaternion to an Ocean quaternion. More...
|
|
This class provides several helper classes allowing to convert between Ocean data structures and Eigen data structures.