AGX Dynamics  2.37.3.2
agxQt::QtAgxWrapper Class Reference

Class that wraps SimulationController with an interface that enables QT Gui signals to control the simulation controller and it's contents. More...

#include <QtAgxWrapper.h>

+ Inheritance diagram for agxQt::QtAgxWrapper:

Public Types

enum  BACKGROUND_COLOR {
  GRAY_GRADIENT =0, WHITE =1, WHITE_GRADIENT =2, SKY_BLUE =3,
  LIGHT_BLUE = 4, BLACK =5, NUM_COLORS =6
}
 

Public Slots

void setEnableOrthographicCamera (bool enable)
 
void slotCenterScene ()
 
void slotChangeAlpha (agx::Real alpha)
 
void slotChangeBackgroundColor (int mode)
 
void slotChangeDrawMode (int mode)
 
void slotChangeParticleShaderMode (int mode)
 
void slotChangeSimulationTime (float)
 
void slotClearSimulation ()
 
void slotDecrementCamera ()
 
void slotDecrementClipPlane ()
 
void slotDecrementOrthographicZoom ()
 
void slotEnableDebugRenderMode (bool)
 
void slotEnableJournalLooping (bool enable)
 
void slotEnableOSGRenderMode (bool)
 
void slotEnbleDrawStatistics (bool)
 
void slotHandleStopSimulation ()
 
void slotIncrementCamera ()
 
void slotIncrementClipPlane ()
 
void slotIncrementOrthographicZoom ()
 
void slotJumpToEnd ()
 
void slotJumpToStart ()
 
void slotMoveLightToLookAt ()
 
void slotPauseSimulation ()
 
void slotPlaySimulation ()
 
void slotReloadSimulation ()
 
void slotSetEnableCollisionDataRendering (bool enable)
 
void slotSetEnableRenderDataRendering (bool enable)
 
void slotSetEnableShaders (bool enable)
 
void slotSetJournalStride (uint stride)
 
void slotSetViewFromActiveCameraDescription ()
 
void slotStepBackSimulation ()
 
void slotStepForwardSimulation ()
 
void slotStopSimulation ()
 
void slotStoreCurrentViewInCameraSet ()
 
void slotUpdateAnalysisBoxDrawable ()
 
void slotUpdateClipplingPlaneDrawable ()
 
void slotUpdateLoop ()
 
void slotUpdateSpace ()
 
void stepSimulation ()
 

Signals

void signalActiveCameraViewChanged ()
 
void signalJournalContainsImpactData (bool hasData)
 
void signalJournalTrackReachedEnd ()
 
void signalNewPlayback (float timeStart, float timeEnd, uint numFrames)
 
void signalNewSimulation ()
 
void signalNewSimulationLoaded ()
 
void signalRenderUpdate ()
 
void signalSimulationPause ()
 
void signalSimulationUpdate (float timeStamp)
 
void signalUpdateSimulationStructure ()
 

Public Member Functions

 QtAgxWrapper ()
 
bool attachScripts (osg::Group *root)
 
void finalizeAndResetVideoCapture ()
 
agx::AnalysisBox * getAnalysisBox ()
 
agxQt::OsgCameraViewManager * getCameraViewManager ()
 Get the camera view manager. More...
 
agxOSG::ClipPlane * getClipPlane ()
 
agxQt::ClipPlaneController * getClipPlaneController ()
 
agx::String getCurrentSessionName () const
 
agxQt::ParticleSystemRenderUtility * getParticleRenderUtillity ()
 
agxOSG::RigidBodyRenderCache * getRenderCache ()
 
agx::Vec2u getRenderWindowSize () const
 Returns the size of the render window. More...
 
osg::Group * getRoot ()
 
osg::Group * getScene ()
 
agxOSG::SceneDecorator * getSceneDecorator ()
 Get Scene decorator. More...
 
agxOSG::SceneDescription getSceneDescription () const
 Returns the description of the active scene. More...
 
agxSDK::Simulation * getSimulation ()
 
agx::Real getSimulationUpdateTimeStep ()
 
agx::TimeStamp getTimeStamp ()
 Get the current timestamp of the simulation. More...
 
