wbc
pygen Namespace Reference

Classes

struct  eigen_matrix_to_numpy_array
 
struct  eigen_quaternion_to_numpy_array
 
struct  eigen_transform_to_numpy_array
 
struct  eigen_vector_to_numpy_array
 
struct  numpy_array_to_eigen_matrix
 
struct  numpy_array_to_eigen_quaternion
 
struct  numpy_array_to_eigen_transform
 
struct  numpy_array_to_eigen_vector
 
struct  python_list_to_eigen_matrix
 
struct  python_list_to_eigen_quaternion
 
struct  python_list_to_eigen_transform
 
struct  python_list_to_eigen_vector
 
struct  python_list_to_joint_vector
 
struct  python_list_to_std_vector
 
struct  std_vector_to_python_list
 

Functions

template<typename MatrixType >
void convertMatrix (bool isListConvertible=true)
 
template<typename QuaternionType >
void convertQuaternion (bool isListConvertible=true)
 
template<typename TransformType >
void convertTransform (bool isListConvertible=true)
 
template<typename VectorType >
void convertVector (bool isListConvertible=true)
 
template<typename StdVectorType >
void convertStdVector ()
 

Function Documentation

◆ convertMatrix()

template<typename MatrixType >
void pygen::convertMatrix ( bool isListConvertible = true)

Eigen Matrix and Array conversion Generate the conversion for Eigen MatrixType (MatrixXd, Array2Xf, ...)

Parameters
isListConvertibleif true, generate conversion from python list to Eigen MatrixType

◆ convertQuaternion()

template<typename QuaternionType >
void pygen::convertQuaternion ( bool isListConvertible = true)

Eigen quaternion conversion Generate the conversion for Eigen quaternion type (Quaterniond, Quaternionf)

Parameters
isListConvertibleif true, generate conversion from python list to Eigen quaternion type

◆ convertStdVector()

template<typename StdVectorType >
void pygen::convertStdVector ( )

◆ convertTransform()

template<typename TransformType >
void pygen::convertTransform ( bool isListConvertible = true)

Eigen Transform conversion Generate the conversion for Eigen Transform (Affine2d, Affine3d, ...)

Parameters
isListConvertibleif true, generate conversion from python list to Eigen Transform

◆ convertVector()

template<typename VectorType >
void pygen::convertVector ( bool isListConvertible = true)

Eigen Vector and Array conversion Generate the conversion for Eigen VectorType (VectorXd, RowVector4f, ArrayXf, ...)

Parameters
isListConvertibleif true, generate conversion from python list to Eigen VectorType