SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::gui::qt::RealGUI Class Reference

#include <RealGUI.h>

Inheritance diagram for sofa::gui::qt::RealGUI:

Public Attributes

QSofaListViewsimulationGraph
 

Protected Attributes

QLabel * fpsLabel
 
QLabel * timeLabel
 
bool m_dumpState
 
std::ofstream * m_dumpStateStream
 
std::ostringstream m_dumpVisitorStream
 
bool m_exportGnuplot
 
bool m_animateOBJ
 
int m_animationOBJcounter
 
bool m_displayComputationTime
 
bool m_fullScreen
 
sofa::gui::qt::viewer::SofaViewerm_viewer
 
clock_t m_clockBeforeLastStep
 
QDisplayPropertyWidgetpropertyWidget
 
std::map< helper::SofaViewerFactory::Key, QAction * > viewerMap
 list of all viewer key name (for creation) mapped to its QAction in the GUI More...
 
InformationOnPickCallBack informationOnPickCallBack
 
QWidgetcurrentTab
 
QSofaStatWidgetstatWidget
 
QTimer * timerStep
 
QTimer * timerIdle
 
WDoubleLineEditbackground [3]
 
QLineEditbackgroundImage
 
SofaPluginManagerpluginManagerDialog
 
QMenuFilesRecentlyOpened recentlyOpenedFilesManager
 
std::string simulationName
 
std::string gnuplotDirectory
 
std::string pathDumpVisitor
 
std::set< std::string > m_modifiedLogFiles
 Keep track of log files that have been modified since the GUI started. More...
 
bool m_enableInteraction {false}
 
sofa::simulation::Node::SPtr mSimulation
 
sofa::helper::system::FileEventListenerm_filelistener {nullptr}
 

Public Member Functions

 RealGUI (const char *viewername)
 
 ~RealGUI () override
 
void showFPS (double fps) override
 Force the displayed FPS value (if any) More...
 
void stepMainLoop () override
 
int mainLoop () override
 
int closeGUI () override
 Close the GUI. More...
 
sofa::simulation::NodecurrentSimulation () override
 Get the rootNode of the sofa scene. More...
 
virtual void fileOpen (std::string filename, bool temporaryFile=false, bool reload=false)
 
virtual void fileOpenSimu (std::string filename)
 
virtual void setScene (Node::SPtr groot, const char *filename=nullptr, bool temporaryFile=false) override
 
virtual void setSceneWithoutMonitor (Node::SPtr groot, const char *filename=nullptr, bool temporaryFile=false)
 
virtual void unloadScene (bool _withViewer=true)
 
virtual void setTitle (std::string windowTitle)
 
void setViewerResolution (int w, int h) override
 
void setFullScreen () override
 
virtual void setFullScreen (bool enable)
 
void centerWindow () override
 
void setBackgroundColor (const sofa::type::RGBAColor &c) override
 
virtual void setBackgroundImage (const std::string &i) override
 
void setViewerConfiguration (sofa::component::setting::ViewerSetting *viewerConf) override
 
void setMouseButtonConfiguration (sofa::component::setting::MouseButtonSetting *button) override
 
void setDumpState (bool) override
 
void setLogTime (bool) override
 
void setExportState (bool) override
 
virtual void setGnuplotPath (const std::string &path) override
 
virtual void createViewer (const char *_viewerName, bool _updateViewerList=false)
 
void registerViewer (common::BaseViewer *_viewer) override
 Used to directly replace the current viewer. More...
 
common::BaseViewergetViewer () override
 
sofa::gui::qt::viewer::SofaViewergetSofaViewer ()
 
virtual void removeViewer ()
 
void dragEnterEvent (QDragEnterEvent *event) override
 
void dropEvent (QDropEvent *event) override
 
- Public Member Functions inherited from sofa::gui::common::BaseGUI
virtual void configureGUI (sofa::simulation::NodeSPtr groot)
 Use a component setting to configure our GUI. More...
 