agxQt::TrajectoryRenderer * getTrajectoryRenderer ()
 
agxQt::VideoCapture * getVideoCapture ()
 
osgViewer::Viewer * getViewer ()
 
void incrementOrthographicProjection (agx::Real increment)
 
bool init (osgViewer::Viewer *viewer, agxIO::ArgumentParser *arguments)
 Init. More...
 
bool isSimulationRunning () const
 
bool journalContainsImpactData ()
 
bool loadFile (const std::string &filename)
 Loads a file into the wrapper. More...
 
void reloadActiveScene ()
 Reloads the active loaded scene. More...
 
bool saveSimulationState (const std::string &filename)
 Save simulation state to file. More...
 
void setCameraViewDirection (const agx::Vec3 &direction)
 
void setScene (osg::Group *scene)
 Returns pointer to osg structure of the scene. More...
 
void setTimeStep (float dt)
 Set the time step used in the simulation. More...
 
void setViewer (osgViewer::Viewer *viewer)
 Set the viewer to sync the simulation content to. More...
 
void startCapture ()
 Image capturing for video. More...
 
void stopCapture ()
 
void takeScreenShot ()
 Take screenshot. More...
 
bool writeCameraViewsToFile (const std::string &filename)
 Save the active camera view set to a file. More...
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor. More...
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting. More...
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match. More...
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test. More...
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object. More...
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 

Static Public Member Functions

static agxSDK::SimulationController * getActiveSimulation ()
 Returns the active simulation in the wrapper. This is kind of a "hack" to let the renderer get a simulation lock to sync rendering with stepping. More...
 
- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 

Protected Member Functions

virtual ~QtAgxWrapper ()
 
void clearJournalSessionData ()
 
void clearScene ()
 
void clearSimulation ()
 
osg::Group * createScene (const agxOSG::SceneDescription &desc, bool &success)
 
bool executeMPyScript (const agx::String &file, osg::Group *root)
 
bool executePythonScript (const agx::String &file, const agx::String &function)
 
void fitSceneIntoView ()
 
void handleArguments (agxIO::ArgumentParser *arguments)
 
void handleFileNameArguments (agxIO::ArgumentParser *arguments)
 
void handleJournalLooping ()
 
void initSimulationController ()
 
void journalPlayback (const std::string &journalPlaybackPath, const std::string asessionName="")
 
void journalRenderLoader (agxSDK::Assembly *assembly, bool keyFrame)
 
void journalSceneLoader (const agx::String &path)
 
bool loadActiveScene ()
 
void loadDefaultCameraConfig (const agx::String &filename)
 
void lockSimulationAndTriggerEvents ()
 
bool playbackIsAtEnd ()
 
bool readCFGFile ()
 
bool restoreFromFile (const std::string &file)
 
void setEnableDataRenderFlag (bool enable, agxOSG::GeometryNode::RenderFlag flag)
 
void setSceneDescription (const agxOSG::SceneDescription &desc)
 
void setupPostProcessor ()
 
void setupUpdateLoop ()
 
void setupViewer ()
 
void triggetStopInScripts ()
 
void updateAnalysisBox ()
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor. More...
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 

Static Protected Member Functions

static void setActiveSimulationController (agxSDK::SimulationController *controller)
 Static helper function to get active simulation controller so that other classes can lock the active simulation. The osg renderer is such an example. More...
 
- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More...
 

Protected Attributes

agx::AnalysisBoxRef m_analysisBox
 
osg::ref_ptr< osg::Group > m_analysisBoxDrawable
 
agx::StringVector m_attachedScripts
 
OsgCameraViewManagerRef m_cameraManager
 
std::string m_cfgFileName
 
osg::ref_ptr< agxOSG::ClipPlane > m_clipPlane
 
agxQt::ClipPlaneControllerRef m_clipPlaneController
 
osg::ref_ptr< osg::Group > m_clipPlaneDrawable
 
std::string m_currentCaptureFolder
 
osg::ref_ptr< agxOSG::SceneDecorator > m_decorator
 
osg::ref_ptr< agxOSG::GuiEventAdapter > m_eventAdapter
 
agxGL::CameraRef m_GlCamera
 
agxGL::LightsRef m_GlLights
 
bool m_initalized
 
