wbc
pygen::eigen_quaternion_to_numpy_array< QuaternionType > Struct Template Reference

#include <eigen_conversion.h>

Static Public Member Functions

static PyObject * convert (const QuaternionType &mat)
 

Detailed Description

template<typename QuaternionType>
struct pygen::eigen_quaternion_to_numpy_array< QuaternionType >

Conversion from an Eigen Quaternion to an numpy ndarray This converts Eigen::Quaternion of type T (float, double) to an numpy.array. Order is [im_x,im_y,im_z,re]! The template QauternionType should be a type as Eigen::Quaternion<double, Options>

Member Function Documentation

◆ convert()

template<typename QuaternionType >
static PyObject * pygen::eigen_quaternion_to_numpy_array< QuaternionType >::convert ( const QuaternionType & mat)
inlinestatic

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