TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
Pose Class Reference

Represents a pose, consisting of position and rotation. More...

#include <pose.h>

Inheritance diagram for Pose:
[legend]
Collaboration diagram for Pose:
[legend]

Public Member Functions

 Pose ()
 
 Pose (const Pose &rhs)
 
Poseoperator= (const Pose &rhs)
 
Poseoperator= (Pose &&rhs) noexcept
 
bool isA (const char *name) override
 
void print (std::ostream &os) override
 
Vec3 getPosition ()
 
Rot3 getRotation ()
 
void setPosition (double x, double y, double z)
 
void setRotation (double x, double y, double z, double w)
 
void setRotation (double r, double p, double y)
 
void clear () override
 
 ~Pose ()
 
- Public Member Functions inherited from PropertyBase
virtual bool validate () const
 
virtual void set (const std::any &value)
 

Additional Inherited Members

- Protected Member Functions inherited from PropertyBase
 PropertyBase ()
 
virtual ~PropertyBase ()
 
virtual PropertyBasegetPointer ()
 
virtual PropertyBaseoperator= (const PropertyBase &rhs)
 

Detailed Description

Represents a pose, consisting of position and rotation.

Constructor & Destructor Documentation

◆ Pose() [1/2]

Pose::Pose ( )

◆ Pose() [2/2]

Pose::Pose ( const Pose rhs)

◆ ~Pose()

Pose::~Pose ( )

Member Function Documentation

◆ clear()

void Pose::clear ( )
overridevirtual

Implements PropertyBase.

◆ getPosition()

Vec3 Pose::getPosition ( )

◆ getRotation()

Rot3 Pose::getRotation ( )

◆ isA()

bool Pose::isA ( const char *  name)
overridevirtual

Implements PropertyBase.

◆ operator=() [1/2]

Pose & Pose::operator= ( const Pose rhs)

◆ operator=() [2/2]

Pose & Pose::operator= ( Pose &&  rhs)
noexcept

◆ print()

void Pose::print ( std::ostream &  os)
overridevirtual

Implements PropertyBase.

◆ setPosition()

void Pose::setPosition ( double  x,
double  y,
double  z 
)

◆ setRotation() [1/2]

void Pose::setRotation ( double  r,
double  p,
double  y 
)

◆ setRotation() [2/2]

void Pose::setRotation ( double  x,
double  y,
double  z,
double  w 
)

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