TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
|
#include <mesh.h>
Public Member Functions | |
Mesh () | |
~Mesh () | |
bool | isA (const char *name) override |
void | clear () override |
void | setFilename (const std::string &path) |
std::string | getFilename () override |
void | setScale (double xs, double ys, double zs) |
Vec3 | getScale () override |
void | setColor (Color c) |
void | setColor (double r, double g, double b, double a=1.0) |
void | print (std::ostream &os) override |
void | setOrigin (double x, double y, double z) override |
void | getOrigin (double *xyz) const override |
bool | empty () const override |
const char * | getTypename () override |
Public Member Functions inherited from GeometryBase | |
virtual | ~GeometryBase ()=default |
virtual double | getRadius () |
virtual double | getLength () |
Additional Inherited Members | |
Protected Member Functions inherited from GeometryBase | |
GeometryBase () | |
Protected Member Functions inherited from ObjectBase | |
ObjectBase () | |
virtual | ~ObjectBase () |
virtual ObjectBase * | getPointer () |
Mesh::Mesh | ( | ) |
Mesh::~Mesh | ( | ) |
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Reimplemented from GeometryBase.
|
overridevirtual |
Implements GeometryBase.
|
overridevirtual |
Reimplemented from GeometryBase.
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
void Mesh::setColor | ( | Color | c | ) |
void Mesh::setColor | ( | double | r, |
double | g, | ||
double | b, | ||
double | a = 1.0 |
||
) |
void Mesh::setFilename | ( | const std::string & | path | ) |
|
overridevirtual |
Implements GeometryBase.
void Mesh::setScale | ( | double | xs, |
double | ys, | ||
double | zs | ||
) |