00001 #ifndef SIGEL_SLAVEGUI_SIG_SIMULATIONWIDGET_H 00002 #define SIGEL_SLAVEGUI_SIG_SIMULATIONWIDGET_H 00003 00004 #include "SIGEL_SlaveGUI/SIG_SimulationWidgetBase.h" 00005 00006 #include "SIGEL_Robot/SIG_Robot.h" 00007 #include "SIGEL_Environment/SIG_Environment.h" 00008 #include "SIGEL_Simulation/SIG_SimulationParameters.h" 00009 #include "SIGEL_Program/SIG_Program.h" 00010 00011 namespace SIGEL_SlaveGUI 00012 { 00013 00022 class SIG_SimulationWidget : public SIG_SimulationWidgetBase 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 00035 SIG_SimulationWidget( QWidget *parent=0, 00036 char const *name=0, 00037 WFlags f=0 ); 00038 00042 ~SIG_SimulationWidget(); 00043 00044 public slots: 00045 00050 void slotSetYaw( int yaw ); 00051 00056 void slotSetPitch( int pitch ); 00057 00062 void slotSetDistance( int distance ); 00063 00073 void slotMouseRotation( int deltaX, int deltaY ); 00074 00082 void slotMouseZoom( int deltaY ); 00083 00084 void slotSetSimulationTime( QTime simulationTime ); 00085 00086 void slotSetTraceRobot( bool newValue ); 00087 00088 void slotSetPosition( DL_vector position ); 00089 00090 void slotStopSimulation(); 00091 00097 void visualizeThis(SIGEL_Robot::SIG_Robot const &robot, 00098 SIGEL_Environment::SIG_Environment const &environment, 00099 SIGEL_Simulation::SIG_SimulationParameters const &simulationParameters, 00100 SIGEL_Program::SIG_Program const &program); 00101 00102 }; 00103 00104 } 00105 00106 #endif // SIGEL_SLAVEGUI_SIG_SIMULATIONWIDGET_H