AGX Dynamics
2.38.0.2
DataExporterDialog.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGXQT_CONTACTWRITERDIALOG_H
18
#define AGXQT_CONTACTWRITERDIALOG_H
19
20
#include <
agx/TimeStamp.h
>
21
#include <
agx/agx.h
>
22
#include <
agxQt/ImpactAnalysis.h
>
23
#include <
agxQt/export.h
>
24
#include <iostream>
25
#include <
agxControl/MeasurementOperations.h
>
26
27
#include <
agx/PushDisableWarnings.h
>
// Disabling warnings. Include agx/PopDisableWarnings.h below!
28
#include <QWidget>
29
#include <agxQt/ui_DataExporterDialog.h>
30
#include <
agx/PopDisableWarnings.h
>
// End of disabled warnings.
31
32
namespace
agxQt
33
{
37
class
AGXQT_EXPORT
DataExporterDialog
:
public
QWidget
38
{
39
Q_OBJECT
40
41
public
:
42
explicit
DataExporterDialog
(QWidget *parent = 0);
43
virtual
~
DataExporterDialog
();
44
45
void
init
();
46
void
updateJournal(
agx::String
filename,
agx::String
sessionName,
agx::AnalysisBox
* bound);
47
48
bool
verifyAgainstActiveJournal();
49
50
public
slots:
51
void
slotUpdateSlider(
int
);
52
void
slotUpdateTimeLeft(
double
);
53
void
slotStartThread();
54
void
slotStopThread();
55
void
slotWriteCompleted();
56
void
slotUseAnalysisBoxChecked();
57
void
slotUseSnapshotBoxChecked();
58
void
slotExportTypeChanged(
int
);
59
void
slotTimeSettingsChanged();
60
void
synchronizeGUIFromUpdatedJournal();
61
void
updateGUI();
62
63
protected
:
64
66
// Variables
68
private
:
69
Ui::DataExporterDialog * m_ui;
70
ContactWriterThread
* m_writerThread;
71
agx::GranularDataExporter::ExporterDataType
m_type;
72
agxControl::ExponentialFilterRef
m_filter;
73
agx::Real
m_startTime;
74
agx::Real
m_endTime;
75
bool
m_useTimeSnapShot;
76
};
77
}
78
79
#endif
agx::Real
double Real
Definition:
Real.h:42
AGXQT_EXPORT
#define AGXQT_EXPORT
agxQt
Contains classes/utility functions for connecting AGX to QT with OSG.
Definition:
AnalysisBoundWidget.h:30
agx::AnalysisBox
Class that can be used to extract data from elements in a simulation within a specified bound.
Definition:
AnalysisBox.h:32
export.h
agx::GranularDataExporter::ExporterDataType
ExporterDataType
Export Data Type.
Definition:
GranularDataExporter.h:65
MeasurementOperations.h
agxQt::DataExporterDialog
Data export dialog wrapper for qtViewer.
Definition:
DataExporterDialog.h:37
agx::ref_ptr< ExponentialFilter >
agxQt::ContactWriterThread
Thread class for writing simulation information to file.
Definition:
ImpactAnalysis.h:57
PushDisableWarnings.h
agx.h
ImpactAnalysis.h
agx::AgXString< std::string >
agx::init
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API.
TimeStamp.h
PopDisableWarnings.h
include
agxQt
DataExporterDialog.h
Generated on Sun Sep 1 2024 11:18:36 for AGX Dynamics by
1.8.17