std::string m_journalSessionName
 
agx::UInt m_journalStride
 
bool m_loopJournal
 
ParticleSystemRenderUtilityRef m_particleRenderUtil
 
agxOSG::PickHandlerRef m_pickHandler
 
osg::ref_ptr< osg::Group > m_postProcessRoot
 
std::string m_pythonFilePath
 
agxOSG::RigidBodyRenderCacheRef m_renderBodyCache
 
agxOSG::RenderProxyFactory * m_renderProxyFactory
 
osg::ref_ptr< osg::Group > m_root
 
osg::ref_ptr< osg::Group > m_scene
 
agxOSG::SceneDescription m_sceneDescription
 
osg::ref_ptr< osg::Group > m_sceneRoot
 
osg::ref_ptr< osg::Switch > m_sceneSwitch
 
agxCFG::ConfigScriptRef m_settings
 
agxSDK::SimulationControllerRef m_simulationController
 
bool m_simulationPaused
 
osg::ref_ptr< osgGA::StateSetManipulator > m_ssm
 
TrajectoryRendererRef m_trajectoryRenderer
 
int m_updates
 
QTimer m_updateTimer
 
agxQt::VideoCaptureRef m_videoCapture
 
osg::ref_ptr< osgViewer::Viewer > m_viewer
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 

Static Protected Attributes

static agxSDK::SimulationController * s_activeController
 

Detailed Description

Class that wraps SimulationController with an interface that enables QT Gui signals to control the simulation controller and it's contents.

Definition at line 70 of file QtAgxWrapper.h.

Member Enumeration Documentation

◆ BACKGROUND_COLOR

Enumerator
GRAY_GRADIENT 
WHITE 
WHITE_GRADIENT 
SKY_BLUE 
LIGHT_BLUE 
BLACK 
NUM_COLORS 

Definition at line 79 of file QtAgxWrapper.h.

Constructor & Destructor Documentation

◆ QtAgxWrapper()

agxQt::QtAgxWrapper::QtAgxWrapper ( )

◆ ~QtAgxWrapper()

virtual agxQt::QtAgxWrapper::~QtAgxWrapper ( )
protectedvirtual

Member Function Documentation

◆ attachScripts()

bool agxQt::QtAgxWrapper::attachScripts ( osg::Group *  root)

◆ clearJournalSessionData()

void agxQt::QtAgxWrapper::clearJournalSessionData ( )
protected

◆ clearScene()

void agxQt::QtAgxWrapper::clearScene ( )
protected

◆ clearSimulation()

void agxQt::QtAgxWrapper::clearSimulation ( )
protected

◆ createScene()

osg::Group* agxQt::QtAgxWrapper::createScene ( const agxOSG::SceneDescription &  desc,
bool &  success 
)
protected

◆ executeMPyScript()

bool agxQt::QtAgxWrapper::executeMPyScript ( const agx::String &  file,
osg::Group *  root 
)
protected

◆ executePythonScript()

bool agxQt::QtAgxWrapper::executePythonScript ( const agx::String &  file,
const agx::String &  function 
)
protected

◆ finalizeAndResetVideoCapture()

void agxQt::QtAgxWrapper::finalizeAndResetVideoCapture ( )

◆ fitSceneIntoView()

void agxQt::QtAgxWrapper::fitSceneIntoView ( )
protected

◆ getActiveSimulation()

agxSDK::SimulationController * agxQt::QtAgxWrapper::getActiveSimulation ( )
static

Returns the active simulation in the wrapper. This is kind of a "hack" to let the renderer get a simulation lock to sync rendering with stepping.

Definition at line 366 of file QtAgxWrapper.h.

◆ getAnalysisBox()

agx::AnalysisBox * agxQt::QtAgxWrapper::getAnalysisBox ( )

Definition at line 380 of file QtAgxWrapper.h.

◆ getCameraViewManager()

agxQt::OsgCameraViewManager * agxQt::QtAgxWrapper::getCameraViewManager ( )

Get the camera view manager.

Definition at line 372 of file QtAgxWrapper.h.

◆ getClipPlane()

agxOSG::ClipPlane* agxQt::QtAgxWrapper::getClipPlane ( )

