17 #ifndef AGXQT_KEYSHOTEXPORTERDIALOG_H
18 #define AGXQT_KEYSHOTEXPORTERDIALOG_H
23 #include <agxQt/ui_KeyshotExporterDialog.h>
26 #include <agx/config/AGX_USE_KEYSHOT.h>
39 class KeyshotWriterThread;
41 class CameraDescription;
42 class ParticleSystemRenderUtility;
45 struct KeyshotTimeSettings
56 class AGXQT_EXPORT KeyshotExporterDialog :
public QWidget
61 explicit KeyshotExporterDialog(QWidget *parent = 0);
62 virtual ~KeyshotExporterDialog();
67 bool verifyAgainstActiveJournal();
70 void slotUpdateSlider(
int);
71 void slotUpdateTimeLeft(
double);
72 void slotStartThread();
73 void slotStopThread();
74 void slotWriteCompleted();
75 void slotUseSnapshotBoxChecked();
76 void slotTimeSettingsChanged();
77 void synchronizeGUIFromUpdatedJournal();
87 Ui::KeyshotExporterDialog * m_ui;
88 KeyshotWriterThread * m_writerThread;
92 bool m_useTimeSnapShot;
102 KeyshotWriterThread(
agxQt::QtAgxWrapper * wrapper,
const agxQt::KeyshotTimeSettings& timeSettings);
108 void setTimeSettings(
const agxQt::KeyshotTimeSettings& timeSettings);
114 void slotAbortThread();
118 void updateTimeLeft(
double);
130 agxQt::KeyshotTimeSettings m_timeSettings;
137 typedef std::function<bool(
int,
double)> StepforwardCallback;
140 static bool writeBipFilesFromJournal(
144 const agxQt::KeyshotTimeSettings& timeSettings,
146 StepforwardCallback callback);
149 static bool _writeBipFilesFromJournal(
153 const agxQt::KeyshotTimeSettings& timeSettings,
155 StepforwardCallback callback);
Class that describes an abstract camera and it's properties.
This utility class is used for post processing of the particle system drawable representation,...
Class that wraps SimulationController with an interface that enables QT Gui signals to control the si...
Contains classes/utility functions for connecting AGX to QT with OSG.
void AGXPHYSICS_EXPORT init()
Initialize agx.