TinyURDF 1.0.0
A modern C++ library for parsing and visualizing urdf models
Loading...
Searching...
No Matches
Visual Class Reference

#include <visual.h>

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

Public Member Functions

 Visual ()
 
void clear () override
 
bool isA (const char *name) override
 
void setOrigin (std::shared_ptr< Pose > o)
 
void getOrigin (double *xyz) const
 
std::shared_ptr< PosegetPose () const
 
void print (std::ostream &os) override
 
bool empty () const
 
const char * getTypename ()
 
void setGeometry (std::shared_ptr< GeometryBase > geo)
 
std::shared_ptr< GeometryBasegetGeometry () const
 
void setMaterial (std::shared_ptr< Material > mat)
 
void setMaterialName (const std::string &name)
 
 ~Visual ()
 
- 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 PropertyBasegetPointer ()
 
virtual PropertyBaseoperator= (const PropertyBase &rhs)
 

Constructor & Destructor Documentation

◆ Visual()

Visual::Visual ( )

◆ ~Visual()

Visual::~Visual ( )

Member Function Documentation

◆ clear()

void Visual::clear ( )
overridevirtual

Implements PropertyBase.

◆ empty()

bool Visual::empty ( ) const

◆ getGeometry()

std::shared_ptr< GeometryBase > Visual::getGeometry ( ) const

◆ getOrigin()

void Visual::getOrigin ( double *  xyz) const

◆ getPose()

std::shared_ptr< Pose > Visual::getPose ( ) const

◆ getTypename()

const char * Visual::getTypename ( )

◆ isA()

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

Implements PropertyBase.

◆ print()

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

Implements PropertyBase.

◆ setGeometry()

void Visual::setGeometry ( std::shared_ptr< GeometryBase geo)

◆ setMaterial()

void Visual::setMaterial ( std::shared_ptr< Material mat)

◆ setMaterialName()

void Visual::setMaterialName ( const std::string &  name)

◆ setOrigin()

void Visual::setOrigin ( std::shared_ptr< Pose o)

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