iDynTree::ITexturesHandler class

Constructors, destructors, conversion operators

~ITexturesHandler() pure virtual
Destructor.

Public functions

auto add(const std::string& name, const VisualizerOptions& textureOptions = VisualizerOptions()) -> ITexture* pure virtual
Add a texture.
auto get(const std::string& name) -> ITexture* pure virtual
Get a specific texture.

Function documentation

ITexture* iDynTree::ITexturesHandler::add(const std::string& name, const VisualizerOptions& textureOptions = VisualizerOptions()) pure virtual

Add a texture.

Returns A ITexture pointer in case of success. A nullptr otherwise

ITexture* iDynTree::ITexturesHandler::get(const std::string& name) pure virtual

Get a specific texture.

Returns the pointer to the texture. A nullptr if that texture does not exists.