iCub-main
|
#include <skinPart.h>
Public Member Functions | |
skinPartBase () | |
Constructor. | |
skinPartBase (const skinPartBase &_spb) | |
Copy constructor. | |
virtual skinPartBase & | operator= (const skinPartBase &_sp) |
Copy Operator. | |
void | setName (const std::string &_name) |
Sets the name of the class. | |
std::string | getName () |
Gets the name of the class. | |
void | setSize (int _size) |
Sets the size of the class. | |
int | getSize () |
Gets the size of the class. | |
void | setVersion (const std::string &_version) |
Sets the version ("V1" / "V2" / "V2.1") | |
std::string | getVersion () |
Gets the version. | |
virtual bool | setTaxelPosesFromFile (const std::string &_filePath, const std::string &_spatial_sampling="default") |
Populates the skinPartBase by reading from a file. | |
virtual void | print (int verbosity=0) |
Print Method. | |
virtual std::string | toString (int precision=0) |
toString Method | |
Public Attributes | |
std::string | name |
int | size |
std::string | version |
std::recursive_mutex | recursive_mtx |
Definition at line 51 of file skinPart.h.
skinPartBase::skinPartBase | ( | ) |
Constructor.
Definition at line 9 of file skinPart.cpp.
skinPartBase::skinPartBase | ( | const skinPartBase & | _spb | ) |
Copy constructor.
_spb | is the skinPart to copy from |
Definition at line 11 of file skinPart.cpp.
std::string skinPartBase::getName | ( | ) |
Gets the name of the class.
Definition at line 35 of file skinPart.cpp.
int skinPartBase::getSize | ( | ) |
Gets the size of the class.
Definition at line 45 of file skinPart.cpp.
std::string skinPartBase::getVersion | ( | ) |
|
virtual |
Copy Operator.
_spb | is the skinPart to copy from |
Definition at line 16 of file skinPart.cpp.
|
virtual |
Print Method.
verbosity | is the verbosity level |
Reimplemented in iCub::skinDynLib::skinPart.
Definition at line 61 of file skinPart.cpp.
void skinPartBase::setName | ( | const std::string & | _name | ) |
Sets the name of the class.
_name | new name of the class |
Definition at line 30 of file skinPart.cpp.
void skinPartBase::setSize | ( | int | _size | ) |
Sets the size of the class.
_size | new size of the class |
Definition at line 40 of file skinPart.cpp.
|
inlinevirtual |
Populates the skinPartBase by reading from a file.
_filePath | is the full absolute path of the file |
Reimplemented in iCub::skinDynLib::skinPart.
Definition at line 123 of file skinPart.h.
void skinPartBase::setVersion | ( | const std::string & | _version | ) |
Sets the version ("V1" / "V2" / "V2.1")
_version |
Definition at line 50 of file skinPart.cpp.
|
virtual |
toString Method
verbosity | is the verbosity level |
Reimplemented in iCub::skinDynLib::skinPart.
Definition at line 69 of file skinPart.cpp.
std::string iCub::skinDynLib::skinPartBase::name |
Definition at line 54 of file skinPart.h.
std::recursive_mutex iCub::skinDynLib::skinPartBase::recursive_mtx |
Definition at line 63 of file skinPart.h.
int iCub::skinDynLib::skinPartBase::size |
Definition at line 55 of file skinPart.h.
std::string iCub::skinDynLib::skinPartBase::version |
Definition at line 60 of file skinPart.h.