iCub-main
|
Class that collects a set of skinParts. More...
#include <iCubSkin.h>
Public Member Functions | |
iCubSkin () | |
Default constructor. | |
iCubSkin (const std::string &_from) | |
Constructor that configures the class with an .ini file. | |
iCubSkin (const std::string &_from, const std::string &_context) | |
Constructor that configures the class with an .ini file. | |
bool | configureSkinFromFile (const std::string &_from="skinManAll.ini", const std::string &_context="skinGui") |
Configures the class with an .ini file. | |
void | print (int verbosity=0) |
Print Method. | |
Protected Attributes | |
std::vector< skinPart > | skin |
Class that collects a set of skinParts.
It consists of a std::vector of skinPart(s), and a number of methods for loading and populating these taxels from files.
Definition at line 50 of file iCubSkin.h.
iCubSkin::iCubSkin | ( | ) |
Default constructor.
Definition at line 8 of file iCubSkin.cpp.
iCubSkin::iCubSkin | ( | const std::string & | _from | ) |
Constructor that configures the class with an .ini file.
The context used will be the default one, i.e. 'skinGui'
_from | the name of the file (default skinManAll.ini) |
Definition at line 13 of file iCubSkin.cpp.
iCubSkin::iCubSkin | ( | const std::string & | _from, |
const std::string & | _context | ||
) |
Constructor that configures the class with an .ini file.
_from | the name of the file (default skinManAll.ini) |
_context | the context to load the file from (default skinGui) |
Definition at line 18 of file iCubSkin.cpp.
bool iCubSkin::configureSkinFromFile | ( | const std::string & | _from = "skinManAll.ini" , |
const std::string & | _context = "skinGui" |
||
) |
Configures the class with an .ini file.
_from | the name of the file (default skinManAll.ini) |
_context | the context to load the file from (default skinGui) |
Definition at line 23 of file iCubSkin.cpp.
void iCubSkin::print | ( | int | verbosity = 0 | ) |
Print Method.
Definition at line 91 of file iCubSkin.cpp.
|
protected |
Definition at line 53 of file iCubSkin.h.