iCubSimulatorViewer Class Reference
the widget for visualize the iCub simulator. More...

Public Member Functions | |
iCubSimulatorViewer (iCubSimulator *icubsimulator) | |
Constructor. | |
~iCubSimulatorViewer () | |
Destructor. | |
virtual void | fillActionsMenu (QMenu *actionsMenu) |
fill the menu "Actions" of Total99 with the actions of the Component | |
virtual QList< ComponentUIViewer > | getViewers (QWidget *parent, Qt::WindowFlags flags) |
Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99. |
Detailed Description
the widget for visualize the iCub simulator.
Definition at line 40 of file icubsimulatorviewer.h.
Constructor & Destructor Documentation
iCubSimulatorViewer | ( | iCubSimulator * | icubsimulator | ) |
Constructor.
Definition at line 35 of file icubsimulatorviewer.cpp.
~iCubSimulatorViewer | ( | ) |
Destructor.
Definition at line 40 of file icubsimulatorviewer.cpp.
Member Function Documentation
void fillActionsMenu | ( | QMenu * | actionsMenu | ) | [virtual] |
fill the menu "Actions" of Total99 with the actions of the Component
- Parameters:
-
actionsMenu is the actionsMenu display in the menu bar of Total99
Implements ComponentUI.
Definition at line 43 of file icubsimulatorviewer.cpp.
QList< ComponentUIViewer > getViewers | ( | QWidget * | parent, |
Qt::WindowFlags | flags | ||
) | [virtual] |
Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.
- Parameters:
-
parent is the parent widget for all viewers created by ComponentUI flags are the necessary flags to specify when constructing the viewers
Implements ComponentUI.
Definition at line 49 of file icubsimulatorviewer.cpp.
References QGLViewer::camera(), iCubSimulator::getICub(), iCubSimulator::getWorld(), WObject::matrix(), RenderWObjectContainer::setWorld(), wMatrix::transformVector(), and wMatrix::w_pos.
The documentation for this class was generated from the following files:
- experiments/icubsimulator/include/icubsimulatorviewer.h
- experiments/icubsimulator/src/icubsimulatorviewer.cpp