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

#include <link.h>

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

Public Member Functions

 Link ()
 
bool isA (const char *name) override
 
void getOrigin (double *pos) const
 
void setVisualOrigin (std::shared_ptr< Pose > o)
 
void setCollisionOrigin (std::shared_ptr< Pose > o)
 
void clear () override
 
void print (std::ostream &os) override
 
bool empty () const override
 
const char * getTypename () override
 
void setName (const std::string &name)
 
std::string getName () const
 
void setInertia (const std::shared_ptr< Inertia > i)
 
std::shared_ptr< InertiagetInertia () const
 
void setVisual (const std::shared_ptr< Visual > v)
 
std::shared_ptr< VisualgetVisual () const
 
void setMaterial (const std::shared_ptr< Material > m)
 
std::shared_ptr< MaterialgetMaterial () const
 
void setCollision (const std::shared_ptr< Collision > c)
 
void setCollisionGeometry (const std::shared_ptr< GeometryBase > g)
 
void setVisualGeometry (const std::shared_ptr< GeometryBase > g)
 
std::shared_ptr< CollisiongetCollision () const
 
 ~Link ()
 

Additional Inherited Members

- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Constructor & Destructor Documentation

◆ Link()

Link::Link ( )

◆ ~Link()

Link::~Link ( )

Member Function Documentation

◆ clear()

void Link::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool Link::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ getCollision()

std::shared_ptr< Collision > Link::getCollision ( ) const

◆ getInertia()

std::shared_ptr< Inertia > Link::getInertia ( ) const

◆ getMaterial()

std::shared_ptr< Material > Link::getMaterial ( ) const

◆ getName()

std::string Link::getName ( ) const

◆ getOrigin()

void Link::getOrigin ( double *  pos) const

◆ getTypename()

const char * Link::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ getVisual()

std::shared_ptr< Visual > Link::getVisual ( ) const

◆ isA()

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

Implements ObjectBase.

◆ print()

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

Implements ObjectBase.

◆ setCollision()

void Link::setCollision ( const std::shared_ptr< Collision c)

◆ setCollisionGeometry()

void Link::setCollisionGeometry ( const std::shared_ptr< GeometryBase g)

◆ setCollisionOrigin()

void Link::setCollisionOrigin ( std::shared_ptr< Pose o)

◆ setInertia()

void Link::setInertia ( const std::shared_ptr< Inertia i)

◆ setMaterial()

void Link::setMaterial ( const std::shared_ptr< Material m)

◆ setName()

void Link::setName ( const std::string &  name)

◆ setVisual()

void Link::setVisual ( const std::shared_ptr< Visual v)

◆ setVisualGeometry()

void Link::setVisualGeometry ( const std::shared_ptr< GeometryBase g)

◆ setVisualOrigin()

void Link::setVisualOrigin ( std::shared_ptr< Pose o)

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