Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_SlaveGUI::SIG_SimulationWidget Class Reference

This is the central widget of the class SIG_SimulationWindow. More...

#include <SIG_SimulationWidget.h>

Inheritance diagram for SIGEL_SlaveGUI::SIG_SimulationWidget:

List of all members.

Public Methods

 SIG_SimulationWidget ( QWidget *parent=0, char const *name=0, WFlags f=0 )
 The constructor of the SIG_SimulationWidget. More...

 ~SIG_SimulationWidget ()
 The destructor of the SIG_SimulationWidget. More...


Public Slots

void slotSetYaw ( int yaw )
 Sets the yaw value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setYaw. More...

void slotSetPitch ( int pitch )
 Sets the pitch value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setPitch. More...

void slotSetDistance ( int distance )
 Sets the distance value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setDistance. More...

void slotMouseRotation ( int deltaX, int deltaY )
 Changes the values of the enclosed yaw- and pitch-sliders. More...

void slotMouseZoom ( int deltaY )
 Changes the value of the enclosed distance-slider. More...

void slotSetSimulationTime ( QTime simulationTime )
void slotSetTraceRobot ( bool newValue )
void slotSetPosition ( DL_vector position )
void slotStopSimulation ()
void visualizeThis (SIGEL_Robot::SIG_Robot const &robot, SIGEL_Environment::SIG_Environment const &environment, SIGEL_Simulation::SIG_SimulationParameters const &simulationParameters, SIGEL_Program::SIG_Program const &program)
 Calls the method visualizeThis of the enclosed SIG_SimulationVisualisationWidget visualisationWidget with the same parameters. More...


Detailed Description

This is the central widget of the class SIG_SimulationWindow.

It inherits from the class SIG_SimulationWidgetBase which was created with the QT Designer. Due to this fact most GUI features can be found and edited in the file SIG_SimulationWidgetBase.ui.

Definition at line 22 of file SIG_SimulationWidget.h.


Constructor & Destructor Documentation

SIGEL_SlaveGUI::SIG_SimulationWidget::SIG_SimulationWidget ( QWidget * parent = 0,
char const * name = 0,
WFlags f = 0 )
 

The constructor of the SIG_SimulationWidget.

Parameters:
parent   Pointer to this widget's parent.
name   This widget's name.
f   The widget flag of this widget.

Definition at line 17 of file SIG_SimulationWidget.cpp.

SIGEL_SlaveGUI::SIG_SimulationWidget::~SIG_SimulationWidget ( )
 

The destructor of the SIG_SimulationWidget.

Definition at line 135 of file SIG_SimulationWidget.cpp.


Member Function Documentation

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotMouseRotation ( int deltaX,
int deltaY ) [slot]
 

Changes the values of the enclosed yaw- and pitch-sliders.

This indirectly effects the calling of the slots slotSetYaw and slotSetPitch.

Parameters:
deltaX   The amount to change the yaw value.
deltaY   The amount to change the pitch value.

Definition at line 153 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotMouseZoom ( int deltaY ) [slot]
 

Changes the value of the enclosed distance-slider.

This indirectly effects the calling of the slot slotSetDistance.

Parameters:
deltaY   The amount to change the distance value.

Definition at line 163 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetDistance ( int distance ) [slot]
 

Sets the distance value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setDistance.

Definition at line 148 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetPitch ( int pitch ) [slot]
 

Sets the pitch value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setPitch.

Definition at line 143 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetPosition ( DL_vector position ) [slot]
 

Definition at line 209 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetSimulationTime ( QTime simulationTime ) [slot]
 

Definition at line 170 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetTraceRobot ( bool newValue ) [slot]
 

Definition at line 196 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotSetYaw ( int yaw ) [slot]
 

Sets the yaw value of the contained SIG_SimulationVisualisationWidget visualisationWidget by calling its method setYaw.

Definition at line 138 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::slotStopSimulation ( ) [slot]
 

Definition at line 220 of file SIG_SimulationWidget.cpp.

void SIGEL_SlaveGUI::SIG_SimulationWidget::visualizeThis ( SIGEL_Robot::SIG_Robot const & robot,
SIGEL_Environment::SIG_Environment const & environment,
SIGEL_Simulation::SIG_SimulationParameters const & simulationParameters,
SIGEL_Program::SIG_Program const & program ) [slot]
 

Calls the method visualizeThis of the enclosed SIG_SimulationVisualisationWidget visualisationWidget with the same parameters.

Definition at line 175 of file SIG_SimulationWidget.cpp.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:58 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000