void exportGnuplot (sofa::simulation::Node *node, std::string gnuplot_directory="")
 
virtual bool canBeDefaultGUI () const
 
virtual void redraw ()=0
 Update the GUI. More...
 
virtual void setScene (sofa::simulation::NodeSPtr groot, const char *filename=nullptr, bool temporaryFile=false)=0
 Register the scene in our GUI. More...
 
virtual bool saveScreenshot (const std::string &filename, int compression_level=-1)
 
virtual void sendMessage (const std::string &, const std::string &)
 Send a (script) message. More...
 

Static Public Member Functions

static void setupSurfaceFormat ()
 
static common::BaseGUICreateGUI (const char *name, sofa::simulation::Node::SPtr groot=nullptr, const char *filename=nullptr)
 
static void SetPixmap (std::string pixmap_filename, QPushButton *b)
 
- Static Public Member Functions inherited from sofa::gui::common::BaseGUI
static std::string & GetGUIName ()
 
static const charGetProgramName ()
 
static void SetProgramName (const char *argv0)
 
static void SetArgumentParser (ArgumentParser *parser)
 
static const std::string & getConfigDirectoryPath ()
 
static const std::string & getScreenshotDirectoryPath ()
 
static void setConfigDirectoryPath (const std::string &path, bool createIfNecessary=false)
 
static void setScreenshotDirectoryPath (const std::string &path, bool createIfNecessary=false)
 

Protected Member Functions

void init ()
 init data member from RealGUI for the viewer initialisation in the GUI More...
 
void createDisplayFlags (Node::SPtr root)
 
void loadSimulation (bool one_step=false)
 
void eventNewStep ()
 
void eventNewTime ()
 
void keyPressEvent (QKeyEvent *e) override
 
void startDumpVisitor ()
 
void stopDumpVisitor ()
 
void initViewer (common::BaseViewer *_viewer) override
 init the viewer for the GUI (embeded or not we have to connect some info about viewer in the GUI) More...
 
virtual int exitApplication (unsigned int _retcode=0)
 
void sleep (float seconds, float init_time)
 
- Protected Member Functions inherited from sofa::gui::common::BaseGUI
 BaseGUI ()
 
virtual ~BaseGUI ()
 The destructor should not be called directly. Use the closeGUI() method instead. More...
 

Static Protected Member Functions

static void CreateApplication (int _argc=0, char **_argv=nullptr)
 
static void InitApplication (RealGUI *_gui)
 

Signals

void reload ()
 
void newScene ()
 
void newStep ()
 
void quit ()
 

Public Slots

virtual void newRootNode (sofa::simulation::Node *root, const char *path)
 
virtual void activateNode (sofa::simulation::Node *, bool)
 
virtual void setSleepingNode (sofa::simulation::Node *, bool)
 
virtual void lockAnimation (bool)
 
virtual void fileRecentlyOpened (QAction *action)
 
virtual void playpauseGUI (bool value)
 
virtual void interactionGUI (bool value)
 
virtual void step ()
 
virtual void emitIdle ()
 
virtual void setDt (const QString &)
 
virtual void updateDtEditState ()
 
virtual void resetScene ()
 
virtual void screenshot ()
 
virtual void showhideElements ()
 
virtual void update ()
 
virtual void updateBackgroundColour ()
 
virtual void updateBackgroundImage ()
 
virtual void resetView ()
 
virtual void saveView ()
 
virtual void setSizeW (int _valW)
 
virtual void setSizeH (int _valH)
 
virtual void clear ()
 
void redraw () override
 refresh the visualization window More...
 
virtual void exportOBJ (sofa::simulation::Node *node, bool exportMTL=true)
 
virtual void dumpState (bool)
 
virtual void displayComputationTime (bool)
 
virtual void setExportGnuplot (bool)
 
virtual void setExportVisitor (bool)
 
virtual void displayProflierWindow (bool)
 
virtual void currentTabChanged (int index)
 
