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

The Vector3 class. More...

#include <vector3.h>

Inheritance diagram for ow_core::Vector3< _Scalar >:
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 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

 Vector3 ()
 Default Constructor.
 
 Vector3 (const Scalar &x, const Scalar &y, const Scalar &z)
 Assignment from Scalar values.
 
template<typename OtherDerived >
 Vector3 (const Eigen::EigenBase< OtherDerived > &other)
 Copy 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::Vector3< _Scalar >

The Vector3 class.

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

Constructor & Destructor Documentation

template<typename _Scalar >
template<typename OtherDerived >
ow_core::Vector3< _Scalar >::Vector3 ( 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: