#include <Eigen/Geometry>
#include <osg/Matrix>
Go to the source code of this file.
|
template<typename Scalar > |
::osg::Matrix | eigToOsgMatrix (const Eigen::Transform< Scalar, 3, Eigen::Isometry > &tf) |
|
template<typename Derived > |
::osg::Matrix | eigToOsgMatrix (const Eigen::DenseBase< Derived > &M) |
|
template<typename Derived > |
::osg::Vec3f | eigToOsgVec3f (const Eigen::MatrixBase< Derived > &vec) |
|
template<typename Derived > |
::osg::Vec3d | eigToOsgVec3d (const Eigen::MatrixBase< Derived > &vec) |
|
template<typename Derived > |
std::conditional< std::is_same< typename Derived::Scalar, float >::value, ::osg::Vec3f, ::osg::Vec3d >::type | eigToOsgVec3 (const Eigen::MatrixBase< Derived > &vec) |
|
Eigen::Vector3f | osgToEigVec3 (const ::osg::Vec3f &vec) |
|
Eigen::Vector3d | osgToEigVec3 (const ::osg::Vec3d &vec) |
|
template<typename Derived > |
::osg::Vec4f | eigToOsgVec4f (const Eigen::MatrixBase< Derived > &vec) |
|
template<typename Derived > |
::osg::Vec4d | eigToOsgVec4d (const Eigen::MatrixBase< Derived > &vec) |
|
template<typename Derived > |
std::conditional< std::is_same< typename Derived::Scalar, float >::value, ::osg::Vec4f, ::osg::Vec4d > | eigToOsgVec4 (const Eigen::MatrixBase< Derived > &vec) |
|
Eigen::Vector4f | osgToEigVec4 (const ::osg::Vec4f &vec) |
|
Eigen::Vector4d | osgToEigVec4 (const ::osg::Vec4d &vec) |
|
◆ eigToOsgMatrix() [1/2]
template<typename Derived >
::osg::Matrix eigToOsgMatrix |
( |
const Eigen::DenseBase< Derived > & |
M | ) |
|
◆ eigToOsgMatrix() [2/2]
template<typename Scalar >
::osg::Matrix eigToOsgMatrix |
( |
const Eigen::Transform< Scalar, 3, Eigen::Isometry > & |
tf | ) |
|
◆ eigToOsgVec3()
template<typename Derived >
std::conditional< std::is_same<typename Derived::Scalar, float>::value, ::osg::Vec3f, ::osg::Vec3d>::type eigToOsgVec3 |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ eigToOsgVec3d()
template<typename Derived >
::osg::Vec3d eigToOsgVec3d |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ eigToOsgVec3f()
template<typename Derived >
::osg::Vec3f eigToOsgVec3f |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ eigToOsgVec4()
template<typename Derived >
std::conditional< std::is_same<typename Derived::Scalar, float>::value, ::osg::Vec4f, ::osg::Vec4d> eigToOsgVec4 |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ eigToOsgVec4d()
template<typename Derived >
::osg::Vec4d eigToOsgVec4d |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ eigToOsgVec4f()
template<typename Derived >
::osg::Vec4f eigToOsgVec4f |
( |
const Eigen::MatrixBase< Derived > & |
vec | ) |
|
◆ osgToEigVec3() [1/2]
Eigen::Vector3d osgToEigVec3 |
( |
const ::osg::Vec3d & |
vec | ) |
|
|
inline |
◆ osgToEigVec3() [2/2]
Eigen::Vector3f osgToEigVec3 |
( |
const ::osg::Vec3f & |
vec | ) |
|
|
inline |
◆ osgToEigVec4() [1/2]
Eigen::Vector4d osgToEigVec4 |
( |
const ::osg::Vec4d & |
vec | ) |
|
|
inline |
◆ osgToEigVec4() [2/2]
Eigen::Vector4f osgToEigVec4 |
( |
const ::osg::Vec4f & |
vec | ) |
|
|
inline |