YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::math::Translation Class Reference

#include <yarp/math/Translation.h>

+ Inheritance diagram for yarp::math::Translation:

Public Member Functions

 Translation ()=default
 
 Translation (double x, double y, double z)
 
void set (double x, double y, double z)
 
- Public Member Functions inherited from yarp::sig::TranslationData
 TranslationData ()=default
 
 TranslationData (const double t_x, const double t_y, const double t_z)
 
bool read (yarp::os::idl::WireReader &reader) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
bool write (const yarp::os::idl::WireWriter &writer) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection.
 
std::string toString () const
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool readBare (yarp::os::ConnectionReader &reader)
 
virtual bool writeBare (yarp::os::ConnectionWriter &writer) const
 
virtual bool readBottle (yarp::os::ConnectionReader &reader)
 
virtual bool writeBottle (yarp::os::ConnectionWriter &writer) const
 
- Public Member Functions inherited from yarp::os::Portable
virtual Type getType () const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor.
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations.
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations.
 
virtual yarp::os::Type getWriteType () const
 

Additional Inherited Members

- Public Types inherited from yarp::sig::TranslationData
typedef yarp::os::idl::Unwrapped< TranslationData > unwrapped
 
- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (const PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading.
 
- Public Attributes inherited from yarp::sig::TranslationData
double t_x {0.0}
 
double t_y {0.0}
 
double t_z {0.0}
 

Detailed Description

Definition at line 16 of file Translation.h.

Constructor & Destructor Documentation

◆ Translation() [1/2]

yarp::math::Translation::Translation ( )
default

◆ Translation() [2/2]

yarp::math::Translation::Translation ( double  x,
double  y,
double  z 
)
inline

Definition at line 20 of file Translation.h.

Member Function Documentation

◆ set()

void yarp::math::Translation::set ( double  x,
double  y,
double  z 
)

Definition at line 14 of file Translation.cpp.


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