YARP
Yet Another Robot Platform
yarp::math::FrameTransform Class Reference

#include <yarp/math/FrameTransform.h>

Detailed Description

Definition at line 22 of file FrameTransform.h.

Classes

struct  Translation_t
 

Public Member Functions

 YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG (std::string) src_frame_id
 
 YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG (std::string) dst_frame_id
 
 FrameTransform ()
 
 FrameTransform (const std::string &parent, const std::string &child, double inTX, double inTY, double inTZ, double inRX, double inRY, double inRZ, double inRW)
 
 ~FrameTransform ()
 
void transFromVec (double X, double Y, double Z)
 
void rotFromRPY (double R, double P, double Y)
 
yarp::sig::Vector getRPYRot () const
 
yarp::sig::Matrix toMatrix () const
 
bool fromMatrix (const yarp::sig::Matrix &mat)
 
std::string toString () const
 

Public Attributes

double timestamp
 
struct yarp::math::FrameTransform::Translation_t translation
 
Quaternion rotation
 

Constructor & Destructor Documentation

◆ FrameTransform() [1/2]

yarp::math::FrameTransform::FrameTransform ( )
inline

Definition at line 45 of file FrameTransform.h.

◆ FrameTransform() [2/2]

yarp::math::FrameTransform::FrameTransform ( const std::string &  parent,
const std::string &  child,
double  inTX,
double  inTY,
double  inTZ,
double  inRX,
double  inRY,
double  inRZ,
double  inRW 
)
inline

Definition at line 52 of file FrameTransform.h.

◆ ~FrameTransform()

yarp::math::FrameTransform::~FrameTransform ( )
inline

Definition at line 73 of file FrameTransform.h.

Member Function Documentation

◆ fromMatrix()

bool yarp::math::FrameTransform::fromMatrix ( const yarp::sig::Matrix mat)
inline

Definition at line 111 of file FrameTransform.h.

◆ getRPYRot()

yarp::sig::Vector yarp::math::FrameTransform::getRPYRot ( ) const
inline

Definition at line 91 of file FrameTransform.h.

◆ rotFromRPY()

void yarp::math::FrameTransform::rotFromRPY ( double  R,
double  P,
double  Y 
)
inline

Definition at line 80 of file FrameTransform.h.

◆ toMatrix()

yarp::sig::Matrix yarp::math::FrameTransform::toMatrix ( ) const
inline

Definition at line 100 of file FrameTransform.h.

◆ toString()

std::string yarp::math::FrameTransform::toString ( ) const

Definition at line 13 of file FrameTransform.cpp.

◆ transFromVec()

void yarp::math::FrameTransform::transFromVec ( double  X,
double  Y,
double  Z 
)
inline

Definition at line 75 of file FrameTransform.h.

◆ YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG() [1/2]

yarp::math::FrameTransform::YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG ( std::string  )

◆ YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG() [2/2]

yarp::math::FrameTransform::YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG ( std::string  )

Member Data Documentation

◆ rotation

Quaternion yarp::math::FrameTransform::rotation

Definition at line 43 of file FrameTransform.h.

◆ timestamp

double yarp::math::FrameTransform::timestamp

Definition at line 27 of file FrameTransform.h.

◆ translation

struct yarp::math::FrameTransform::Translation_t yarp::math::FrameTransform::translation

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