17 #ifndef AGXQT_PLAYBACKCONTROLLER_H 18 #define AGXQT_PLAYBACKCONTROLLER_H 27 #include <agxQt/ui_Controller.h> 51 void setEnable(
bool enable);
53 bool eventFilter(QObject * watched, QEvent * event);
58 void slotInitNewPlayback(
float timeStart,
float timeEnd, uint maxFrames );
59 void slotInitNewSimulation();
60 void slotTimeChanged(
float time);
63 void slotPushPlayPause();
64 void slotPushStepForward();
65 void slotPushStepBack();
66 void slotPushIncrementSpeed();
67 void slotPushDecrementSpeed();
69 void slotSetEnableRecordingNotifier(
bool enable);
72 void signalSliderTimeJump(
float time);
76 void signalStepForward();
77 void signalStepBack();
78 void signalSpeedChanged(uint speed);
79 void signalEnableJournalLoop(
bool enable);
83 void slotSliderChanged(
int value);
84 void slotStopPushed();
85 void slotForwardPushed();
86 void slotBackPushed();
87 void slotPlayPausePushed();
88 void slotSliderPressed();
89 void slotSliderReleased();
91 void slotIncrementSpeedPushed();
92 void slotDecrementSpeedPushed();
93 void slotLoopCheckBoxPressed();
96 void setEnablePlaybackGui(
bool enable);
98 void connectSignals();
100 void updateTimeLabels();
101 void updateSpeedButtonLabel();
102 QString constructHoverValueString();
103 float getSingleStepValue();
104 float getCurrentTimeFromPlaybackSliderValue(
int val);
110 Ui::Controller * m_ui;
124 QIcon m_stepForwardIcon;
125 QIcon m_speedForwardIcon;
126 QIcon m_speedBackwardIcon;
127 QIcon m_stepBackIcon;
129 bool m_sliderPressed;
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
Contains classes/utility functions for connecting AGX to QT with OSG.