OpenWalker Project
Documentation of the ROS Packages
Public Types | Public Member Functions | List of all members
ow_core::QuaternionRef< _Derived > Class Template Reference

Get Eigen::QuaternionRef to our namespace. More...

#include <quaternion_ref.h>

Inheritance diagram for ow_core::QuaternionRef< _Derived >:
Eigen::QuaternionRef< _Derived > ow_core::AngularPositionRef< _Derived >

Public Types

typedef _Derived Derived
 
typedef Eigen::QuaternionRef< Derived > Base
 
- Public Types inherited from Eigen::QuaternionRef< _Derived >
typedef _Derived Derived
 
typedef Eigen::QuaternionBase< QuaternionRef< _Derived > > Base
 
typedef Eigen::internal::traits< QuaternionRef >::Coefficients Coefficients
 

Public Member Functions

 QuaternionRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
- Public Member Functions inherited from Eigen::QuaternionRef< _Derived >
 QuaternionRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
Coefficients & coeffs ()
 Get quaternion coefficients. More...
 
const Coefficients & coeffs () const
 Get quaternion coefficients. More...
 
std::string toString () const
 Conversion to std::string.
 

Additional Inherited Members

- Protected Attributes inherited from Eigen::QuaternionRef< _Derived >
Coefficients coeffs_
 The quaternion coefficients in a Eigen::Block.
 

Detailed Description

template<typename _Derived>
class ow_core::QuaternionRef< _Derived >

Get Eigen::QuaternionRef to our namespace.

The QuaternionRef class.

References the data of another Eigen type class via Eigen:Block.

We need this special type to get the behavior of Eigen::Quaternion when defining new references.

Constructor & Destructor Documentation

template<typename _Derived>
ow_core::QuaternionRef< _Derived >::QuaternionRef ( Derived &  ref,
int  startRow = 0,
int  startCol = 0 
)
inline

Default Constructor.

Parameters
refthe reference to storage Eigen object to access the elements of the quaternion via Eigen::Block.
startRowthe start index of the row for Eigen::Block.
startColthe start index of the column for Eigen::Block.

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