◆ getClipPlaneController()

agxQt::ClipPlaneController* agxQt::QtAgxWrapper::getClipPlaneController ( )

◆ getCurrentSessionName()

agx::String agxQt::QtAgxWrapper::getCurrentSessionName ( ) const

◆ getParticleRenderUtillity()

agxQt::ParticleSystemRenderUtility * agxQt::QtAgxWrapper::getParticleRenderUtillity ( )

Definition at line 374 of file QtAgxWrapper.h.

◆ getRenderCache()

agxOSG::RigidBodyRenderCache* agxQt::QtAgxWrapper::getRenderCache ( )

◆ getRenderWindowSize()

agx::Vec2u agxQt::QtAgxWrapper::getRenderWindowSize ( ) const

Returns the size of the render window.

◆ getRoot()

osg::Group* agxQt::QtAgxWrapper::getRoot ( )
inline

Definition at line 171 of file QtAgxWrapper.h.

◆ getScene()

osg::Group * agxQt::QtAgxWrapper::getScene ( )

Definition at line 364 of file QtAgxWrapper.h.

◆ getSceneDecorator()

agxOSG::SceneDecorator * agxQt::QtAgxWrapper::getSceneDecorator ( )

Get Scene decorator.

Definition at line 356 of file QtAgxWrapper.h.

◆ getSceneDescription()

agxOSG::SceneDescription agxQt::QtAgxWrapper::getSceneDescription ( ) const
inline

Returns the description of the active scene.

Definition at line 111 of file QtAgxWrapper.h.

References agx::root(), agxQt::VideoCapture::startCapture(), and agxQt::VideoCapture::stopCapture().

◆ getSimulation()

agxSDK::Simulation * agxQt::QtAgxWrapper::getSimulation ( )

Definition at line 358 of file QtAgxWrapper.h.

◆ getSimulationUpdateTimeStep()

agx::Real agxQt::QtAgxWrapper::getSimulationUpdateTimeStep ( )

◆ getTimeStamp()

agx::TimeStamp agxQt::QtAgxWrapper::getTimeStamp ( )

Get the current timestamp of the simulation.

◆ getTrajectoryRenderer()

agxQt::TrajectoryRenderer * agxQt::QtAgxWrapper::getTrajectoryRenderer ( )

Definition at line 376 of file QtAgxWrapper.h.

◆ getVideoCapture()

agxQt::VideoCapture* agxQt::QtAgxWrapper::getVideoCapture ( )

◆ getViewer()

osgViewer::Viewer * agxQt::QtAgxWrapper::getViewer ( )

Definition at line 354 of file QtAgxWrapper.h.

◆ handleArguments()

void agxQt::QtAgxWrapper::handleArguments ( agxIO::ArgumentParser *  arguments)
protected

◆ handleFileNameArguments()

void agxQt::QtAgxWrapper::handleFileNameArguments ( agxIO::ArgumentParser *  arguments)
protected

◆ handleJournalLooping()

void agxQt::QtAgxWrapper::handleJournalLooping ( )
protected

◆ incrementOrthographicProjection()

void agxQt::QtAgxWrapper::incrementOrthographicProjection ( agx::Real  increment)

◆ init()

bool agxQt::QtAgxWrapper::init ( osgViewer::Viewer *  viewer,
agxIO::ArgumentParser *  arguments 
)

Init.

◆ initSimulationController()

void agxQt::QtAgxWrapper::initSimulationController ( )
protected

◆ isSimulationRunning()

bool agxQt::QtAgxWrapper::isSimulationRunning ( ) const

Definition at line 378 of file QtAgxWrapper.h.

◆ journalContainsImpactData()

bool agxQt::QtAgxWrapper::journalContainsImpactData ( )

◆ journalPlayback()

void agxQt::QtAgxWrapper::journalPlayback ( const std::string &  journalPlaybackPath,
const std::string  asessionName = "" 
)
protected

◆ journalRenderLoader()

void agxQt::QtAgxWrapper::journalRenderLoader ( agxSDK::Assembly *  assembly,
bool  keyFrame 
)
protected

◆ journalSceneLoader()

void agxQt::QtAgxWrapper::journalSceneLoader ( const agx::String &  path)
protected

