17 #ifndef AGXQT_KEYSHOTEXPORTERDIALOG_H 18 #define AGXQT_KEYSHOTEXPORTERDIALOG_H 20 #include <agx/config/AGX_USE_KEYSHOT.h> 32 #include <agxQt/ui_KeyshotExporterDialog.h> 38 #ifndef MOC_AGX_USE_KEYSHOT 40 #define MOC_AGX_USE_KEYSHOT 44 #ifdef MOC_AGX_USE_KEYSHOT 48 class KeyshotWriterThread;
50 class CameraDescription;
51 class ParticleSystemRenderUtility;
54 struct KeyshotTimeSettings
65 class AGXQT_EXPORT KeyshotExporterDialog :
public QWidget
70 explicit KeyshotExporterDialog(QWidget *parent = 0);
71 virtual ~KeyshotExporterDialog();
76 bool verifyAgainstActiveJournal();
79 void slotUpdateSlider(
int);
80 void slotUpdateTimeLeft(
double);
81 void slotStartThread();
82 void slotStopThread();
83 void slotWriteCompleted();
84 void slotUseSnapshotBoxChecked();
85 void slotTimeSettingsChanged();
86 void synchronizeGUIFromUpdatedJournal();
96 Ui::KeyshotExporterDialog * m_ui;
97 KeyshotWriterThread * m_writerThread;
101 bool m_useTimeSnapShot;
111 KeyshotWriterThread(
agxQt::QtAgxWrapper * wrapper,
const agxQt::KeyshotTimeSettings& timeSettings);
117 void setTimeSettings(
const agxQt::KeyshotTimeSettings& timeSettings);
123 void slotAbortThread();
127 void updateTimeLeft(
double);
139 agxQt::KeyshotTimeSettings m_timeSettings;
146 typedef std::function<bool(int, double)> StepforwardCallback;
149 static bool writeBipFilesFromJournal(
153 const agxQt::KeyshotTimeSettings& timeSettings,
155 StepforwardCallback callback);
158 static bool _writeBipFilesFromJournal(
162 const agxQt::KeyshotTimeSettings& timeSettings,
164 StepforwardCallback callback);
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
This utility class is used for post processing of the particle system drawable representation, such as alpha rendering and velocity color.
Contains classes/utility functions for connecting AGX to QT with OSG.
Class that describes an abstract camera and it's properties.
Class that wraps SimulationController with an interface that enables QT Gui signals to control the si...