26 #ifndef LoadsSimulation_H 27 #define LoadsSimulation_H 37 class AnimationMotorDialog;
63 double getTime()
const;
69 void updateTime(
bool getMotorTime=
false);
72 void addTab(QWidget *);
77 void updateDisplay(
bool force);
80 void updateAtomData();
96 void simulateOneStep();
102 virtual void reject();
105 virtual void dtChanged();
106 virtual void tMaxChanged();
107 virtual void dtModified();
108 virtual void tMaxModified();
109 virtual void refreshDtChanged();
110 virtual void refreshDtModified();
111 virtual void chooseOutputDir();
112 virtual void videoToggled(
bool);
115 virtual void addAnimationMotorAddon();
123 void enableButtons(
bool enable);
126 void loadAddon(QString);
175 Ui::AnimationMotorDialog *
ui;
180 #endif // LoadsSimulation_H LoadsManager * myLM
the load manager
Definition: LoadsSimulation.h:130
double iterationCount
total nr of iteration computed (to calculate simulator frequency)
Definition: LoadsSimulation.h:172
Definition: SettingsDialog.h:31
#define PHYSICALMODEL_COMPONENT_API
Definition: PMComponentAPI.h:54
QString outputDirName
the output directory name for making videos
Definition: LoadsSimulation.h:148
bool video
record video or not?
Definition: LoadsSimulation.h:163
QAction * rewindToolbar
toolbar buttons
Definition: LoadsSimulation.h:157
QToolBar * simulationToolBar
the tool bar
Definition: LoadsSimulation.h:142
This class manages the applied all loads (see LML), deformation add-on, atom data monitoring and atom...
Definition: LoadsManager.h:69
unsigned int imageId
the number of screenshots
Definition: LoadsSimulation.h:154
QString addonFilename
Definition: LoadsSimulation.h:127
This class manages the display of a simulation (either an already made simulation opened in a single ...
Definition: LoadsSimulationDriver.h:47
double elapsed
total elapsed time (to calculate simulator frequency)
Definition: LoadsSimulation.h:169
LoadsSimulationDriver * simDriver
the code core for the display of a loads
Definition: LoadsSimulation.h:136
bool output
if there is no output directory we can't make video
Definition: LoadsSimulation.h:166
QAction * pauseToolbar
Definition: LoadsSimulation.h:160
The Animation Motor addon class.
Definition: AnimationMotorAddon.h:52
QAction * playToolbar
Definition: LoadsSimulation.h:158
QString outputDir
the output directory name for making videos
Definition: LoadsSimulation.h:151
Ui::AnimationMotorDialog * ui
the ui dialog designed in qtdesigner
Definition: LoadsSimulation.h:175
This dialog allows one to run a simulation using a simulation motor.
Definition: LoadsSimulation.h:53
QLineEdit * tLineEditToolbar
toolbar t line edit
Definition: LoadsSimulation.h:145
QColor bgColor
the initial bg color
Definition: LoadsSimulation.h:133
AnimationMotorAddon * myMotor
the motor
Definition: LoadsSimulation.h:139
QAction * playOneStepToolbar
Definition: LoadsSimulation.h:159