TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
|
Represents a pose, consisting of position and rotation. More...
#include <pose.h>
Public Member Functions | |
Pose () | |
Pose (const Pose &rhs) | |
Pose & | operator= (const Pose &rhs) |
Pose & | operator= (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 PropertyBase * | getPointer () |
virtual PropertyBase & | operator= (const PropertyBase &rhs) |
Represents a pose, consisting of position and rotation.
Pose::Pose | ( | ) |
Pose::Pose | ( | const Pose & | rhs | ) |
Pose::~Pose | ( | ) |
|
overridevirtual |
Implements PropertyBase.
Vec3 Pose::getPosition | ( | ) |
Rot3 Pose::getRotation | ( | ) |
|
overridevirtual |
Implements PropertyBase.
|
overridevirtual |
Implements PropertyBase.
void Pose::setPosition | ( | double | x, |
double | y, | ||
double | z | ||
) |
void Pose::setRotation | ( | double | r, |
double | p, | ||
double | y | ||
) |
void Pose::setRotation | ( | double | x, |
double | y, | ||
double | z, | ||
double | w | ||
) |