OpenWalker Project
Documentation of the ROS Packages
Public Types | Public Member Functions | Protected Attributes | List of all members
ow_core::LinearPosition< _Scalar > Class Template Reference

The LinearPosition class. More...

#include <linear_position.h>

Inheritance diagram for ow_core::LinearPosition< _Scalar >:
ow_core::LinearPositionRef< Eigen::Matrix< _Scalar, 3, 1 > > ow_core::Vector3Ref< Eigen::Matrix< _Scalar, 3, 1 > > ow_core::VectorRef< Eigen::Matrix< _Scalar, 3, 1 >, 3 >

Public Types

typedef _Scalar Scalar
 
typedef Eigen::Matrix< _Scalar, 3, 1 > Derived
 
typedef LinearPositionRef< Derived > Base
 
- Public Types inherited from ow_core::LinearPositionRef< Eigen::Matrix< _Scalar, 3, 1 > >
typedef Eigen::Matrix< _Scalar, 3, 1 > Derived
 
typedef Vector3Ref< Derived > Base
 
- Public Types inherited from ow_core::Vector3Ref< Eigen::Matrix< _Scalar, 3, 1 > >
typedef Eigen::Matrix< _Scalar, 3, 1 > Derived
 
typedef VectorRef< Derived, 3 > Base
 
- Public Types inherited from ow_core::VectorRef< Eigen::Matrix< _Scalar, 3, 1 >, 3 >
enum  
 
typedef Eigen::Matrix< _Scalar, 3, 1 > Derived
 
typedef Eigen::Block< Derived, Rows, 1 > Base
 

Public Member Functions

 LinearPosition ()
 Default Constructor.
 
 LinearPosition (const Scalar &x, const Scalar &y, const Scalar &z)
 Assignment from Scalar values.
 
template<typename OtherDerived >
 LinearPosition (const Eigen::EigenBase< OtherDerived > &other)
 Copy constructor. More...
 
- Public Member Functions inherited from ow_core::LinearPositionRef< Eigen::Matrix< _Scalar, 3, 1 > >
 LinearPositionRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
- Public Member Functions inherited from ow_core::Vector3Ref< Eigen::Matrix< _Scalar, 3, 1 > >
 Vector3Ref (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
void operator= (const tf::Vector3 &x)
 Assignment of tf::Vector3.
 
void operator= (const geometry_msgs::Vector3 &x)
 Assignment of geometry_msgs::Vector3.
 
void operator= (const geometry_msgs::Point &x)
 Assignment of geometry_msgs::Point.
 
 operator tf::Vector3 () const
 Conversion to tf::Vector3.
 
 operator geometry_msgs::Point () const
 Conversion to geometry_msgs::Point.
 
 operator geometry_msgs::Vector3 () const
 Conversion to geometry_msgs::Point.
 
tf::Vector3 toVectorTF () const
 Conversion to tf::Vector3.
 
geometry_msgs::Point toPointMsg () const
 Conversion to geometry_msgs::Point.
 
geometry_msgs::Vector3 toVector3Msg () const
 Conversion to geometry_msgs::Point.
 
- Public Member Functions inherited from ow_core::VectorRef< Eigen::Matrix< _Scalar, 3, 1 >, 3 >
 VectorRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
std::string toString () const
 Conversion to std::string.
 

Protected Attributes

Derived data_
 

Detailed Description

template<typename _Scalar>
class ow_core::LinearPosition< _Scalar >

The LinearPosition class.

The LinearPosition is of type Eigen::Vector3 and is represented by the math symbol $\mathbf{x}$.

Constructor & Destructor Documentation

template<typename _Scalar >
template<typename OtherDerived >
ow_core::LinearPosition< _Scalar >::LinearPosition ( const Eigen::EigenBase< OtherDerived > &  other)
inline

Copy constructor.

This copy constructor not only works with Eigen matrices but also with their expressions.


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