AGX Dynamics  2.38.0.2
QtAgxWrapper.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_QTAGXWRAPPER_H
18 #define AGXQT_QTAGXWRAPPER_H
19 
20 #include <agx/config/AGX_USE_PYTHON.h>
21 #include <agxQt/export.h>
22 #include <agx/Math.h>
23 
24 #include <agx/PushDisableWarnings.h> // Disabling warnings. Include agx/PopDisableWarnings.h below!
25 #include <QTimer>
26 #include <QObject>
27 #include <QElapsedTimer>
28 #include <osgGA/TrackballManipulator>
29 #include <osgGA/StateSetManipulator>
30 #include <osgViewer/ViewerEventHandlers>
31 #include <osgViewer/Renderer>
32 #include <agx/PopDisableWarnings.h> // End of disabled warnings.
33 
34 #include <agxQt/UtilWidgets.h>
35 #include <agxQt/QtOSGUtils.h>
36 #include <agxQt/export.h>
37 #include <agxQt/VideoCapture.h>
38 #include <agxQt/CameraViewSet.h>
39 
41 #include <agxCFG/ConfigScript.h>
42 #include <agx/ConfigSingleton.h>
43 #include <agxIO/ArgumentParser.h>
45 #include <agxSDK/Simulation.h>
46 
48 #include <agx/Journal.h>
49 #include <agx/AnalysisBox.h>
50 
51 #include <agxOSG/RenderProxy.h>
52 #include <agxOSG/DepthPeeling.h>
53 #include <agxOSG/ClipPlane.h>
56 
57 
58 namespace agxPython
59 {
60  class ScriptManager;
61 }
62 
63 namespace agxQt
64 {
65  class QtAgxWrapperStepCallback;
70  class AGXQT_EXPORT QtAgxWrapper : public QObject, public agx::Referenced
71  {
72  Q_OBJECT
73 
74  friend class QtAgxWrapperStepCallback;
75  friend class agxQt::VideoCapture;
76 
77  public:
78  // Convenience enum for mapping background color to int
80  {
81  GRAY_GRADIENT=0,
82  WHITE=1,
83  WHITE_GRADIENT=2,
84  SKY_BLUE=3,
85  LIGHT_BLUE = 4,
86  BLACK=5,
87  NUM_COLORS=6
88  };
89 
90  public:
91  QtAgxWrapper();
92 
94  bool init(osgViewer::Viewer* viewer, agxIO::ArgumentParser* arguments);
95 
97  bool loadFile(const std::string& filename);
98 
100  void reloadActiveScene();
101 
103  void setViewer(osgViewer::Viewer* viewer);
104  osgViewer::Viewer* getViewer();
105 
107  void setScene(osg::Group* scene);
108  osg::Group* getScene();
109 
111  agxOSG::SceneDescription getSceneDescription() const { return m_sceneDescription; }
112 
114  agxOSG::SceneDecorator* getSceneDecorator();
115 
117  agxQt::OsgCameraViewManager* getCameraViewManager();
118 
119  // Return the particle render utils object
120  agxQt::ParticleSystemRenderUtility* getParticleRenderUtillity();
121 
122  // Return the trajectory renderer
123  agxQt::TrajectoryRenderer* getTrajectoryRenderer();
124 
126  void setTimeStep(float dt);
127 
129  agx::TimeStamp getTimeStamp();
130 
132  static agxSDK::SimulationController* getActiveSimulation();
133 
135  agx::Vec2u getRenderWindowSize() const;
136 
138  void startCapture();
139  void stopCapture();
140 
142  void takeScreenShot();
143 
145  bool saveSimulationState(const std::string& filename);
146 
148  bool writeCameraViewsToFile(const std::string& filename);
149 
150  agxQt::VideoCapture* getVideoCapture();
151 
152  agxSDK::Simulation* getSimulation();
153 
154  agx::String getCurrentSessionName() const;
155 
156  bool isSimulationRunning() const;
157 
158  agx::AnalysisBox* getAnalysisBox();
159 
160  agxOSG::ClipPlane* getClipPlane();
161  agxQt::ClipPlaneController* getClipPlaneController();
162 
163  agxQt::MeasurementAxesController* getAxesController();
164 
165  bool journalContainsImpactData();
166 
167  bool attachScripts(osg::Group*root);
168 
169  void finalizeAndResetVideoCapture();
170 
171  agx::Real getSimulationUpdateTimeStep();
172 
173  osg::Group* getRoot() { return m_root; }
174 
175  agxOSG::RigidBodyRenderCache* getRenderCache();
176 
177  void setCameraViewDirection( const agx::Vec3& direction );
178 
179  void incrementOrthographicProjection( agx::Real increment );
180 
181  void addGLCameraSynchronizationtoPreCallback(osg::Camera* camera);
182 
183  signals:
184  // simulation
185  void signalSimulationUpdate(float timeStamp);
186  void signalNewPlayback(float timeStart, float timeEnd, uint numFrames);
187  void signalNewSimulation();
188  void signalSimulationPause();
189  void signalJournalTrackReachedEnd();
190  void signalJournalContainsImpactData(bool hasData);
191 
192  void signalUpdateSimulationStructure();
193 
194  void signalActiveCameraViewChanged();
195 
196  // Renderer
197  void signalRenderUpdate();
198 
199  void signalNewSimulationLoaded();
200 
201  public slots:
202  // The main loop of the wrapper
203  void slotUpdateLoop();
204 
205  // Play control
206  void slotPauseSimulation();
207  void slotPlaySimulation();
208  void slotStepForwardSimulation();
209  void slotStepBackSimulation();
210  void slotStopSimulation();
211  void slotChangeSimulationTime(float);
212  void slotJumpToEnd();
213  void slotJumpToStart();
214  void slotSetJournalStride(uint stride);
215  void slotEnableJournalLooping(bool enable);
216 
217  // OSG
218  void slotEnableDebugRenderMode(bool);
219  void slotEnableOSGRenderMode(bool);
220  void slotEnbleDrawStatistics(bool);
221  void slotChangeDrawMode(int mode);
222  void slotCenterScene();
223  void slotChangeParticleShaderMode(int mode);
224  void slotChangeAlpha(agx::Real alpha);
225  void slotSetEnableShaders(bool enable);
226  void slotChangeBackgroundColor( int mode );
227  void slotSetEnableRenderDataRendering(bool enable);
228  void slotSetEnableCollisionDataRendering(bool enable);
229  void slotMoveLightToLookAt();
230  void slotUpdateAnalysisBoxDrawable();
231  void slotUpdateClipplingPlaneDrawable();
232  void slotUpdateAxesDrawable();
233  void slotHandleStopSimulation();
234 
235  // Camera functions
236  void slotIncrementCamera();
237  void slotDecrementCamera();
238  void slotStoreCurrentViewInCameraSet();
239  void slotSetViewFromActiveCameraDescription();
240  void slotIncrementClipPlane();
241  void slotDecrementClipPlane();
242  void setEnableOrthographicCamera(bool enable);
243  void slotIncrementOrthographicZoom();
244  void slotDecrementOrthographicZoom();
245 
246  // Simulation
247  void stepSimulation();
248  void slotClearSimulation();
249  void slotReloadSimulation();
250  void slotUpdateSpace();
251 
252  private:
253  bool initPythonContext(agxPython::ScriptManager* scriptManager, osg::Group* root);
254 
255  protected:
256  virtual ~QtAgxWrapper();
257  void loadDefaultCameraConfig(const agx::String& filename);
258  void setSceneDescription(const agxOSG::SceneDescription& desc);
259  void lockSimulationAndTriggerEvents(); // See comments in function to see purpose
260  void handleArguments(agxIO::ArgumentParser* arguments);
261  void handleFileNameArguments(agxIO::ArgumentParser* arguments);
262  void journalPlayback(const std::string& journalPlaybackPath, const std::string asessionName = "");
263  void clearJournalSessionData();
264  void journalSceneLoader(const agx::String& path);
265  void journalRenderLoader(agxSDK::Assembly* assembly, bool keyFrame);
266  bool restoreFromFile(const std::string& file);
267  bool executePythonScript(const agx::String& file, const agx::String& function);
268  bool executeMPyScript(const agx::String& file, osg::Group *root);
269  void initSimulationController();
270  void setupViewer();
271  void fitSceneIntoView();
272  void clearSimulation();
273  void clearScene();
274  bool loadActiveScene();
275  osg::Group* createScene(const agxOSG::SceneDescription& desc, bool &success);
276  bool readCFGFile();
277  void setupUpdateLoop();
278  void handleJournalLooping();
279  bool playbackIsAtEnd();
280  void setupPostProcessor();
281  void setEnableDataRenderFlag(bool enable, agxOSG::GeometryNode::RenderFlag flag);
282  void updateAnalysisBox();
283  void triggetStopInScripts();
284 
286  static void setActiveSimulationController(agxSDK::SimulationController* controller);
287 
289  // Variables
291  private:
292  agx::Block m_waitForSimulationStepBlock;
293 
294  protected:
295  agxSDK::SimulationControllerRef m_simulationController;
296 
297  agxCFG::ConfigScriptRef m_settings;
300  std::string m_pythonFilePath;
301 
302  // Journal session related variables
304  std::string m_journalSessionName;
306 
307  std::string m_cfgFileName;
308 
312 
313  // Image capture
315 
316  // Camera handler
318 
319  // Particle post processing
321  // Trajectory Renderer
323 
324  // Analysis Box
326  osg::ref_ptr<osg::Group> m_analysisBoxDrawable;
327 
328  // Clip Plane
329  osg::ref_ptr < agxOSG::ClipPlane > m_clipPlane;
331  osg::ref_ptr<osg::Group> m_clipPlaneDrawable;
332 
333  osg::ref_ptr<osg::Group> m_axesDrawable;
335 
336  // OSG variables
339  osg::ref_ptr<osgViewer::Viewer> m_viewer;
340  osg::ref_ptr<agxOSG::SceneDecorator> m_decorator;
341  osg::ref_ptr<agxOSG::GuiEventAdapter> m_eventAdapter;
342  osg::ref_ptr<osg::Group> m_root;
343  osg::ref_ptr<osg::Group> m_postProcessRoot;
344  osg::ref_ptr<osg::Group> m_sceneRoot;
345  osg::ref_ptr<osg::Group> m_scene;
346  osg::ref_ptr<osg::Switch> m_sceneSwitch;
347  osg::ref_ptr<osgGA::StateSetManipulator> m_ssm;
350 
352 
353  // Static pointer to active simulation that is used to lock simulation while viewer is rendering the scene.
354  static agxSDK::SimulationController* s_activeController;
357  };
358 
359  // Implementation
360  AGX_FORCE_INLINE void QtAgxWrapper::setViewer(osgViewer::Viewer* viewer) { m_viewer = viewer; }
361 
362  AGX_FORCE_INLINE osgViewer::Viewer* QtAgxWrapper::getViewer() { return m_viewer; }
363 
365 
367 
368  AGX_FORCE_INLINE void QtAgxWrapper::setScene(osg::Group* scene) { m_scene = scene; }
369 
370  AGX_FORCE_INLINE void QtAgxWrapper::setTimeStep(float dt) { m_simulationController->getSimulation()->setTimeStep(dt); }
371 
372  AGX_FORCE_INLINE osg::Group* QtAgxWrapper::getScene() { return m_scene.get(); }
373 
374  AGX_FORCE_INLINE agxSDK::SimulationController* QtAgxWrapper::getActiveSimulation() { return s_activeController; }
375 
376  AGX_FORCE_INLINE void QtAgxWrapper::setActiveSimulationController(agxSDK::SimulationController* controller) { s_activeController = controller; }
377 
379 
381 
383 
385 
387 
389 }
390 
391 #endif
QtOSGUtils.h
SimulationController.h
ConfigSingleton.h
agxQt::QtAgxWrapper::m_viewer
osg::ref_ptr< osgViewer::Viewer > m_viewer
Definition: QtAgxWrapper.h:339
agx::UInt
uint64_t UInt
Definition: Integer.h:27
agxQt::QtAgxWrapper::m_GlLights
agxGL::LightsRef m_GlLights
Definition: QtAgxWrapper.h:349
agxQt::QtAgxWrapper::m_currentCaptureFolder
std::string m_currentCaptureFolder
Definition: QtAgxWrapper.h:305
GranularImpactsDrawable.h
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
agxQt::QtAgxWrapper
Class that wraps SimulationController with an interface that enables QT Gui signals to control the si...
Definition: QtAgxWrapper.h:70
agxQt::OsgCameraViewManager
Manager class that acts as a wrapper container for the CameravViewset class for OSG based view system...
Definition: CameraViewSet.h:196
agxQt::QtAgxWrapper::m_axesDrawable
osg::ref_ptr< osg::Group > m_axesDrawable
Definition: QtAgxWrapper.h:333
agx::Vector< AgXString< std::string > >
agxQt::QtAgxWrapper::setActiveSimulationController
static void setActiveSimulationController(agxSDK::SimulationController *controller)
Static helper function to get active simulation controller so that other classes can lock the active ...
Definition: QtAgxWrapper.h:376
agxQt::QtAgxWrapper::m_trajectoryRenderer
TrajectoryRendererRef m_trajectoryRenderer
Definition: QtAgxWrapper.h:322
agxPython
Definition: QtAgxWrapper.h:58
Simulation.h
agxQt::QtAgxWrapper::getViewer
osgViewer::Viewer * getViewer()
Definition: QtAgxWrapper.h:362
agxQt::QtAgxWrapper::m_sceneRoot
osg::ref_ptr< osg::Group > m_sceneRoot
Definition: QtAgxWrapper.h:344
UtilWidgets.h
agxQt::QtAgxWrapper::m_clipPlane
osg::ref_ptr< agxOSG::ClipPlane > m_clipPlane
Definition: QtAgxWrapper.h:329
agxQt::QtAgxWrapper::m_simulationPaused
bool m_simulationPaused
Definition: QtAgxWrapper.h:310
agxQt::QtAgxWrapper::m_renderProxyFactory
agxOSG::RenderProxyFactory * m_renderProxyFactory
Definition: QtAgxWrapper.h:338
ClipPlane.h
agxQt::QtAgxWrapper::m_decorator
osg::ref_ptr< agxOSG::SceneDecorator > m_decorator
Definition: QtAgxWrapper.h:340
agx::AnalysisBox
Class that can be used to extract data from elements in a simulation within a specified bound.
Definition: AnalysisBox.h:32
VideoCapture.h
agxQt::QtAgxWrapper::m_clipPlaneController
agxQt::ClipPlaneControllerRef m_clipPlaneController
Definition: QtAgxWrapper.h:330
agxQt::QtAgxWrapper::getAnalysisBox
agx::AnalysisBox * getAnalysisBox()
Definition: QtAgxWrapper.h:388
agxQt::ClipPlaneController
Class that is used to manipulate the clip plane in the scene.
Definition: QtOSGUtils.h:83
export.h
agxQt::ParticleSystemRenderUtility
This utility class is used for post processing of the particle system drawable representation,...
Definition: QtOSGUtils.h:353
agxQt::QtAgxWrapper::setViewer
void setViewer(osgViewer::Viewer *viewer)
Set the viewer to sync the simulation content to.
Definition: QtAgxWrapper.h:360
agxQt::QtAgxWrapper::m_scene
osg::ref_ptr< osg::Group > m_scene
Definition: QtAgxWrapper.h:345
agx::Block
Block synchronization primitive.
Definition: ThreadSynchronization.h:96
agxSDK::Assembly
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
Definition: Assembly.h:67
agxQt::QtAgxWrapper::getCameraViewManager
agxQt::OsgCameraViewManager * getCameraViewManager()
Get the camera view manager.
Definition: QtAgxWrapper.h:380
agxOSG::SceneDecorator
Decorates a scene with a specific AGX Rendering Style.
Definition: SceneDecorator.h:62
agxQt::QtAgxWrapper::m_renderBodyCache
agxOSG::RigidBodyRenderCacheRef m_renderBodyCache
Definition: QtAgxWrapper.h:351
agxQt::QtAgxWrapper::m_journalSessionName
std::string m_journalSessionName
Definition: QtAgxWrapper.h:304
agxQt::QtAgxWrapper::setTimeStep
void setTimeStep(float dt)
Set the time step used in the simulation.
Definition: QtAgxWrapper.h:370
agx::ref_ptr< VideoCapture >
agxSDK::Simulation
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Definition: Simulation.h:125
agxQt::QtAgxWrapper::m_videoCapture
agxQt::VideoCaptureRef m_videoCapture
Definition: QtAgxWrapper.h:314
Math.h
agxQt::QtAgxWrapper::m_journalStride
agx::UInt m_journalStride
Definition: QtAgxWrapper.h:303
agxQt::QtAgxWrapper::getRoot
osg::Group * getRoot()
Definition: QtAgxWrapper.h:173
PushDisableWarnings.h
agxQt::VideoCapture::startCapture
void startCapture()
Starts or resumes the video capture.
agxQt::QtAgxWrapper::m_sceneSwitch
osg::ref_ptr< osg::Switch > m_sceneSwitch
Definition: QtAgxWrapper.h:346
Journal.h
agxQt::QtAgxWrapper::getSimulation
agxSDK::Simulation * getSimulation()
Definition: QtAgxWrapper.h:366
agxQt::QtAgxWrapper::getScene
osg::Group * getScene()
Definition: QtAgxWrapper.h:372
agxQt::QtAgxWrapper::m_loopJournal
bool m_loopJournal
Definition: QtAgxWrapper.h:311
agxQt::QtAgxWrapper::m_initalized
bool m_initalized
Definition: QtAgxWrapper.h:309
agx::Vec2T< UInt >
agxQt::QtAgxWrapper::m_ssm
osg::ref_ptr< osgGA::StateSetManipulator > m_ssm
Definition: QtAgxWrapper.h:347
agxQt::QtAgxWrapper::m_pythonFilePath
std::string m_pythonFilePath
Definition: QtAgxWrapper.h:300
agxQt::QtAgxWrapper::BACKGROUND_COLOR
BACKGROUND_COLOR
Definition: QtAgxWrapper.h:79
agxQt::TrajectoryRenderer
Definition: QtOSGUtils.h:258
agxQt::QtAgxWrapper::m_cameraManager
OsgCameraViewManagerRef m_cameraManager
Definition: QtAgxWrapper.h:317
agxQt::QtAgxWrapper::getSceneDescription
agxOSG::SceneDescription getSceneDescription() const
Returns the description of the active scene.
Definition: QtAgxWrapper.h:111
agxOSG::ClipPlane
This class wraps the ClipPlane functionality of osg together with a clip node and a clip plane.
Definition: ClipPlane.h:43
agx::root
AGXCORE_EXPORT Component * root()
agxQt::QtAgxWrapper::m_updates
int m_updates
Definition: QtAgxWrapper.h:356
agxQt::QtAgxWrapper::s_activeController
static agxSDK::SimulationController * s_activeController
Definition: QtAgxWrapper.h:354
agxQt::QtAgxWrapper::setScene
void setScene(osg::Group *scene)
Returns pointer to osg structure of the scene.
Definition: QtAgxWrapper.h:368
agxQt::QtAgxWrapper::getParticleRenderUtillity
agxQt::ParticleSystemRenderUtility * getParticleRenderUtillity()
Definition: QtAgxWrapper.h:382
agxQt::VideoCapture::stopCapture
void stopCapture()
Pauses the video capture, if active.
agx::Referenced
Base class providing referencing counted objects.
Definition: Referenced.h:119
agxOSG::RigidBodyRenderCache
RigidBodyRenderCache is used to cache generated visuals and lookup mappings of RigidBodies cloned fro...
Definition: RigidBodyRenderCache.h:36
agxQt::QtAgxWrapper::m_analysisBox
agx::AnalysisBoxRef m_analysisBox
Definition: QtAgxWrapper.h:325
agxQt::QtAgxWrapper::m_simulationController
agxSDK::SimulationControllerRef m_simulationController
Definition: QtAgxWrapper.h:295
agxQt::VideoCapture
Definition: agxQt/VideoCapture.h:41
SimulationObject.h
agxQt::QtAgxWrapper::getSceneDecorator
agxOSG::SceneDecorator * getSceneDecorator()
Get Scene decorator.
Definition: QtAgxWrapper.h:364
agxQt::QtAgxWrapper::m_cfgFileName
std::string m_cfgFileName
Definition: QtAgxWrapper.h:307
agx::TimeStamp
agx::Real TimeStamp
Definition: TimeStamp.h:26
agxQt::QtAgxWrapper::m_GlCamera
agxGL::CameraRef m_GlCamera
Definition: QtAgxWrapper.h:348
AnalysisBox.h
agxQt::QtAgxWrapper::getActiveSimulation
static agxSDK::SimulationController * getActiveSimulation()
Returns the active simulation in the wrapper. This is kind of a "hack" to let the renderer get a simu...
Definition: QtAgxWrapper.h:374
ArgumentParser.h
agxQt::QtAgxWrapper::m_sceneDescription
agxOSG::SceneDescription m_sceneDescription
Definition: QtAgxWrapper.h:298
agx::AgXString< std::string >
agxQt::QtAgxWrapper::m_clipPlaneDrawable
osg::ref_ptr< osg::Group > m_clipPlaneDrawable
Definition: QtAgxWrapper.h:331
agx::init
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API.
agxQt::QtAgxWrapper::m_axesController
agxQt::MeasurementAxesControllerRef m_axesController
Definition: QtAgxWrapper.h:334
agxQt::MeasurementAxesController
Class that is used to manipulate the axes in the scene.
Definition: QtOSGUtils.h:140
agxOSG::GeometryNode::RenderFlag
RenderFlag
Definition: GeometryNode.h:45
SimulationDrawable.h
agxQt::QtAgxWrapper::getTrajectoryRenderer
agxQt::TrajectoryRenderer * getTrajectoryRenderer()
Definition: QtAgxWrapper.h:384
agx::Vec3T
A class holding 3 dimensional vectors and providing basic arithmetic.
Definition: Vec3Template.h:45
CameraViewSet.h
agxQt::QtAgxWrapper::m_settings
agxCFG::ConfigScriptRef m_settings
Definition: QtAgxWrapper.h:297
agxQt::QtAgxWrapper::setSceneDescription
void setSceneDescription(const agxOSG::SceneDescription &desc)
Definition: QtAgxWrapper.h:378
agxQt::QtAgxWrapper::m_updateTimer
QTimer m_updateTimer
Definition: QtAgxWrapper.h:355
DepthPeeling.h
agxQt::QtAgxWrapper::m_analysisBoxDrawable
osg::ref_ptr< osg::Group > m_analysisBoxDrawable
Definition: QtAgxWrapper.h:326
agxOSG::RenderProxyFactory
Implementation of the abstract class from the agxRender namespace, this class is responsible for crea...
Definition: agxOSG/RenderProxy.h:74
ExampleApplication.h
agxQt::QtAgxWrapper::m_eventAdapter
osg::ref_ptr< agxOSG::GuiEventAdapter > m_eventAdapter
Definition: QtAgxWrapper.h:341
agxOSG::SceneDescription
A pod-struct for holding information about scenes to load by the application.
Definition: ExampleApplication.h:120
agxQt::QtAgxWrapper::m_postProcessRoot
osg::ref_ptr< osg::Group > m_postProcessRoot
Definition: QtAgxWrapper.h:343
agxQt::QtAgxWrapper::isSimulationRunning
bool isSimulationRunning() const
Definition: QtAgxWrapper.h:386
AGX_FORCE_INLINE
#define AGX_FORCE_INLINE
Definition: macros.h:58
agxQt::QtAgxWrapper::m_root
osg::ref_ptr< osg::Group > m_root
Definition: QtAgxWrapper.h:342
agxQt::QtAgxWrapper::m_attachedScripts
agx::StringVector m_attachedScripts
Definition: QtAgxWrapper.h:299
agxQt::QtAgxWrapper::m_pickHandler
agxOSG::PickHandlerRef m_pickHandler
Definition: QtAgxWrapper.h:337
agxIO::ArgumentParser
A small argument parser class.
Definition: ArgumentParser.h:38
agx::ref_ptr::get
T * get() const
Definition: ref_ptr.h:256
agxQt::QtAgxWrapper::m_particleRenderUtil
ParticleSystemRenderUtilityRef m_particleRenderUtil
Definition: QtAgxWrapper.h:320
PopDisableWarnings.h
RenderProxy.h