virtual void popupOpenFileSelector ()
 This open popup the file selection windows. More...
 
virtual void fileReload ()
 
virtual void fileExit ()
 
virtual void helpAbout ()
 
virtual void editRecordDirectory ()
 
virtual void editGnuplotDirectory ()
 
virtual void showDocBrowser ()
 
virtual void showAbout ()
 
virtual void showPluginManager ()
 
virtual void showMouseManager ()
 
virtual void showVideoRecorderManager ()
 
virtual void showWindowDataGraph ()
 
virtual void toolsDockMoved ()
 

Protected Slots

virtual void changeViewer ()
 
virtual void updateViewerList ()
 
virtual void onSceneGraphRefreshButtonClicked ()
 Update the scenegraph and activate the automatic refresh. More...
 
virtual void sceneGraphViewDirtynessChanged (bool isDirty)
 Update the SceneGraph update button to reflect the dirtyness status. More...
 
virtual void sceneGraphViewLockingChanged (bool isLocked)
 Update the SceneGraph update button to reflect the locking status. More...
 
void propertyDockMoved (Qt::DockWidgetArea a)
 
void appendToDataLogFile (QString)
 
void docBrowserVisibilityChanged (bool)
 

Additional Inherited Members

- Static Protected Attributes inherited from sofa::gui::common::BaseGUI
static std::string mGuiName = ""
 
static std::string configDirectoryPath = "."
 
static std::string screenshotDirectoryPath = "."
 
static const charmProgramName = nullptr
 
static ArgumentParsermArgumentParser = nullptr
 

Attribute details

◆ background

WDoubleLineEdit* sofa::gui::qt::RealGUI::background[3]
protected

◆ backgroundImage

QLineEdit* sofa::gui::qt::RealGUI::backgroundImage
protected

◆ currentTab

QWidget* sofa::gui::qt::RealGUI::currentTab
protected

◆ fpsLabel

QLabel* sofa::gui::qt::RealGUI::fpsLabel
protected

◆ gnuplotDirectory

std::string sofa::gui::qt::RealGUI::gnuplotDirectory
protected

◆ informationOnPickCallBack

InformationOnPickCallBack sofa::gui::qt::RealGUI::informationOnPickCallBack
protected

◆ m_animateOBJ

bool sofa::gui::qt::RealGUI::m_animateOBJ
protected

◆ m_animationOBJcounter

int sofa::gui::qt::RealGUI::m_animationOBJcounter
protected

◆ m_clockBeforeLastStep

clock_t sofa::gui::qt::RealGUI::m_clockBeforeLastStep
protected

◆ m_displayComputationTime

bool sofa::gui::qt::RealGUI::m_displayComputationTime
protected

◆ m_dumpState

bool sofa::gui::qt::RealGUI::m_dumpState
protected

◆ m_dumpStateStream

std::ofstream* sofa::gui::qt::RealGUI::m_dumpStateStream
protected

◆ m_dumpVisitorStream

std::ostringstream sofa::gui::qt::RealGUI::m_dumpVisitorStream
protected

◆ m_enableInteraction

bool sofa::gui::qt::RealGUI::m_enableInteraction {false}
protected

◆ m_exportGnuplot

bool sofa::gui::qt::RealGUI::m_exportGnuplot
protected

◆ m_filelistener

sofa::helper::system::FileEventListener* sofa::gui::qt::RealGUI::m_filelistener {nullptr}
protected

◆ m_fullScreen

bool sofa::gui::qt::RealGUI::m_fullScreen
protected

◆ m_modifiedLogFiles

std::set<std::string> sofa::gui::qt::RealGUI::m_modifiedLogFiles
protected

Keep track of log files that have been modified since the GUI started.

◆ m_viewer

sofa::gui::qt::viewer::SofaViewer* sofa::gui::qt::RealGUI::m_viewer
protected

◆ mSimulation

sofa::simulation::Node::SPtr sofa::gui::qt::RealGUI::mSimulation
protected