◆ loadActiveScene()

bool agxQt::QtAgxWrapper::loadActiveScene ( )
protected

◆ loadDefaultCameraConfig()

void agxQt::QtAgxWrapper::loadDefaultCameraConfig ( const agx::String &  filename)
protected

◆ loadFile()

bool agxQt::QtAgxWrapper::loadFile ( const std::string &  filename)

Loads a file into the wrapper.

◆ lockSimulationAndTriggerEvents()

void agxQt::QtAgxWrapper::lockSimulationAndTriggerEvents ( )
protected

◆ playbackIsAtEnd()

bool agxQt::QtAgxWrapper::playbackIsAtEnd ( )
protected

◆ readCFGFile()

bool agxQt::QtAgxWrapper::readCFGFile ( )
protected

◆ reloadActiveScene()

void agxQt::QtAgxWrapper::reloadActiveScene ( )

Reloads the active loaded scene.

◆ restoreFromFile()

bool agxQt::QtAgxWrapper::restoreFromFile ( const std::string &  file)
protected

◆ saveSimulationState()

bool agxQt::QtAgxWrapper::saveSimulationState ( const std::string &  filename)

Save simulation state to file.

◆ setActiveSimulationController()

void agxQt::QtAgxWrapper::setActiveSimulationController ( agxSDK::SimulationController *  controller)
staticprotected

Static helper function to get active simulation controller so that other classes can lock the active simulation. The osg renderer is such an example.

Definition at line 368 of file QtAgxWrapper.h.

◆ setCameraViewDirection()

void agxQt::QtAgxWrapper::setCameraViewDirection ( const agx::Vec3 &  direction)

◆ setEnableDataRenderFlag()

void agxQt::QtAgxWrapper::setEnableDataRenderFlag ( bool  enable,
agxOSG::GeometryNode::RenderFlag  flag 
)
protected

◆ setEnableOrthographicCamera

void agxQt::QtAgxWrapper::setEnableOrthographicCamera ( bool  enable)
slot

◆ setScene()

void agxQt::QtAgxWrapper::setScene ( osg::Group *  scene)

Returns pointer to osg structure of the scene.

Definition at line 360 of file QtAgxWrapper.h.

◆ setSceneDescription()

void agxQt::QtAgxWrapper::setSceneDescription ( const agxOSG::SceneDescription &  desc)
protected

Definition at line 370 of file QtAgxWrapper.h.

◆ setTimeStep()

void agxQt::QtAgxWrapper::setTimeStep ( float  dt)

Set the time step used in the simulation.

Definition at line 362 of file QtAgxWrapper.h.

◆ setupPostProcessor()

void agxQt::QtAgxWrapper::setupPostProcessor ( )
protected

◆ setupUpdateLoop()

void agxQt::QtAgxWrapper::setupUpdateLoop ( )
protected

◆ setupViewer()

void agxQt::QtAgxWrapper::setupViewer ( )
protected

◆ setViewer()

void agxQt::QtAgxWrapper::setViewer ( osgViewer::Viewer *  viewer)

Set the viewer to sync the simulation content to.

Definition at line 352 of file QtAgxWrapper.h.

◆ signalActiveCameraViewChanged

void agxQt::QtAgxWrapper::signalActiveCameraViewChanged ( )
signal

◆ signalJournalContainsImpactData

void agxQt::QtAgxWrapper::signalJournalContainsImpactData ( bool  hasData)
signal

◆ signalJournalTrackReachedEnd

void agxQt::QtAgxWrapper::signalJournalTrackReachedEnd ( )
signal

◆ signalNewPlayback

void agxQt::QtAgxWrapper::signalNewPlayback ( float  timeStart,
float  timeEnd,
uint  numFrames 
)
signal

◆ signalNewSimulation

void agxQt::QtAgxWrapper::signalNewSimulation ( )
signal

◆ signalNewSimulationLoaded

void agxQt::QtAgxWrapper::signalNewSimulationLoaded ( )
signal

◆ signalRenderUpdate

void agxQt::QtAgxWrapper::signalRenderUpdate ( )
signal

◆ signalSimulationPause

void agxQt::QtAgxWrapper::signalSimulationPause ( )
signal

◆ signalSimulationUpdate

void agxQt::QtAgxWrapper::signalSimulationUpdate ( float  timeStamp)
signal

◆ signalUpdateSimulationStructure

void agxQt::QtAgxWrapper::signalUpdateSimulationStructure ( )
signal

◆ slotCenterScene

void agxQt::QtAgxWrapper::slotCenterScene ( )
slot

◆ slotChangeAlpha

void agxQt::QtAgxWrapper::slotChangeAlpha ( agx::Real  alpha)
slot

◆ slotChangeBackgroundColor

void agxQt::QtAgxWrapper::slotChangeBackgroundColor ( int  mode)
slot

◆ slotChangeDrawMode

void agxQt::QtAgxWrapper::slotChangeDrawMode ( int  mode)
slot

◆ slotChangeParticleShaderMode

void agxQt::QtAgxWrapper::slotChangeParticleShaderMode ( int  mode)
slot

◆ slotChangeSimulationTime

void agxQt::QtAgxWrapper::slotChangeSimulationTime ( float  )
slot

◆ slotClearSimulation

void agxQt::QtAgxWrapper::slotClearSimulation ( )
slot

◆ slotDecrementCamera

void agxQt::QtAgxWrapper::slotDecrementCamera ( )
slot

◆ slotDecrementClipPlane

void agxQt::QtAgxWrapper::slotDecrementClipPlane ( )
slot

◆ slotDecrementOrthographicZoom

void agxQt::QtAgxWrapper::slotDecrementOrthographicZoom ( )
slot

◆ slotEnableDebugRenderMode

void agxQt::QtAgxWrapper::slotEnableDebugRenderMode ( bool  )
slot

◆ slotEnableJournalLooping

void agxQt::QtAgxWrapper::slotEnableJournalLooping ( bool  enable)
slot

◆ slotEnableOSGRenderMode

void agxQt::QtAgxWrapper::slotEnableOSGRenderMode ( bool  )
slot

◆ slotEnbleDrawStatistics

void agxQt::QtAgxWrapper::slotEnbleDrawStatistics ( bool  )
slot

◆ slotHandleStopSimulation

void agxQt::QtAgxWrapper::slotHandleStopSimulation ( )
slot

◆ slotIncrementCamera

void agxQt::QtAgxWrapper::slotIncrementCamera ( )
slot

◆ slotIncrementClipPlane

void agxQt::QtAgxWrapper::slotIncrementClipPlane ( )
slot

◆ slotIncrementOrthographicZoom

void agxQt::QtAgxWrapper::slotIncrementOrthographicZoom ( )
slot

◆ slotJumpToEnd

void agxQt::QtAgxWrapper::slotJumpToEnd ( )
slot

◆ slotJumpToStart

void agxQt::QtAgxWrapper::slotJumpToStart ( )
slot

◆ slotMoveLightToLookAt

void agxQt::QtAgxWrapper::slotMoveLightToLookAt ( )
slot

◆ slotPauseSimulation

void agxQt::QtAgxWrapper::slotPauseSimulation ( )
slot

◆ slotPlaySimulation

void agxQt::QtAgxWrapper::slotPlaySimulation ( )
slot

◆ slotReloadSimulation

void agxQt::QtAgxWrapper::slotReloadSimulation ( )
slot

◆ slotSetEnableCollisionDataRendering

void agxQt::QtAgxWrapper::slotSetEnableCollisionDataRendering ( bool  enable)
slot

◆ slotSetEnableRenderDataRendering

void agxQt::QtAgxWrapper::slotSetEnableRenderDataRendering ( bool  enable)
slot

◆ slotSetEnableShaders

void agxQt::QtAgxWrapper::slotSetEnableShaders ( bool  enable)
slot

◆ slotSetJournalStride

void agxQt::QtAgxWrapper::slotSetJournalStride ( uint  stride)
slot

◆ slotSetViewFromActiveCameraDescription

void agxQt::QtAgxWrapper::slotSetViewFromActiveCameraDescription ( )
slot

◆ slotStepBackSimulation

void agxQt::QtAgxWrapper::slotStepBackSimulation ( )
slot

◆ slotStepForwardSimulation

void agxQt::QtAgxWrapper::slotStepForwardSimulation ( )
slot

◆ slotStopSimulation

void agxQt::QtAgxWrapper::slotStopSimulation ( )
slot

◆ slotStoreCurrentViewInCameraSet

void agxQt::QtAgxWrapper::slotStoreCurrentViewInCameraSet ( )
slot

◆ slotUpdateAnalysisBoxDrawable

void agxQt::QtAgxWrapper::slotUpdateAnalysisBoxDrawable ( )
slot

◆ slotUpdateClipplingPlaneDrawable

void agxQt::QtAgxWrapper::slotUpdateClipplingPlaneDrawable ( )
slot

◆ slotUpdateLoop

void agxQt::QtAgxWrapper::slotUpdateLoop ( )
slot

◆ slotUpdateSpace

void agxQt::QtAgxWrapper::slotUpdateSpace ( )
slot

◆ startCapture()

void agxQt::QtAgxWrapper::startCapture ( )

Image capturing for video.

◆ stepSimulation

void agxQt::QtAgxWrapper::stepSimulation ( )
slot

◆ stopCapture()

void agxQt::QtAgxWrapper::stopCapture ( )

◆ takeScreenShot()

void agxQt::QtAgxWrapper::takeScreenShot ( )

Take screenshot.

◆ triggetStopInScripts()

void agxQt::QtAgxWrapper::triggetStopInScripts ( )
protected

◆ updateAnalysisBox()

void agxQt::QtAgxWrapper::updateAnalysisBox ( )
protected

◆ writeCameraViewsToFile()

bool agxQt::QtAgxWrapper::writeCameraViewsToFile ( const std::string &  filename)

Save the active camera view set to a file.

Member Data Documentation

◆ m_analysisBox

agx::AnalysisBoxRef agxQt::QtAgxWrapper::m_analysisBox
protected

Definition at line 320 of file QtAgxWrapper.h.

◆ m_analysisBoxDrawable

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_analysisBoxDrawable
protected

Definition at line 321 of file QtAgxWrapper.h.

◆ m_attachedScripts

agx::StringVector agxQt::QtAgxWrapper::m_attachedScripts
protected

Definition at line 294 of file QtAgxWrapper.h.

◆ m_cameraManager

OsgCameraViewManagerRef agxQt::QtAgxWrapper::m_cameraManager
protected

Definition at line 312 of file QtAgxWrapper.h.

◆ m_cfgFileName

std::string agxQt::QtAgxWrapper::m_cfgFileName
protected

Definition at line 302 of file QtAgxWrapper.h.

◆ m_clipPlane

osg::ref_ptr< agxOSG::ClipPlane > agxQt::QtAgxWrapper::m_clipPlane
protected

Definition at line 324 of file QtAgxWrapper.h.

◆ m_clipPlaneController

agxQt::ClipPlaneControllerRef agxQt::QtAgxWrapper::m_clipPlaneController
protected

Definition at line 325 of file QtAgxWrapper.h.

◆ m_clipPlaneDrawable

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_clipPlaneDrawable
protected

Definition at line 326 of file QtAgxWrapper.h.

◆ m_currentCaptureFolder

std::string agxQt::QtAgxWrapper::m_currentCaptureFolder
protected

Definition at line 300 of file QtAgxWrapper.h.

◆ m_decorator

osg::ref_ptr<agxOSG::SceneDecorator> agxQt::QtAgxWrapper::m_decorator
protected

Definition at line 332 of file QtAgxWrapper.h.

◆ m_eventAdapter

osg::ref_ptr<agxOSG::GuiEventAdapter> agxQt::QtAgxWrapper::m_eventAdapter
protected

Definition at line 333 of file QtAgxWrapper.h.

◆ m_GlCamera

agxGL::CameraRef agxQt::QtAgxWrapper::m_GlCamera
protected

Definition at line 340 of file QtAgxWrapper.h.

◆ m_GlLights

agxGL::LightsRef agxQt::QtAgxWrapper::m_GlLights
protected

Definition at line 341 of file QtAgxWrapper.h.

◆ m_initalized

bool agxQt::QtAgxWrapper::m_initalized
protected

Definition at line 304 of file QtAgxWrapper.h.

◆ m_journalSessionName

std::string agxQt::QtAgxWrapper::m_journalSessionName
protected

Definition at line 299 of file QtAgxWrapper.h.

◆ m_journalStride

agx::UInt agxQt::QtAgxWrapper::m_journalStride
protected

Definition at line 298 of file QtAgxWrapper.h.

◆ m_loopJournal

bool agxQt::QtAgxWrapper::m_loopJournal
protected

Definition at line 306 of file QtAgxWrapper.h.

◆ m_particleRenderUtil

ParticleSystemRenderUtilityRef agxQt::QtAgxWrapper::m_particleRenderUtil
protected

Definition at line 315 of file QtAgxWrapper.h.

◆ m_pickHandler

agxOSG::PickHandlerRef agxQt::QtAgxWrapper::m_pickHandler
protected

Definition at line 329 of file QtAgxWrapper.h.

◆ m_postProcessRoot

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_postProcessRoot
protected

Definition at line 335 of file QtAgxWrapper.h.

◆ m_pythonFilePath

std::string agxQt::QtAgxWrapper::m_pythonFilePath
protected

Definition at line 295 of file QtAgxWrapper.h.

◆ m_renderBodyCache

agxOSG::RigidBodyRenderCacheRef agxQt::QtAgxWrapper::m_renderBodyCache
protected

Definition at line 343 of file QtAgxWrapper.h.

◆ m_renderProxyFactory

agxOSG::RenderProxyFactory* agxQt::QtAgxWrapper::m_renderProxyFactory
protected

Definition at line 330 of file QtAgxWrapper.h.

◆ m_root

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_root
protected

Definition at line 334 of file QtAgxWrapper.h.

◆ m_scene

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_scene
protected

Definition at line 337 of file QtAgxWrapper.h.

◆ m_sceneDescription

agxOSG::SceneDescription agxQt::QtAgxWrapper::m_sceneDescription
protected

Definition at line 293 of file QtAgxWrapper.h.

◆ m_sceneRoot

osg::ref_ptr<osg::Group> agxQt::QtAgxWrapper::m_sceneRoot
protected

Definition at line 336 of file QtAgxWrapper.h.

◆ m_sceneSwitch

osg::ref_ptr<osg::Switch> agxQt::QtAgxWrapper::m_sceneSwitch
protected

Definition at line 338 of file QtAgxWrapper.h.

◆ m_settings

agxCFG::ConfigScriptRef agxQt::QtAgxWrapper::m_settings
protected

Definition at line 292 of file QtAgxWrapper.h.

◆ m_simulationController

agxSDK::SimulationControllerRef agxQt::QtAgxWrapper::m_simulationController
protected

Definition at line 290 of file QtAgxWrapper.h.

◆ m_simulationPaused

bool agxQt::QtAgxWrapper::m_simulationPaused
protected

Definition at line 305 of file QtAgxWrapper.h.

◆ m_ssm

osg::ref_ptr<osgGA::StateSetManipulator> agxQt::QtAgxWrapper::m_ssm
protected

Definition at line 339 of file QtAgxWrapper.h.

◆ m_trajectoryRenderer

TrajectoryRendererRef agxQt::QtAgxWrapper::m_trajectoryRenderer
protected

Definition at line 317 of file QtAgxWrapper.h.

◆ m_updates

int agxQt::QtAgxWrapper::m_updates
protected

Definition at line 348 of file QtAgxWrapper.h.

◆ m_updateTimer

QTimer agxQt::QtAgxWrapper::m_updateTimer
protected

Definition at line 347 of file QtAgxWrapper.h.

◆ m_videoCapture

agxQt::VideoCaptureRef agxQt::QtAgxWrapper::m_videoCapture
protected

Definition at line 309 of file QtAgxWrapper.h.

◆ m_viewer

osg::ref_ptr<osgViewer::Viewer> agxQt::QtAgxWrapper::m_viewer
protected

Definition at line 331 of file QtAgxWrapper.h.

◆ s_activeController

agxSDK::SimulationController* agxQt::QtAgxWrapper::s_activeController
staticprotected

Definition at line 346 of file QtAgxWrapper.h.


The documentation for this class was generated from the following file: