17 #ifndef AGXQT_QTPARTICLERENDERWIDGET_H 18 #define AGXQT_QTPARTICLERENDERWIDGET_H 29 #include <agxQt/ui_ParticleRenderSettingsWidget.h> 30 #include <osgViewer/ViewerEventHandlers> 31 #include <osgViewer/Renderer> 34 #define DEFAULT_VIDEO_FPS 30 35 #define DEFAULT_CAPTURE_FPS 30 37 #define QUALITY_INTERVAL 20 38 #define DEFAULT_QUALITY_TICK 17 55 void setActiveColorModeFromName(
const agx::String& mode);
57 void setActiveParticleFilterFromName(
const agx::String& name);
67 void signalSynchSettingWithAgxInstance();
68 void signalRenderSettingsUpdated();
71 void connectSignals();
73 bool hasParticleUtil();
74 bool hasValidColoring();
75 void updateEnableLegendSettings();
78 void slotMinVelEditFinished();
79 void slotMaxVelEditFinished();
80 void slotAlphaSliderChanged(
int val );
81 void slotLegendSliderChanged(
int val);
82 void slotLegendOrientationChanged(
int index );
83 void slotAutoPlaceLegendCheckBox(
bool enable );
84 void slotLegendPosEditFinished();
86 void slotMinNetworkForceEditFinished();
87 void slotMaxNetworkForceEditFinished();
88 void slotImpactEnergyEditFinished();
90 void slotColorSelectionChanged(
int);
91 void slotPositionSliderChanged(
int);
92 void slotSamplingEditFinished();
93 void slotParticleFilterModeChanged(
int);
94 void slotFilterThresholdScalarEditFinished();
96 void slotParticleContactNetworkCheckBox(
bool enable);
97 void slotParticleTrajectoriesCheckBox(
bool enable);
98 void slotLimitToAnalysisBoxCheckBox(
bool enable);
99 void slotParticleRenderingCheckBox(
bool enable);
100 void slotImpactGeometryParticleCheckBox(
bool enable);
101 void slotImpactParticleParticleCheckBox(
bool enable);
102 void slotShowColorLegendCheckBox(
bool enable);
110 Ui::ParticleRenderWidget* m_ui;
119 #endif // QT_VIDEOSETTINGS_WIDGET
Contains classes/utility functions for connecting AGX to QT with OSG.
agx::String getSelectedParticleFilterModeName() const
Class that wraps SimulationController with an interface that enables QT Gui signals to control the si...