OSVR-Core
|
Spatial transformation, consisting of both pre and post components. More...
#include <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. More... | |
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. More... | |
Eigen::Matrix4d const & | getPre () const |
Eigen::Matrix4d const & | getPost () const |
Spatial transformation, consisting of both pre and post components.
|
inline |
Update this transformation by the application of another transformation around it.
|
inline |
Transform a rotational derivative: angular velocity or acceleration.