iCub-main
iCubSkin.h
Go to the documentation of this file.
1 
31 #ifndef __ICUBSKIN_H__
32 #define __ICUBSKIN_H__
33 
35 
36 #include <vector>
37 
38 namespace iCub
39 {
40 namespace skinDynLib
41 {
42 
50 class iCubSkin
51 {
52  protected:
53  std::vector<skinPart> skin;
54 
55  public:
59  iCubSkin();
60 
66  iCubSkin(const std::string &_from);
67 
73  iCubSkin(const std::string &_from, const std::string &_context);
74 
81  bool configureSkinFromFile(const std::string &_from="skinManAll.ini",
82  const std::string &_context="skinGui");
83 
87  void print(int verbosity=0);
88 };
89 
90 }
91 
92 }//end namespace
93 
94 #endif
95 
96 // empty line to make gcc happy
97 
Class that collects a set of skinParts.
Definition: iCubSkin.h:51
bool configureSkinFromFile(const std::string &_from="skinManAll.ini", const std::string &_context="skinGui")
Configures the class with an .ini file.
Definition: iCubSkin.cpp:23
void print(int verbosity=0)
Print Method.
Definition: iCubSkin.cpp:91
iCubSkin()
Default constructor.
Definition: iCubSkin.cpp:8
std::vector< skinPart > skin
Definition: iCubSkin.h:53
int verbosity
Definition: main.cpp:17
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.