OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::common::Transform Class Reference

Spatial transformation, consisting of both pre and post components. More...

#include <osvr/Common/Transform.h>

Public Member Functions

template<typename T1 , typename T2 >
 Transform (T1 const &pre_matrix, T2 const &post_matrix)
 
template<typename T >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
void 
concatPre (T const &xform)
 
template<typename T >
void concatPost (T const &xform)
 
void transform (Transform const &other)
 Update this transformation by the application of another transformation around it.
 
Eigen::Matrix4d transform (Eigen::Matrix4d const &input) const
 Apply the transformation to a matrix representing a pose.
 
Eigen::Vector3d transformDerivative (Eigen::Ref< Eigen::Vector3d const > const &vec)
 Apply only the rotation/basis change (not the translation) to a vector representing a velocity or acceleration.
 
Eigen::Quaterniond transformDerivative (Eigen::Quaterniond const &quat)
 Transform a rotational derivative: angular velocity or acceleration.
 
Eigen::Matrix4d const & getPre () const
 
Eigen::Matrix4d const & getPost () const
 

Detailed Description

Spatial transformation, consisting of both pre and post components.

Definition at line 44 of file Transform.h.


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