1#ifndef INCLUDE_TINYURDF_VISUAL_H_
2#define INCLUDE_TINYURDF_VISUAL_H_
17 void clear()
override;
18 bool isA(
const char* name)
override;
21 std::shared_ptr<Pose>
getPose()
const;
22 void print(std::ostream& os)
override;
25 void setGeometry(std::shared_ptr<GeometryBase> geo);
31 std::shared_ptr<Pose> origin;
32 std::shared_ptr<GeometryBase> geometry;
33 std::string material_name;
34 std::shared_ptr<Material> material;
Definition property_base.h:9
void setMaterialName(const std::string &name)
Definition visual.cc:74
Visual()
Definition visual.cc:3
void setMaterial(std::shared_ptr< Material > mat)
Definition visual.cc:69
bool isA(const char *name) override
Definition visual.cc:21
void setGeometry(std::shared_ptr< GeometryBase > geo)
Definition visual.cc:80
void clear() override
Definition visual.cc:14
std::shared_ptr< Pose > getPose() const
Definition visual.cc:37
bool empty() const
Definition visual.cc:59
void print(std::ostream &os) override
Definition visual.cc:42
void getOrigin(double *xyz) const
Definition visual.cc:30
std::shared_ptr< GeometryBase > getGeometry() const
Definition visual.cc:84
void setOrigin(std::shared_ptr< Pose > o)
Definition visual.cc:25
const char * getTypename()
Definition visual.cc:64
~Visual()
Definition visual.cc:10