◆ pathDumpVisitor

std::string sofa::gui::qt::RealGUI::pathDumpVisitor
protected

◆ pluginManagerDialog

SofaPluginManager* sofa::gui::qt::RealGUI::pluginManagerDialog
protected

◆ propertyWidget

QDisplayPropertyWidget* sofa::gui::qt::RealGUI::propertyWidget
protected

◆ recentlyOpenedFilesManager

QMenuFilesRecentlyOpened sofa::gui::qt::RealGUI::recentlyOpenedFilesManager
protected

◆ simulationGraph

QSofaListView* sofa::gui::qt::RealGUI::simulationGraph

◆ simulationName

std::string sofa::gui::qt::RealGUI::simulationName
protected

◆ statWidget

QSofaStatWidget* sofa::gui::qt::RealGUI::statWidget
protected

◆ timeLabel

QLabel* sofa::gui::qt::RealGUI::timeLabel
protected

◆ timerIdle

QTimer* sofa::gui::qt::RealGUI::timerIdle
protected

◆ timerStep

QTimer* sofa::gui::qt::RealGUI::timerStep
protected

◆ viewerMap

std::map< helper::SofaViewerFactory::Key, QAction* > sofa::gui::qt::RealGUI::viewerMap
protected

list of all viewer key name (for creation) mapped to its QAction in the GUI

Constructor details

◆ RealGUI()

sofa::gui::qt::RealGUI::RealGUI ( const char viewername)

◆ ~RealGUI()

sofa::gui::qt::RealGUI::~RealGUI ( )
override

Function details

◆ activateNode

void sofa::gui::qt::RealGUI::activateNode ( sofa::simulation::Node node,
bool  activate 
)
virtualslot

◆ appendToDataLogFile

void sofa::gui::qt::RealGUI::appendToDataLogFile ( QString  dataModifiedString)
protectedslot

◆ centerWindow()

void sofa::gui::qt::RealGUI::centerWindow ( )
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ changeViewer

void sofa::gui::qt::RealGUI::changeViewer ( )
protectedvirtualslot

Allow to dynamicly change viewer. Called when click on another viewer in GUI Qt viewer list (see viewerMap). TODO: find a better way to propagate the argument when we construct the viewer

◆ clear

void sofa::gui::qt::RealGUI::clear ( )
virtualslot

◆ closeGUI()

int sofa::gui::qt::RealGUI::closeGUI ( )
overridevirtual

Close the GUI.

Implements sofa::gui::common::BaseGUI.

◆ CreateApplication()

void sofa::gui::qt::RealGUI::CreateApplication ( int  _argc = 0,
char **  _argv = nullptr 
)
staticprotected

◆ createDisplayFlags()

void sofa::gui::qt::RealGUI::createDisplayFlags ( Node::SPtr  root)
protected

◆ CreateGUI()

BaseGUI * sofa::gui::qt::RealGUI::CreateGUI ( const char name,
sofa::simulation::Node::SPtr  groot = nullptr,
const char filename = nullptr 
)
static

◆ createViewer()

void sofa::gui::qt::RealGUI::createViewer ( const char _viewerName,
bool  _updateViewerList = false 
)
virtual

create a viewer according to the argument key

Note
the viewerMap have to be initialize at least once before
  • _updateViewerList is used only if you want to reactualise the viewerMap in the GUI TODO: find a better way to propagate the argument when we construct the viewer

◆ currentSimulation()

sofa::simulation::Node * sofa::gui::qt::RealGUI::currentSimulation ( )
overridevirtual

Get the rootNode of the sofa scene.

Implements sofa::gui::common::BaseGUI.

◆ currentTabChanged

void sofa::gui::qt::RealGUI::currentTabChanged ( int  index)
virtualslot

◆ displayComputationTime

void sofa::gui::qt::RealGUI::displayComputationTime ( bool  value)
virtualslot

◆ displayProflierWindow

void sofa::gui::qt::RealGUI::displayProflierWindow ( bool  value)
virtualslot

◆ docBrowserVisibilityChanged

void sofa::gui::qt::RealGUI::docBrowserVisibilityChanged ( bool  visibility)
protectedslot

◆ dragEnterEvent()

void sofa::gui::qt::RealGUI::dragEnterEvent ( QDragEnterEvent *  event)
override

◆ dropEvent()

void sofa::gui::qt::RealGUI::dropEvent ( QDropEvent *  event)
override

◆ dumpState

void sofa::gui::qt::RealGUI::dumpState ( bool  value)
virtualslot

◆ editGnuplotDirectory

void sofa::gui::qt::RealGUI::editGnuplotDirectory ( )
virtualslot

◆ editRecordDirectory

void sofa::gui::qt::RealGUI::editRecordDirectory ( )
virtualslot

◆ emitIdle

void sofa::gui::qt::RealGUI::emitIdle ( )
virtualslot

◆ eventNewStep()

void sofa::gui::qt::RealGUI::eventNewStep ( )
protected

◆ eventNewTime()

void sofa::gui::qt::RealGUI::eventNewTime ( )
protected

◆ exitApplication()

virtual int sofa::gui::qt::RealGUI::exitApplication ( unsigned int  _retcode = 0)
inlineprotectedvirtual

◆ exportOBJ

void sofa::gui::qt::RealGUI::exportOBJ ( sofa::simulation::Node node,
bool  exportMTL = true 
)
virtualslot

◆ fileExit

void sofa::gui::qt::RealGUI::fileExit ( )
virtualslot

◆ fileOpen()

void sofa::gui::qt::RealGUI::fileOpen ( std::string  filename,
bool  temporaryFile = false,
bool  reload = false 
)
virtual

◆ fileOpenSimu()

void sofa::gui::qt::RealGUI::fileOpenSimu ( std::string  filename)
virtual

◆ fileRecentlyOpened

void sofa::gui::qt::RealGUI::fileRecentlyOpened ( QAction *  action)
virtualslot

◆ fileReload

void sofa::gui::qt::RealGUI::fileReload ( )
virtualslot

◆ getSofaViewer()

sofa::gui::qt::viewer::SofaViewer * sofa::gui::qt::RealGUI::getSofaViewer ( )

A way to know if our viewer is embedded or not... (see initViewer) TODO: Find a better way to do this

◆ getViewer()

BaseViewer * sofa::gui::qt::RealGUI::getViewer ( )
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ helpAbout

virtual void sofa::gui::qt::RealGUI::helpAbout ( )
inlinevirtualslot

◆ init()

void sofa::gui::qt::RealGUI::init ( void  )
protected

init data member from RealGUI for the viewer initialisation in the GUI

◆ InitApplication()

void sofa::gui::qt::RealGUI::InitApplication ( RealGUI _gui)
staticprotected

◆ initViewer()

void sofa::gui::qt::RealGUI::initViewer ( common::BaseViewer _viewer)
overrideprotectedvirtual

init the viewer for the GUI (embeded or not we have to connect some info about viewer in the GUI)

Reimplemented from sofa::gui::common::BaseGUI.

◆ interactionGUI

void sofa::gui::qt::RealGUI::interactionGUI ( bool  value)
virtualslot

◆ keyPressEvent()

void sofa::gui::qt::RealGUI::keyPressEvent ( QKeyEvent *  e)
overrideprotected

◆ loadSimulation()

void sofa::gui::qt::RealGUI::loadSimulation ( bool  one_step = false)
protected

◆ lockAnimation

void sofa::gui::qt::RealGUI::lockAnimation ( bool  value)
virtualslot

◆ mainLoop()

int sofa::gui::qt::RealGUI::mainLoop ( )
overridevirtual

◆ newRootNode

void sofa::gui::qt::RealGUI::newRootNode ( sofa::simulation::Node root,
const char path 
)
virtualslot

◆ newScene

void sofa::gui::qt::RealGUI::newScene ( )
signal

◆ newStep

void sofa::gui::qt::RealGUI::newStep ( )
signal

◆ onSceneGraphRefreshButtonClicked

void sofa::gui::qt::RealGUI::onSceneGraphRefreshButtonClicked ( )
protectedvirtualslot

Update the scenegraph and activate the automatic refresh.

◆ playpauseGUI

void sofa::gui::qt::RealGUI::playpauseGUI ( bool  value)
virtualslot

◆ popupOpenFileSelector

void sofa::gui::qt::RealGUI::popupOpenFileSelector ( )
virtualslot

This open popup the file selection windows.

◆ propertyDockMoved

void sofa::gui::qt::RealGUI::propertyDockMoved ( Qt::DockWidgetArea  a)
protectedslot

◆ quit

void sofa::gui::qt::RealGUI::quit ( )
signal

◆ redraw

void sofa::gui::qt::RealGUI::redraw ( )
overrideslot

refresh the visualization window

◆ registerViewer()

void sofa::gui::qt::RealGUI::registerViewer ( common::BaseViewer _viewer)
overridevirtual

Used to directly replace the current viewer.

Reimplemented from sofa::gui::common::BaseGUI.

◆ reload

void sofa::gui::qt::RealGUI::reload ( )
signal

◆ removeViewer()

void sofa::gui::qt::RealGUI::removeViewer ( )
virtual

◆ resetScene

void sofa::gui::qt::RealGUI::resetScene ( )
virtualslot

◆ resetView

virtual void sofa::gui::qt::RealGUI::resetView ( )
inlinevirtualslot

◆ saveView

virtual void sofa::gui::qt::RealGUI::saveView ( )
inlinevirtualslot

◆ sceneGraphViewDirtynessChanged

void sofa::gui::qt::RealGUI::sceneGraphViewDirtynessChanged ( bool  isDirty)
protectedvirtualslot

Update the SceneGraph update button to reflect the dirtyness status.

◆ sceneGraphViewLockingChanged

void sofa::gui::qt::RealGUI::sceneGraphViewLockingChanged ( bool  isLocked)
protectedvirtualslot

Update the SceneGraph update button to reflect the locking status.

◆ screenshot

void sofa::gui::qt::RealGUI::screenshot ( )
virtualslot

◆ setBackgroundColor()

void sofa::gui::qt::RealGUI::setBackgroundColor ( const sofa::type::RGBAColor c)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setBackgroundImage()

void sofa::gui::qt::RealGUI::setBackgroundImage ( const std::string &  i)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setDt

void sofa::gui::qt::RealGUI::setDt ( const QString &  value)
virtualslot

◆ setDumpState()

void sofa::gui::qt::RealGUI::setDumpState ( bool  b)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setExportGnuplot

void sofa::gui::qt::RealGUI::setExportGnuplot ( bool  exp)
virtualslot

◆ setExportState()

void sofa::gui::qt::RealGUI::setExportState ( bool  b)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setExportVisitor

void sofa::gui::qt::RealGUI::setExportVisitor ( bool  )
virtualslot

◆ setFullScreen() [1/2]

void sofa::gui::qt::RealGUI::setFullScreen ( )
inlineoverridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setFullScreen() [2/2]

void sofa::gui::qt::RealGUI::setFullScreen ( bool  enable)
virtual

◆ setGnuplotPath()

void sofa::gui::qt::RealGUI::setGnuplotPath ( const std::string &  path)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setLogTime()

void sofa::gui::qt::RealGUI::setLogTime ( bool  b)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setMouseButtonConfiguration()

void sofa::gui::qt::RealGUI::setMouseButtonConfiguration ( sofa::component::setting::MouseButtonSetting button)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ SetPixmap()

void sofa::gui::qt::RealGUI::SetPixmap ( std::string  pixmap_filename,
QPushButton b 
)
static

◆ setScene()

void sofa::gui::qt::RealGUI::setScene ( Node::SPtr  groot,
const char filename = nullptr,
bool  temporaryFile = false 
)
overridevirtual

◆ setSceneWithoutMonitor()

void sofa::gui::qt::RealGUI::setSceneWithoutMonitor ( Node::SPtr  groot,
const char filename = nullptr,
bool  temporaryFile = false 
)
virtual

◆ setSizeH

virtual void sofa::gui::qt::RealGUI::setSizeH ( int  _valH)
inlinevirtualslot

◆ setSizeW

virtual void sofa::gui::qt::RealGUI::setSizeW ( int  _valW)
inlinevirtualslot

◆ setSleepingNode

void sofa::gui::qt::RealGUI::setSleepingNode ( sofa::simulation::Node node,
bool  sleeping 
)
virtualslot

◆ setTitle()

void sofa::gui::qt::RealGUI::setTitle ( std::string  windowTitle)
virtual

◆ setupSurfaceFormat()

void sofa::gui::qt::RealGUI::setupSurfaceFormat ( )
static

◆ setViewerConfiguration()

void sofa::gui::qt::RealGUI::setViewerConfiguration ( sofa::component::setting::ViewerSetting viewerConf)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ setViewerResolution()

void sofa::gui::qt::RealGUI::setViewerResolution ( int  w,
int  h 
)
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ showAbout

void sofa::gui::qt::RealGUI::showAbout ( )
virtualslot

◆ showDocBrowser

void sofa::gui::qt::RealGUI::showDocBrowser ( )
virtualslot

◆ showFPS()

void sofa::gui::qt::RealGUI::showFPS ( double  )
overridevirtual

Force the displayed FPS value (if any)

Reimplemented from sofa::gui::common::BaseGUI.

◆ showhideElements

void sofa::gui::qt::RealGUI::showhideElements ( )
virtualslot

◆ showMouseManager

void sofa::gui::qt::RealGUI::showMouseManager ( )
virtualslot

◆ showPluginManager

void sofa::gui::qt::RealGUI::showPluginManager ( )
virtualslot

◆ showVideoRecorderManager

void sofa::gui::qt::RealGUI::showVideoRecorderManager ( )
virtualslot

◆ showWindowDataGraph

void sofa::gui::qt::RealGUI::showWindowDataGraph ( )
virtualslot

◆ sleep()

void sofa::gui::qt::RealGUI::sleep ( float  seconds,
float  init_time 
)
inlineprotected

◆ startDumpVisitor()

void sofa::gui::qt::RealGUI::startDumpVisitor ( )
protected

◆ step

void sofa::gui::qt::RealGUI::step ( )
virtualslot

◆ stepMainLoop()

void sofa::gui::qt::RealGUI::stepMainLoop ( )
overridevirtual

Reimplemented from sofa::gui::common::BaseGUI.

◆ stopDumpVisitor()

void sofa::gui::qt::RealGUI::stopDumpVisitor ( )
protected

◆ toolsDockMoved

void sofa::gui::qt::RealGUI::toolsDockMoved ( )
virtualslot

◆ unloadScene()

void sofa::gui::qt::RealGUI::unloadScene ( bool  _withViewer = true)
virtual

◆ update

void sofa::gui::qt::RealGUI::update ( )
virtualslot

◆ updateBackgroundColour

void sofa::gui::qt::RealGUI::updateBackgroundColour ( )
virtualslot

◆ updateBackgroundImage

void sofa::gui::qt::RealGUI::updateBackgroundImage ( )
virtualslot

◆ updateDtEditState

void sofa::gui::qt::RealGUI::updateDtEditState ( )
virtualslot

◆ updateViewerList

void sofa::gui::qt::RealGUI::updateViewerList ( )
protectedvirtualslot

Update the viewerMap and create viewer if we haven't yet one (the first of the list) TODO: find a better way to propagate the argument when we construct the viewer