Grip-Reloaded
Grip version visualizaiton interface for DART (DynamicAnimationandRoboticsToolkits)
Public Slots | Public Member Functions | Public Attributes
PlaybackWidget Class Reference

Class for simulation and kinematic playback. More...

#include <PlaybackWidget.h>

List of all members.

Public Slots

void slotUpdateSliderMinMax (int min, int max)
 Updates the min and max of the slider widget.
void slotSetTimeDisplays (double sim_time, double rel_time)
 Updates the time displays of the playback widget.

Public Member Functions

 PlaybackWidget (MainWindow *parent)
 MetaObject macro for using signals and slots.
 ~PlaybackWidget ()
 Destructs this PlaybackWidget object.
void reset ()
 Resets the widgets.
void setSliderValue (int value)
 Sets the value of the slider object.
int getSliderValue ()
 Gets the current value of the slider.

Public Attributes

Ui::PlaybackWidgetui
 UI object which holds all the widgets.

Detailed Description

Class for simulation and kinematic playback.


Constructor & Destructor Documentation

MetaObject macro for using signals and slots.

Constructs a PlaybackWidget object

Parameters:
parentObject that creates the PlaybackWidget object

Member Function Documentation

Gets the current value of the slider.

Returns:
Integer value of the slider
void PlaybackWidget::setSliderValue ( int  value)

Sets the value of the slider object.

Parameters:
valueValue to set slider to
Returns:
void
void PlaybackWidget::slotSetTimeDisplays ( double  sim_time,
double  rel_time 
) [slot]

Updates the time displays of the playback widget.

Parameters:
sim_timeCurrent simulation time for playback
rel_timeSimulation time relative to real time
Returns:
void
void PlaybackWidget::slotUpdateSliderMinMax ( int  min,
int  max 
) [slot]

Updates the min and max of the slider widget.

Parameters:
minThe new minimum value of the slider
maxThe new maximum value of the slider
Returns:
void

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator