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

The Rotation3Ref class. More...

#include <rotation3_ref.h>

Inheritance diagram for ow_core::Rotation3Ref< _Derived >:
ow_core::MatrixRef< _Derived, 3, 3 >

Public Types

typedef _Derived Derived
 
typedef MatrixRef< Derived, 3, 3 > Base
 
- Public Types inherited from ow_core::MatrixRef< _Derived, 3, 3 >
enum  
 
typedef _Derived Derived
 
typedef Eigen::Block< Derived, Rows, Cols > Base
 

Public Member Functions

 Rotation3Ref (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
template<typename OtherDerived >
Rotation3Refoperator= (const Eigen::RotationBase< OtherDerived, 3 > &r)
 Assignment of Eigen::RotationBase.
 
void operator= (const tf::Quaternion &q)
 Assignment of tf::Quaternion.
 
void operator= (const geometry_msgs::Quaternion &q)
 Assignment of geometry_msgs::Quaternion.
 
void operator= (const tf::Matrix3x3 &R)
 Assignment of tf::Matrix3x3.
 
 operator tf::Quaternion () const
 Conversion to tf::Quaternion.
 
 operator geometry_msgs::Quaternion () const
 Conversion to geometry_msgs::Quaternion.
 
 operator tf::Matrix3x3 () const
 Conversion to tf::Matrix3x3.
 
tf::Quaternion toQuaternionTF ()
 Conversion to tf::Quaternion.
 
geometry_msgs::Quaternion toQuaternionMsg ()
 Conversion to geometry_msgs::Quaternion.
 
tf::Matrix3x3 toMatrixTF ()
 Conversion to tf::Matrix3x3.
 
- Public Member Functions inherited from ow_core::MatrixRef< _Derived, 3, 3 >
 MatrixRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
std::string toString () const
 Conversion to std::string. More...
 

Detailed Description

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

The Rotation3Ref class.

The Rotation3 is of type Eigen::Matrix3 and is represented by the math symbol $\mathbf{R}$.

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

Constructor & Destructor Documentation

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

Default Constructor.

Parameters
refthe reference to storage Eigen object to access the elements of the LinearPosition 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: