1#ifndef INCLUDE_TINYURDF_LINK_H_
2#define INCLUDE_TINYURDF_LINK_H_
9#include <loguru/loguru.hpp>
23 bool isA(
const char* name)
override;
27 void clear()
override;
28 void print(std::ostream& os)
override;
29 bool empty()
const override;
31 void setName(
const std::string& name);
33 void setInertia(
const std::shared_ptr<Inertia> i);
35 void setVisual(
const std::shared_ptr<Visual> v);
36 std::shared_ptr<Visual>
getVisual()
const;
37 void setMaterial(
const std::shared_ptr<Material> m);
46 std::shared_ptr<Inertia> inertial;
47 std::shared_ptr<Visual> visual;
48 std::shared_ptr<Collision> collision;
49 std::shared_ptr<Material> material;
bool empty() const override
Definition link.cc:42
Link()
Definition link.cc:3
void setVisualOrigin(std::shared_ptr< Pose > o)
Definition link.cc:120
void setMaterial(const std::shared_ptr< Material > m)
Definition link.cc:82
std::shared_ptr< Collision > getCollision() const
Definition link.cc:108
void getOrigin(double *pos) const
Definition link.cc:115
void setCollision(const std::shared_ptr< Collision > c)
Definition link.cc:92
void setCollisionGeometry(const std::shared_ptr< GeometryBase > g)
Definition link.cc:97
void setName(const std::string &name)
Definition link.cc:52
~Link()
Definition link.cc:113
void setVisualGeometry(const std::shared_ptr< GeometryBase > g)
Definition link.cc:103
void print(std::ostream &os) override
Definition link.cc:25
void clear() override
Definition link.cc:17
bool isA(const char *name) override
Definition link.cc:12
std::string getName() const
Definition link.cc:57
void setInertia(const std::shared_ptr< Inertia > i)
Definition link.cc:62
std::shared_ptr< Material > getMaterial() const
Definition link.cc:87
const char * getTypename() override
Definition link.cc:47
void setCollisionOrigin(std::shared_ptr< Pose > o)
Definition link.cc:125
std::shared_ptr< Inertia > getInertia() const
Definition link.cc:67
std::shared_ptr< Visual > getVisual() const
Definition link.cc:77
void setVisual(const std::shared_ptr< Visual > v)
Definition link.cc:72
Definition object_base.h:11