![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
This dialog allows to run a simulation using a simulation motor. More...
#include <LoadsSimulation.h>
Inheritance diagram for LoadsSimulation:Public Slots | |
| virtual void | addAnimationMotorAddon () |
| adding a animation motor add-on (in the 2nd tab) More... | |
| virtual void | chooseOutputDir () |
| bool | doOneStep () |
| do one step of simulation More... | |
| virtual void | dtChanged () |
| virtual void | dtModified () |
| void | init () |
| init display More... | |
| void | pause () |
| Slot called when the button Pause is clicked. More... | |
| virtual void | refreshDtChanged () |
| virtual void | refreshDtModified () |
| virtual void | reject () |
| dialog is closed More... | |
| void | rewind () |
| Slot called when the button Rewind is clicked. More... | |
| void | simulate () |
| Slot called when the button Play is clicked. More... | |
| void | simulateOneStep () |
| Slot called when the next step is clicked. More... | |
| virtual void | tMaxChanged () |
| virtual void | tMaxModified () |
| virtual void | videoToggled (bool) |
Public Member Functions | |
| void | addTab (QWidget *) |
| add a tabulation (will be remove when the current animation motor add-on will be removed More... | |
| double | getTime () const |
| get the actual time More... | |
| LoadsSimulation (LoadsManager *myLoadsManager, QWidget *parent=0) | |
| Default Constructor. More... | |
| void | updateDisplay (bool force) |
| update the display (the boolean indicates if the scene3d has to be refresh or not) More... | |
| void | updateTime (bool getMotorTime=false) |
| update time display More... | |
| virtual | ~LoadsSimulation () |
| Destructor. More... | |
Private Member Functions | |
| void | enableButtons (bool enable) |
| set the rew,play,pause,step buttons enable or not More... | |
| void | loadAddon (QString) |
| load a animation motor add-on using a filename (shared lib location) More... | |
Private Attributes | |
| QString | addonFilename |
| QColor | bgColor |
| the initial bg color More... | |
| double | elapsed |
| total elapsed time (to calculate simulator frequency) More... | |
| unsigned int | imageId |
| the number of screenshots More... | |
| double | iterationCount |
| total nr of iteration computed (to calculate simulator frequency) More... | |
| LoadsManager * | myLM |
| the load manager More... | |
| AnimationMotorAddon * | myMotor |
| the motor More... | |
| bool | output |
| if there is no output directory we can't make video More... | |
| QString | outputDir |
| the output directory name for making videos More... | |
| QString | outputDirName |
| the output directory name for making videos More... | |
| QAction * | pauseToolbar |
| QAction * | playOneStepToolbar |
| QAction * | playToolbar |
| QAction * | rewindToolbar |
| toolbar buttons More... | |
| LoadsSimulationDriver * | simDriver |
| the code core for the display of a loads More... | |
| QToolBar * | simulationToolBar |
| the tool bar More... | |
| QLineEdit * | tLineEditToolbar |
| toolbar t line edit More... | |
| Ui::AnimationMotorDialog | ui |
| the ui dialog designed in qtdesigner More... | |
| bool | video |
| record video or not? More... | |
This dialog allows to run a simulation using a simulation motor.
It plays the impload, allowing the user to see the evolution of translations along time.
| LoadsSimulation::LoadsSimulation | ( | LoadsManager * | myLoadsManager, |
| QWidget * | parent = 0 |
||
| ) |
Default Constructor.
|
virtual |
Destructor.
|
virtualslot |
adding a animation motor add-on (in the 2nd tab)
| void LoadsSimulation::addTab | ( | QWidget * | ) |
add a tabulation (will be remove when the current animation motor add-on will be removed
|
virtualslot |
|
slot |
do one step of simulation
|
virtualslot |
|
virtualslot |
|
private |
set the rew,play,pause,step buttons enable or not
| double LoadsSimulation::getTime | ( | ) | const |
get the actual time
|
slot |
init display
|
private |
load a animation motor add-on using a filename (shared lib location)
|
slot |
Slot called when the button Pause is clicked.
|
virtualslot |
|
virtualslot |
|
virtualslot |
dialog is closed
|
slot |
Slot called when the button Rewind is clicked.
|
slot |
Slot called when the button Play is clicked.
|
slot |
Slot called when the next step is clicked.
|
virtualslot |
|
virtualslot |
| void LoadsSimulation::updateDisplay | ( | bool | force | ) |
update the display (the boolean indicates if the scene3d has to be refresh or not)
| force | if true force display update independantly from refresh dt (default is false) |
| void LoadsSimulation::updateTime | ( | bool | getMotorTime = false | ) |
update time display
| getMotorTime | if force is true, then the time taken by the method is not the simulation driver time, but the animation motor add-on time. |
|
virtualslot |
|
private |
|
private |
the initial bg color
|
private |
total elapsed time (to calculate simulator frequency)
|
private |
the number of screenshots
|
private |
total nr of iteration computed (to calculate simulator frequency)
|
private |
the load manager
|
private |
the motor
|
private |
if there is no output directory we can't make video
|
private |
the output directory name for making videos
|
private |
the output directory name for making videos
|
private |
|
private |
|
private |
|
private |
toolbar buttons
|
private |
the code core for the display of a loads
|
private |
the tool bar
|
private |
toolbar t line edit
|
private |
the ui dialog designed in qtdesigner
|
private |
record video or not?
1.8.8