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

#include <material.h>

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

Public Member Functions

 Material ()
 
void clear () override
 
void setFilename (std::string &path)
 
void setName (const std::string &name_)
 
void setDensity (double d)
 
void setColor (double r, double g, double b, double a=1.0)
 
bool isA (const char *name) override
 
void print (std::ostream &os) override
 
- 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

◆ Material()

Material::Material ( )

Member Function Documentation

◆ clear()

void Material::clear ( )
overridevirtual

Implements PropertyBase.

◆ isA()

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

Implements PropertyBase.

◆ print()

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

Implements PropertyBase.

◆ setColor()

void Material::setColor ( double  r,
double  g,
double  b,
double  a = 1.0 
)

◆ setDensity()

void Material::setDensity ( double  d)

◆ setFilename()

void Material::setFilename ( std::string &  path)

◆ setName()

void Material::setName ( const std::string &  name_)

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