#include <RealGUI.h>


SofaGUI Interface | |
| static int | InitGUI (const char *name, const std::vector< std::string > &options) |
| static SofaGUI * | CreateGUI (const char *name, const std::vector< std::string > &options, sofa::simulation::Node *groot=NULL, const char *filename=NULL) |
| int | mainLoop () |
| int | closeGUI () |
| Node * | currentSimulation () |
Public Slots | |
| void | fileRecentlyOpened (int id) |
| void | updateRecentlyOpened (std::string fileLoaded) |
| void | DoubleClickeItemInSceneView (QListViewItem *item) |
| void | RightClickedItemInSceneView (QListViewItem *item, const QPoint &point, int index) |
| void | playpauseGUI (bool value) |
| void | step () |
| void | animate () |
| void | setDt (double) |
| void | setDt (const QString &) |
| void | resetScene () |
| void | screenshot () |
| void | showhideElements (int FILTER, bool value) |
| void | clearRecord () |
| void | slot_recordSimulation (bool) |
| void | slot_backward () |
| void | slot_stepbackward () |
| void | slot_playforward () |
| void | slot_stepforward () |
| void | slot_forward () |
| void | slot_sliderValue (int) |
| void | slot_loadrecord_timevalue () |
| void | changeInstrument (int) |
| void | clearGraph () |
| void | graphSaveObject () |
| void | graphAddObject () |
| void | graphRemoveObject () |
| void | graphModify () |
| void | graphCollapse () |
| void | graphExpand () |
| void | graphDesactivateNode () |
| void | graphActivateNode () |
| void | loadObject (std::string path, double dx, double dy, double dz, double rx, double ry, double rz, double scale=1.0) |
| void | redraw () |
| void | modifyUnlock (void *Id) |
| void | transformObject (Node *node, double dx, double dy, double dz, double rx, double ry, double rz, double scale=1.0) |
| void | exportGraph () |
| void | exportGraph (sofa::simulation::tree::GNode *) |
| void | exportOBJ (bool exportMTL=true) |
| void | dumpState (bool) |
| void | displayComputationTime (bool) |
| void | setExportGnuplot (bool) |
| void | currentTabChanged (QWidget *) |
Signals | |
| void | reload () |
| void | newScene () |
| void | newStep () |
| void | quit () |
Public Member Functions | |
| RealGUI (const char *viewername, const std::vector< std::string > &options=std::vector< std::string >()) | |
| ~RealGUI () | |
| virtual void | fileOpen (std::string filename) |
| virtual void | fileOpenSimu (std::string filename) |
| virtual void | setScene (Node *groot, const char *filename=NULL) |
| virtual void | setTitle (std::string windowTitle) |
| virtual void | fileNew () |
| virtual void | fileOpen () |
| virtual void | fileSave () |
| virtual void | fileSaveAs () |
| virtual void | fileSaveAs (Node *node) |
| virtual void | fileSaveAs (Node *node, const char *filename) |
| virtual void | fileReload () |
| virtual void | fileExit () |
| virtual void | saveXML () |
| virtual void | viewerOpenGL () |
| virtual void | viewerQGLViewer () |
| virtual void | viewerOGRE () |
| virtual void | editRecordDirectory () |
| virtual void | editGnuplotDirectory () |
| void | dragEnterEvent (QDragEnterEvent *event) |
| void | dropEvent (QDropEvent *event) |
Data Fields | |
| const char * | viewerName |
| sofa::gui::qt::viewer::SofaViewer * | viewer |
Protected Member Functions | |
| void | eventNewStep () |
| void | eventNewTime () |
| void | init () |
| void | keyPressEvent (QKeyEvent *e) |
| void | loadSimulation (bool one_step=false) |
| void | initDesactivatedNode () |
| bool | graphCreateStats (Node *groot) |
| void | graphAddCollisionModelsStat (sofa::helper::vector< sofa::core::CollisionModel * > &v) |
| void | graphSummary () |
| bool | isErasable (core::objectmodel::Base *element) |
| void | setPixmap (std::string pixmap_filename, QPushButton *b) |
| double | getRecordInitialTime () const |
| void | setRecordInitialTime (const double time) |
| double | getRecordFinalTime () const |
| void | setRecordFinalTime (const double time) |
| double | getRecordTime () const |
| void | setRecordTime (const double time) |
| void | setTimeSimulation (const double time) |
| sofa::simulation::tree::GNode * | getScene () |
| void | sleep (unsigned int mseconds, unsigned int init_time) |
Protected Attributes | |
| bool | m_dumpState |
| std::ofstream * | m_dumpStateStream |
| bool | m_exportGnuplot |
| bool | _animationOBJ |
| int | _animationOBJcounter |
| bool | m_displayComputationTime |
| QWidget * | currentTab |
| QWidget * | tabInstrument |
| GraphListenerQListView * | graphListener |
| QListViewItem * | item_clicked |
| GNode * | node_clicked |
| QTimer * | timerStep |
| QTimer * | timerRecordStep |
| QLabel * | fpsLabel |
| QLabel * | timeLabel |
| QPushButton * | record |
| QPushButton * | backward_record |
| QPushButton * | stepbackward_record |
| QPushButton * | playforward_record |
| QPushButton * | stepforward_record |
| QPushButton * | forward_record |
| QLineEdit * | loadRecordTime |
| QLabel * | initialTime |
| QLabel * | finalTime |
| QSlider * | timeSlider |
| std::string | simulation_name |
| std::string | record_directory |
| std::string | gnuplot_directory |
| std::string | writeSceneName |
| QWidgetStack * | left_stack |
| AddObject * | dialog |
Private Member Functions | |
| bool | setViewer (const char *name) |
| void | addViewer () |
| void | setGUI (void) |
| bool | setWriteSceneName () |
| void | addReadState (bool init) |
| void | addWriteState () |
Private Attributes | |
| std::map< void *, core::objectmodel::Base * > | map_modifyDialogOpened |
| std::map< void *, QDialog * > | map_modifyObjectWindow |
| std::vector< std::pair < core::objectmodel::Base *, Q3ListViewItem * > > | items_stats |
| void * | current_Id_modifyDialog |
| float | object_Scale [2] |
| float | initial_time |
| int | frameCounter |
| std::vector< std::string > | list_object |
| std::list< GNode * > | list_object_added |
| std::list< GNode * > | list_object_removed |
| std::list< GNode * > | list_object_initial |
| bool | record_simulation |
| DisplayFlagWidget * | displayFlag |
Definition at line 95 of file RealGUI.h.
| sofa::gui::qt::RealGUI::RealGUI | ( | const char * | viewername, | |
| const std::vector< std::string > & | options = std::vector<std::string>() | |||
| ) |
Definition at line 287 of file RealGUI.cpp.
References Ui_GUI::Action, addViewer(), backward_record, currentTabChanged(), sofa::helper::system::DataRepository, displayComputationTime(), Ui_GUI::displayComputationTimeCheckBox, displayFlag, Ui_GUI::dtEdit, dumpState(), Ui_GUI::dumpStateCheckBox, Ui_GUI::exportGnuplotFilesCheckbox, exportGraph(), Ui_GUI::ExportGraphButton, fileExit(), Ui_GUI::fileMenu, fileRecentlyOpened(), finalTime, forward_record, fpsLabel, Ui_GUI::gridLayout1, initialTime, left_stack, loadRecordTime, playforward_record, playpauseGUI(), quit(), Ui_GUI::recentlyOpened, record, resetScene(), Ui_GUI::ResetSceneButton, setDt(), setExportGnuplot(), setPixmap(), showhideElements(), slot_backward(), slot_forward(), slot_loadrecord_timevalue(), slot_playforward(), slot_recordSimulation(), slot_sliderValue(), slot_stepbackward(), slot_stepforward(), Ui_GUI::splitter2, Ui_GUI::startButton, step(), stepbackward_record, Ui_GUI::stepButton, stepforward_record, Ui_GUI::tabs, Ui_GUI::tabView, timeLabel, timerRecordStep, timerStep, timeSlider, and updateRecentlyOpened().
Referenced by CreateGUI().
| sofa::gui::qt::RealGUI::~RealGUI | ( | ) |
Definition at line 491 of file RealGUI.cpp.
| void sofa::gui::qt::RealGUI::addReadState | ( | bool | init | ) | [private] |
Definition at line 111 of file RealGUI_record.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), viewer, and writeSceneName.
Referenced by fileOpenSimu(), and slot_recordSimulation().
| void sofa::gui::qt::RealGUI::addViewer | ( | ) | [private] |
Definition at line 544 of file RealGUI.cpp.
References sofa::gui::qt::application, sofa::gui::qt::viewer::SofaViewer::getQWidget(), init(), left_stack, Ui_GUI::ResetViewButton, Ui_GUI::SaveViewButton, screenshot(), Ui_GUI::screenshotButton, setGUI(), sofa::gui::qt::viewer::SofaViewer::setup(), Ui_GUI::sizeH, Ui_GUI::sizeW, Ui_GUI::splitter2, viewer, viewerName, Ui_GUI::viewerOGREAction, Ui_GUI::viewerOpenGLAction, and Ui_GUI::viewerQGLViewerAction.
Referenced by RealGUI(), and setViewer().
| void sofa::gui::qt::RealGUI::addWriteState | ( | ) | [private] |
Definition at line 118 of file RealGUI_record.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), viewer, and writeSceneName.
Referenced by slot_recordSimulation().
| void sofa::gui::qt::RealGUI::animate | ( | void | ) | [slot] |
Definition at line 1620 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getQWidget(), and viewer.
| void sofa::gui::qt::RealGUI::changeInstrument | ( | int | id | ) | [slot] |
Definition at line 965 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Data< T >::getValue(), sofa::simulation::tree::Simulation::instrumentInUse, sofa::simulation::tree::Simulation::instruments, sofa::core::objectmodel::Data< T >::setValue(), and viewer.
Referenced by clearGraph().
| void sofa::gui::qt::RealGUI::clearGraph | ( | ) | [slot] |
Definition at line 103 of file RealGUI_graph.cpp.
References sofa::gui::qt::GraphListenerQListView::addChild(), changeInstrument(), currentTab, sofa::gui::qt::GraphListenerQListView::freeze(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::simulation::tree::getSimulation(), graphCreateStats(), graphListener, Ui_GUI::graphView, sofa::simulation::tree::Simulation::instruments, sofa::gui::qt::GraphListenerQListView::items, list_object_initial, Ui_GUI::TabGraph, tabInstrument, Ui_GUI::tabs, and viewer.
Referenced by setScene().
| void sofa::gui::qt::RealGUI::clearRecord | ( | ) | [slot] |
Definition at line 79 of file RealGUI_record.cpp.
References sofa::simulation::Node::execute(), sofa::gui::qt::viewer::SofaViewer::getScene(), initial_time, setRecordFinalTime(), setRecordInitialTime(), setRecordTime(), timeSlider, and viewer.
Referenced by setScene(), and slot_recordSimulation().
| int sofa::gui::qt::RealGUI::closeGUI | ( | ) | [virtual] |
| SofaGUI * sofa::gui::qt::RealGUI::CreateGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options, | |||
| sofa::simulation::Node * | groot = NULL, |
|||
| const char * | filename = NULL | |||
| ) | [static] |
Definition at line 205 of file RealGUI.cpp.
References sofa::gui::qt::application, sofa::simulation::Node::execute(), sofa::gui::SofaGUI::GetProgramName(), sofa::gui::qt::gui, RealGUI(), and setScene().
| Node * sofa::gui::qt::RealGUI::currentSimulation | ( | ) | [virtual] |
Implements sofa::gui::SofaGUI.
Definition at line 279 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), and viewer.
| void sofa::gui::qt::RealGUI::currentTabChanged | ( | QWidget * | widget | ) | [slot] |
Definition at line 619 of file RealGUI_graph.cpp.
References currentTab, sofa::gui::qt::GraphListenerQListView::freeze(), sofa::gui::qt::viewer::SofaViewer::getScene(), graphCreateStats(), graphListener, Ui_GUI::TabGraph, Ui_GUI::TabStats, sofa::gui::qt::GraphListenerQListView::unfreeze(), and viewer.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::displayComputationTime | ( | bool | value | ) | [slot] |
Definition at line 1543 of file RealGUI.cpp.
References getScene(), m_displayComputationTime, and sofa::simulation::Node::setLogTime().
Referenced by fileOpen(), and RealGUI().
| void sofa::gui::qt::RealGUI::DoubleClickeItemInSceneView | ( | QListViewItem * | item | ) | [virtual, slot] |
Reimplemented from GUI.
Definition at line 367 of file RealGUI_graph.cpp.
References graphModify(), and item_clicked.
| void sofa::gui::qt::RealGUI::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [inline] |
| void sofa::gui::qt::RealGUI::dropEvent | ( | QDropEvent * | event | ) |
| void sofa::gui::qt::RealGUI::dumpState | ( | bool | value | ) | [slot] |
Definition at line 1571 of file RealGUI.cpp.
References m_dumpState, and m_dumpStateStream.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::editGnuplotDirectory | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1184 of file RealGUI.cpp.
References Ui_GUI::exportGnuplotFilesCheckbox, sofa::gui::qt::getExistingDirectory(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), sofa::simulation::tree::getSimulation(), gnuplot_directory, sofa::simulation::tree::Simulation::gnuplotDirectory, setExportGnuplot(), sofa::core::objectmodel::Data< T >::setValue(), and viewer.
| void sofa::gui::qt::RealGUI::editRecordDirectory | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1172 of file RealGUI.cpp.
References sofa::gui::qt::getExistingDirectory(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), record_directory, and viewer.
| void sofa::gui::qt::RealGUI::eventNewStep | ( | ) | [protected] |
Definition at line 1311 of file RealGUI.cpp.
References fpsLabel, frameCounter, sofa::simulation::Node::getObjectTime(), sofa::helper::system::thread::CTime::getRefTicksPerSec(), sofa::helper::system::thread::CTime::getRefTime(), getScene(), sofa::simulation::Node::getTimeFreq(), sofa::simulation::Node::getTotalTime(), sofa::helper::gettypename(), sofa::simulation::Node::getVisitorTime(), m_displayComputationTime, sofa::simulation::Node::resetTime(), and sofa::simulation::Node::NodeTimer::tTree.
Referenced by step().
| void sofa::gui::qt::RealGUI::eventNewTime | ( | ) | [protected] |
Definition at line 1380 of file RealGUI.cpp.
References getRecordFinalTime(), getScene(), sofa::core::objectmodel::Context::getTime(), record_simulation, setRecordFinalTime(), setRecordTime(), timeLabel, and timeSlider.
Referenced by resetScene(), setScene(), and step().
| void sofa::gui::qt::RealGUI::exportGraph | ( | sofa::simulation::tree::GNode * | root | ) | [slot] |
| void sofa::gui::qt::RealGUI::exportGraph | ( | ) | [slot] |
| void sofa::gui::qt::RealGUI::exportOBJ | ( | bool | exportMTL = true |
) | [slot] |
Definition at line 1589 of file RealGUI.cpp.
References _animationOBJcounter, sofa::simulation::tree::Simulation::exportOBJ(), getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), sofa::simulation::tree::getSimulation(), and viewer.
Referenced by keyPressEvent(), loadSimulation(), and step().
| void sofa::gui::qt::RealGUI::fileExit | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1161 of file RealGUI.cpp.
References Ui_GUI::startButton.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::fileNew | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1061 of file RealGUI.cpp.
References sofa::helper::system::DataRepository, fileOpen(), and newScene().
| void sofa::gui::qt::RealGUI::fileOpen | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1067 of file RealGUI.cpp.
References fileOpenSimu(), sofa::gui::qt::getOpenFileName(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), and viewer.
Referenced by dropEvent(), fileNew(), fileOpenSimu(), fileRecentlyOpened(), fileReload(), and setViewer().
| void sofa::gui::qt::RealGUI::fileOpen | ( | std::string | filename | ) | [virtual] |
Definition at line 786 of file RealGUI.cpp.
References current_Id_modifyDialog, sofa::helper::system::DataRepository, dialog, displayComputationTime(), Ui_GUI::exportGnuplotFilesCheckbox, frameCounter, sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::simulation::tree::getSimulation(), gnuplot_directory, sofa::simulation::tree::Simulation::gnuplotDirectory, graphListener, Ui_GUI::graphView, list_object_added, list_object_initial, list_object_removed, sofa::simulation::tree::Simulation::load(), m_displayComputationTime, map_modifyDialogOpened, newScene(), sofa::simulation::tree::xml::numDefault, setExportGnuplot(), setScene(), sofa::core::objectmodel::Data< T >::setValue(), sofa::simulation::tree::Simulation::unload(), viewer, and writeSceneName.
Referenced by sofa::gui::qt::SofaModeler::runInSofa().
| void sofa::gui::qt::RealGUI::fileOpenSimu | ( | std::string | filename | ) | [virtual] |
Definition at line 1014 of file RealGUI.cpp.
References addReadState(), sofa::helper::system::DataRepository, Ui_GUI::dtEdit, fileOpen(), finalTime, sofa::helper::system::SetDirectory::GetParentDir(), initialTime, loadRecordTime, record_directory, simulation_name, timeSlider, and writeSceneName.
Referenced by dropEvent(), fileOpen(), fileReload(), mainLoop(), and setViewer().
| void sofa::gui::qt::RealGUI::fileRecentlyOpened | ( | int | id | ) | [slot] |
Definition at line 431 of file RealGUI.cpp.
References fileOpen(), and Ui_GUI::recentlyOpened.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::fileReload | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1097 of file RealGUI.cpp.
References fileOpen(), fileOpenSimu(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), and viewer.
| void sofa::gui::qt::RealGUI::fileSave | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1126 of file RealGUI.cpp.
References fileSaveAs(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), and viewer.
| void sofa::gui::qt::RealGUI::fileSaveAs | ( | Node * | node, | |
| const char * | filename | |||
| ) | [virtual] |
Definition at line 1156 of file RealGUI.cpp.
References sofa::simulation::tree::getSimulation(), and sofa::simulation::tree::Simulation::printXML().
| void sofa::gui::qt::RealGUI::fileSaveAs | ( | Node * | node | ) | [virtual] |
Definition at line 1134 of file RealGUI.cpp.
References fileSaveAs(), sofa::gui::qt::getSaveFileName(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), and viewer.
| virtual void sofa::gui::qt::RealGUI::fileSaveAs | ( | ) | [inline, virtual] |
Reimplemented from GUI.
Definition at line 133 of file RealGUI.h.
References fileSaveAs().
Referenced by fileSave(), fileSaveAs(), and graphSaveObject().
| double sofa::gui::qt::RealGUI::getRecordFinalTime | ( | ) | const [protected] |
Definition at line 329 of file RealGUI_record.cpp.
References finalTime.
Referenced by eventNewTime(), slot_forward(), slot_loadrecord_timevalue(), and slot_sliderValue().
| double sofa::gui::qt::RealGUI::getRecordInitialTime | ( | ) | const [protected] |
Definition at line 323 of file RealGUI_record.cpp.
References initialTime.
Referenced by slot_backward(), slot_loadrecord_timevalue(), slot_sliderValue(), and slot_stepbackward().
| double sofa::gui::qt::RealGUI::getRecordTime | ( | ) | const [protected] |
Definition at line 335 of file RealGUI_record.cpp.
References loadRecordTime.
Referenced by loadSimulation(), setRecordTime(), slot_loadrecord_timevalue(), slot_stepbackward(), and slot_stepforward().
| sofa::simulation::tree::GNode* sofa::gui::qt::RealGUI::getScene | ( | ) | [inline, protected] |
Definition at line 281 of file RealGUI.h.
References sofa::gui::qt::viewer::SofaViewer::getScene(), and viewer.
Referenced by displayComputationTime(), eventNewStep(), eventNewTime(), exportGraph(), exportOBJ(), playpauseGUI(), resetScene(), setDt(), setExportGnuplot(), showhideElements(), and slot_recordSimulation().
| void sofa::gui::qt::RealGUI::graphActivateNode | ( | ) | [slot] |
Definition at line 603 of file RealGUI_graph.cpp.
References sofa::gui::qt::getPixmap(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), graphCreateStats(), sofa::simulation::Node::init(), item_clicked, node_clicked, sofa::core::objectmodel::Context::setActive(), and viewer.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphAddCollisionModelsStat | ( | sofa::helper::vector< sofa::core::CollisionModel * > & | v | ) | [protected] |
Definition at line 263 of file RealGUI_graph.cpp.
References sofa::gui::qt::getPixmap(), items_stats, and Ui_GUI::StatsCounter.
Referenced by graphCreateStats().
| void sofa::gui::qt::RealGUI::graphAddObject | ( | ) | [slot] |
Definition at line 459 of file RealGUI_graph.cpp.
References dialog, item_clicked, node_clicked, playpauseGUI(), and Ui_GUI::startButton.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphCollapse | ( | ) | [slot] |
Definition at line 189 of file RealGUI_graph.cpp.
References item_clicked, playpauseGUI(), and Ui_GUI::startButton.
Referenced by RightClickedItemInSceneView().
Definition at line 244 of file RealGUI_graph.cpp.
References sofa::core::objectmodel::BaseContext::get(), graphAddCollisionModelsStat(), graphSummary(), items_stats, sofa::core::objectmodel::BaseContext::SearchDown, and Ui_GUI::StatsCounter.
Referenced by clearGraph(), currentTabChanged(), graphActivateNode(), graphDesactivateNode(), graphRemoveObject(), loadObject(), modifyUnlock(), and step().
| void sofa::gui::qt::RealGUI::graphDesactivateNode | ( | ) | [slot] |
Definition at line 586 of file RealGUI_graph.cpp.
References sofa::helper::system::DataRepository, sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), graphCreateStats(), item_clicked, node_clicked, sofa::simulation::tree::GNode::reinit(), sofa::core::objectmodel::Context::setActive(), and viewer.
Referenced by initDesactivatedNode(), and RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphExpand | ( | ) | [slot] |
Definition at line 209 of file RealGUI_graph.cpp.
References item_clicked, playpauseGUI(), and Ui_GUI::startButton.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphModify | ( | ) | [slot] |
Definition at line 524 of file RealGUI_graph.cpp.
References current_Id_modifyDialog, graphListener, item_clicked, sofa::gui::qt::GraphListenerQListView::items, map_modifyDialogOpened, map_modifyObjectWindow, newScene(), newStep(), playpauseGUI(), and Ui_GUI::startButton.
Referenced by DoubleClickeItemInSceneView(), and RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphRemoveObject | ( | ) | [slot] |
Definition at line 477 of file RealGUI_graph.cpp.
References sofa::gui::qt::GraphListenerQListView::addChild(), sofa::simulation::tree::GNode::getParent(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), sofa::simulation::tree::getSimulation(), graphCreateStats(), graphListener, item_clicked, list_object_removed, node_clicked, playpauseGUI(), sofa::core::objectmodel::BaseNode::removeChild(), sofa::gui::qt::GraphListenerQListView::removeChild(), sofa::gui::qt::viewer::SofaViewer::resetView(), sofa::gui::qt::viewer::SofaViewer::setScene(), sofa::core::objectmodel::Context::setShowBehaviorModels(), sofa::core::objectmodel::Context::setShowBoundingCollisionModels(), sofa::core::objectmodel::Context::setShowCollisionModels(), sofa::core::objectmodel::Context::setShowForceFields(), sofa::core::objectmodel::Context::setShowInteractionForceFields(), sofa::core::objectmodel::Context::setShowMappings(), sofa::core::objectmodel::Context::setShowMechanicalMappings(), sofa::core::objectmodel::Context::setShowNormals(), sofa::core::objectmodel::Context::setShowVisualModels(), sofa::core::objectmodel::Context::setShowWireFrame(), Ui_GUI::startButton, and viewer.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphSaveObject | ( | ) | [slot] |
Definition at line 445 of file RealGUI_graph.cpp.
References fileSaveAs(), item_clicked, node_clicked, playpauseGUI(), and Ui_GUI::startButton.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::graphSummary | ( | ) | [protected] |
Definition at line 302 of file RealGUI_graph.cpp.
References items_stats, and Ui_GUI::statsLabel.
Referenced by graphCreateStats().
| void sofa::gui::qt::RealGUI::init | ( | void | ) | [protected] |
Definition at line 507 of file RealGUI.cpp.
References _animationOBJ, _animationOBJcounter, current_Id_modifyDialog, sofa::helper::system::DataRepository, frameCounter, sofa::helper::system::SetDirectory::GetProcessFullPath(), sofa::helper::system::SetDirectory::GetRelativeFromDir(), gnuplot_directory, item_clicked, list_object, m_displayComputationTime, m_dumpState, m_dumpStateStream, m_exportGnuplot, map_modifyDialogOpened, node_clicked, record_directory, and writeSceneName.
Referenced by addViewer().
| void sofa::gui::qt::RealGUI::initDesactivatedNode | ( | ) | [protected] |
Definition at line 888 of file RealGUI.cpp.
References graphDesactivateNode(), graphListener, sofa::core::objectmodel::Context::isActive(), item_clicked, sofa::gui::qt::GraphListenerQListView::items, and node_clicked.
Referenced by setScene().
| int sofa::gui::qt::RealGUI::InitGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options | |||
| ) | [static] |
Definition at line 146 of file RealGUI.cpp.
References sofa::gui::qt::viewer::qtogre::QtOgreViewer::EnableViewer(), sofa::gui::qt::viewer::qt::QtViewer::EnableViewer(), and sofa::gui::qt::viewer::qgl::QtGLViewer::EnableViewer().
| bool sofa::gui::qt::RealGUI::isErasable | ( | core::objectmodel::Base * | element | ) | [protected] |
Definition at line 649 of file RealGUI_graph.cpp.
References graphListener, sofa::gui::qt::GraphListenerQListView::items, and map_modifyDialogOpened.
Referenced by RightClickedItemInSceneView().
| void sofa::gui::qt::RealGUI::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
Definition at line 1626 of file RealGUI.cpp.
References _animationOBJ, _animationOBJcounter, exportOBJ(), and quit().
| void sofa::gui::qt::RealGUI::loadObject | ( | std::string | path, | |
| double | dx, | |||
| double | dy, | |||
| double | dz, | |||
| double | rx, | |||
| double | ry, | |||
| double | rz, | |||
| double | scale = 1.0 | |||
| ) | [slot] |
Definition at line 1681 of file RealGUI.cpp.
References sofa::simulation::tree::GNode::addChild(), sofa::gui::qt::GraphListenerQListView::addChild(), sofa::gui::qt::GraphListenerQListView::addObject(), sofa::simulation::tree::GNode::child, currentTab, sofa::helper::system::DataRepository, sofa::simulation::Node::execute(), sofa::gui::qt::GraphListenerQListView::freeze(), sofa::core::objectmodel::BaseObjectDescription::getObject(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), graphCreateStats(), graphListener, sofa::simulation::tree::xml::BaseElement::init(), item_clicked, sofa::gui::qt::GraphListenerQListView::items, list_object_added, sofa::simulation::tree::xml::loadFromFile(), node_clicked, sofa::simulation::Node::object, playpauseGUI(), sofa::gui::qt::GraphListenerQListView::removeChild(), sofa::gui::qt::viewer::SofaViewer::resetView(), sofa::gui::qt::viewer::SofaViewer::setScene(), Ui_GUI::startButton, Ui_GUI::TabGraph, transformObject(), sofa::gui::qt::GraphListenerQListView::unfreeze(), and viewer.
| void sofa::gui::qt::RealGUI::loadSimulation | ( | bool | one_step = false |
) | [protected] |
Definition at line 276 of file RealGUI_record.cpp.
References _animationOBJ, _animationOBJcounter, sofa::simulation::tree::Simulation::dumpState(), sofa::simulation::Node::execute(), sofa::simulation::tree::Simulation::exportGnuplot(), exportOBJ(), sofa::core::objectmodel::Context::getDt(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), getRecordTime(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Context::getTime(), m_dumpState, m_dumpStateStream, m_exportGnuplot, newStep(), playforward_record, sleep(), timeSlider, and viewer.
Referenced by slot_backward(), slot_playforward(), and slot_sliderValue().
| int sofa::gui::qt::RealGUI::mainLoop | ( | ) | [virtual] |
Implements sofa::gui::SofaGUI.
Definition at line 244 of file RealGUI.cpp.
References sofa::gui::qt::application, sofa::helper::system::DataRepository, and fileOpenSimu().
| void sofa::gui::qt::RealGUI::modifyUnlock | ( | void * | Id | ) | [slot] |
Definition at line 232 of file RealGUI_graph.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), graphCreateStats(), map_modifyDialogOpened, map_modifyObjectWindow, and viewer.
| void sofa::gui::qt::RealGUI::newScene | ( | ) | [signal] |
Definition at line 216 of file moc_RealGUI.cpp.
Referenced by fileNew(), fileOpen(), graphModify(), and resetScene().
| void sofa::gui::qt::RealGUI::newStep | ( | ) | [signal] |
Definition at line 222 of file moc_RealGUI.cpp.
Referenced by graphModify(), loadSimulation(), and step().
| void sofa::gui::qt::RealGUI::playpauseGUI | ( | bool | value | ) | [slot] |
Definition at line 1215 of file RealGUI.cpp.
References sofa::simulation::tree::GNode::getContext(), getScene(), sofa::core::objectmodel::BaseContext::setAnimate(), Ui_GUI::startButton, and timerStep.
Referenced by graphAddObject(), graphCollapse(), graphExpand(), graphModify(), graphRemoveObject(), graphSaveObject(), loadObject(), RealGUI(), and slot_recordSimulation().
| void sofa::gui::qt::RealGUI::quit | ( | ) | [signal] |
| void sofa::gui::qt::RealGUI::redraw | ( | ) | [virtual, slot] |
Implements sofa::gui::SofaGUI.
Definition at line 268 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getQWidget(), and viewer.
| void sofa::gui::qt::RealGUI::reload | ( | ) | [signal] |
Definition at line 210 of file moc_RealGUI.cpp.
| void sofa::gui::qt::RealGUI::resetScene | ( | ) | [slot] |
Definition at line 1436 of file RealGUI.cpp.
References sofa::gui::qt::GraphListenerQListView::addObject(), current_Id_modifyDialog, dialog, eventNewTime(), sofa::gui::qt::GraphListenerQListView::freeze(), sofa::gui::qt::GraphListenerQListView::frozen, sofa::gui::qt::viewer::SofaViewer::getQWidget(), getScene(), sofa::simulation::tree::getSimulation(), graphListener, initial_time, list_object_added, list_object_initial, list_object_removed, map_modifyDialogOpened, newScene(), sofa::gui::qt::GraphListenerQListView::removeChild(), sofa::simulation::tree::Simulation::reset(), sofa::core::objectmodel::Context::setTime(), sofa::gui::qt::GraphListenerQListView::unfreeze(), and viewer.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::RightClickedItemInSceneView | ( | QListViewItem * | item, | |
| const QPoint & | point, | |||
| int | index | |||
| ) | [virtual, slot] |
Reimplemented from GUI.
Definition at line 383 of file RealGUI_graph.cpp.
References dialog, sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), graphActivateNode(), graphAddObject(), graphCollapse(), graphDesactivateNode(), graphExpand(), graphListener, graphModify(), graphRemoveObject(), graphSaveObject(), Ui_GUI::graphView, sofa::core::objectmodel::Context::isActive(), isErasable(), item_clicked, sofa::gui::qt::GraphListenerQListView::items, list_object, node_clicked, sofa::gui::qt::AddObject::setPath(), and viewer.
| void sofa::gui::qt::RealGUI::saveXML | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 1167 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::simulation::tree::getSimulation(), sofa::simulation::tree::Simulation::printXML(), and viewer.
| void sofa::gui::qt::RealGUI::screenshot | ( | ) | [slot] |
Definition at line 979 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::getSaveFileName(), sofa::gui::qt::viewer::SofaViewer::screenshot(), sofa::gui::qt::viewer::SofaViewer::screenshotName(), sofa::gui::qt::viewer::SofaViewer::setPrefix(), and viewer.
Referenced by addViewer().
| void sofa::gui::qt::RealGUI::setDt | ( | const QString & | value | ) | [slot] |
| void sofa::gui::qt::RealGUI::setDt | ( | double | value | ) | [slot] |
Definition at line 1417 of file RealGUI.cpp.
References sofa::simulation::Node::getContext(), getScene(), and sofa::core::objectmodel::BaseContext::setDt().
| void sofa::gui::qt::RealGUI::setExportGnuplot | ( | bool | exp | ) | [slot] |
Definition at line 1557 of file RealGUI.cpp.
References sofa::simulation::tree::Simulation::exportGnuplot(), getScene(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Context::getTime(), sofa::simulation::tree::Simulation::initGnuplot(), and m_exportGnuplot.
Referenced by editGnuplotDirectory(), fileOpen(), and RealGUI().
| void sofa::gui::qt::RealGUI::setGUI | ( | void | ) | [private] |
Definition at line 1224 of file RealGUI.cpp.
References sofa::gui::qt::viewer::SofaViewer::helpString(), Ui_GUI::textEdit1, and viewer.
Referenced by addViewer().
| void sofa::gui::qt::RealGUI::setPixmap | ( | std::string | pixmap_filename, | |
| QPushButton * | b | |||
| ) | [protected] |
Definition at line 484 of file RealGUI.cpp.
References sofa::helper::system::DataRepository.
Referenced by RealGUI(), and slot_playforward().
| void sofa::gui::qt::RealGUI::setRecordFinalTime | ( | const double | time | ) | [protected] |
Definition at line 345 of file RealGUI_record.cpp.
References finalTime.
Referenced by clearRecord(), and eventNewTime().
| void sofa::gui::qt::RealGUI::setRecordInitialTime | ( | const double | time | ) | [protected] |
Definition at line 339 of file RealGUI_record.cpp.
References initialTime.
Referenced by clearRecord().
| void sofa::gui::qt::RealGUI::setRecordTime | ( | const double | time | ) | [protected] |
Definition at line 351 of file RealGUI_record.cpp.
References getRecordTime(), loadRecordTime, and setTimeSimulation().
Referenced by clearRecord(), eventNewTime(), slot_backward(), slot_forward(), slot_loadrecord_timevalue(), slot_sliderValue(), slot_stepbackward(), and slot_stepforward().
| void sofa::gui::qt::RealGUI::setScene | ( | Node * | groot, | |
| const char * | filename = NULL | |||
| ) | [virtual] |
Definition at line 908 of file RealGUI.cpp.
References sofa::gui::qt::DisplayFlagWidget::BEHAVIOR, sofa::gui::qt::DisplayFlagWidget::BOUNDING, clearGraph(), clearRecord(), sofa::gui::qt::DisplayFlagWidget::COLLISION, displayFlag, Ui_GUI::dtEdit, eventNewTime(), sofa::simulation::Node::execute(), sofa::gui::qt::DisplayFlagWidget::FORCEFIELD, sofa::core::objectmodel::BaseContext::getAnimate(), sofa::simulation::Node::getContext(), sofa::core::objectmodel::Context::getDt(), sofa::core::objectmodel::BaseContext::getShowBehaviorModels(), sofa::core::objectmodel::BaseContext::getShowBoundingCollisionModels(), sofa::core::objectmodel::BaseContext::getShowCollisionModels(), sofa::core::objectmodel::BaseContext::getShowForceFields(), sofa::core::objectmodel::BaseContext::getShowInteractionForceFields(), sofa::core::objectmodel::BaseContext::getShowMappings(), sofa::core::objectmodel::BaseContext::getShowMechanicalMappings(), sofa::core::objectmodel::BaseContext::getShowNormals(), sofa::core::objectmodel::BaseContext::getShowVisualModels(), sofa::core::objectmodel::BaseContext::getShowWireFrame(), sofa::core::objectmodel::Context::getTime(), initDesactivatedNode(), initial_time, sofa::gui::qt::DisplayFlagWidget::INTERACTION, sofa::gui::qt::DisplayFlagWidget::MAPPING, sofa::gui::qt::DisplayFlagWidget::MECHANICALMAPPING, sofa::gui::qt::DisplayFlagWidget::NORMALS, record, record_simulation, sofa::gui::qt::viewer::SofaViewer::resetView(), sofa::gui::qt::DisplayFlagWidget::setFlag(), sofa::gui::qt::viewer::SofaViewer::setScene(), setTitle(), Ui_GUI::startButton, tabInstrument, Ui_GUI::tabs, updateRecentlyOpened(), viewer, sofa::gui::qt::DisplayFlagWidget::VISUAL, and sofa::gui::qt::DisplayFlagWidget::WIREFRAME.
Referenced by CreateGUI(), fileOpen(), and sofa::gui::qt::MainLoop().
| void sofa::gui::qt::RealGUI::setTimeSimulation | ( | const double | time | ) | [protected] |
Definition at line 359 of file RealGUI_record.cpp.
References sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::core::objectmodel::Context::setTime(), timeLabel, and viewer.
Referenced by setRecordTime().
| void sofa::gui::qt::RealGUI::setTitle | ( | std::string | windowTitle | ) | [virtual] |
| bool sofa::gui::qt::RealGUI::setViewer | ( | const char * | name | ) | [private] |
Definition at line 674 of file RealGUI.cpp.
References addViewer(), sofa::gui::qt::viewer::qtogre::QtOgreViewer::DisableViewer(), sofa::gui::qt::viewer::qgl::QtGLViewer::DisableViewer(), sofa::gui::qt::viewer::qt::QtViewer::DisableViewer(), sofa::gui::qt::viewer::qtogre::QtOgreViewer::EnableViewer(), sofa::gui::qt::viewer::qgl::QtGLViewer::EnableViewer(), sofa::gui::qt::viewer::qt::QtViewer::EnableViewer(), fileOpen(), fileOpenSimu(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), sofa::simulation::tree::getSimulation(), graphListener, Ui_GUI::graphView, left_stack, sofa::simulation::tree::Simulation::unload(), viewer, and viewerName.
Referenced by viewerOGRE(), viewerOpenGL(), and viewerQGLViewer().
| bool sofa::gui::qt::RealGUI::setWriteSceneName | ( | ) | [private] |
Definition at line 91 of file RealGUI_record.cpp.
References sofa::helper::system::SetDirectory::GetFileName(), sofa::helper::system::SetDirectory::GetParentDir(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), record_directory, simulation_name, viewer, and writeSceneName.
Referenced by slot_recordSimulation().
Definition at line 1795 of file RealGUI.cpp.
References sofa::gui::qt::DisplayFlagWidget::ALL, sofa::gui::qt::DisplayFlagWidget::BEHAVIOR, sofa::gui::qt::DisplayFlagWidget::BOUNDING, sofa::gui::qt::DisplayFlagWidget::COLLISION, sofa::gui::qt::DisplayFlagWidget::FORCEFIELD, sofa::simulation::Node::getContext(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), getScene(), sofa::simulation::tree::getSimulation(), sofa::gui::qt::DisplayFlagWidget::INTERACTION, sofa::gui::qt::DisplayFlagWidget::MAPPING, sofa::gui::qt::DisplayFlagWidget::MECHANICALMAPPING, sofa::gui::qt::DisplayFlagWidget::NORMALS, sofa::core::objectmodel::BaseContext::setShowBehaviorModels(), sofa::core::objectmodel::BaseContext::setShowBoundingCollisionModels(), sofa::core::objectmodel::BaseContext::setShowCollisionModels(), sofa::core::objectmodel::BaseContext::setShowForceFields(), sofa::core::objectmodel::BaseContext::setShowInteractionForceFields(), sofa::core::objectmodel::BaseContext::setShowMappings(), sofa::core::objectmodel::BaseContext::setShowMechanicalMappings(), sofa::core::objectmodel::BaseContext::setShowNormals(), sofa::core::objectmodel::BaseContext::setShowVisualModels(), sofa::core::objectmodel::BaseContext::setShowWireFrame(), sofa::simulation::tree::Simulation::updateVisualContext(), viewer, sofa::gui::qt::DisplayFlagWidget::VISUAL, and sofa::gui::qt::DisplayFlagWidget::WIREFRAME.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::slot_backward | ( | ) | [slot] |
Definition at line 126 of file RealGUI_record.cpp.
References getRecordInitialTime(), loadSimulation(), setRecordTime(), slot_sliderValue(), and timeSlider.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::slot_forward | ( | ) | [slot] |
Definition at line 233 of file RealGUI_record.cpp.
References getRecordFinalTime(), setRecordTime(), slot_sliderValue(), and timeSlider.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::slot_loadrecord_timevalue | ( | ) | [slot] |
Definition at line 254 of file RealGUI_record.cpp.
References getRecordFinalTime(), getRecordInitialTime(), getRecordTime(), playforward_record, setRecordTime(), slot_playforward(), slot_sliderValue(), and timeSlider.
Referenced by RealGUI(), slot_stepbackward(), and slot_stepforward().
| void sofa::gui::qt::RealGUI::slot_playforward | ( | ) | [slot] |
Definition at line 201 of file RealGUI_record.cpp.
References loadSimulation(), playforward_record, setPixmap(), timerRecordStep, and timeSlider.
Referenced by RealGUI(), and slot_loadrecord_timevalue().
| void sofa::gui::qt::RealGUI::slot_recordSimulation | ( | bool | value | ) | [slot] |
Definition at line 139 of file RealGUI_record.cpp.
References addReadState(), addWriteState(), clearRecord(), sofa::helper::system::DataRepository, Ui_GUI::dtEdit, sofa::simulation::Visitor::execute(), finalTime, sofa::helper::system::SetDirectory::GetFileName(), sofa::gui::qt::viewer::SofaViewer::getScene(), getScene(), sofa::gui::qt::viewer::SofaViewer::getSceneFileName(), initialTime, playpauseGUI(), record, record_directory, record_simulation, setWriteSceneName(), simulation_name, viewer, and writeSceneName.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::slot_sliderValue | ( | int | value | ) | [slot] |
Definition at line 242 of file RealGUI_record.cpp.
References getRecordFinalTime(), getRecordInitialTime(), initial_time, loadSimulation(), setRecordTime(), and timeSlider.
Referenced by RealGUI(), slot_backward(), slot_forward(), and slot_loadrecord_timevalue().
| void sofa::gui::qt::RealGUI::slot_stepbackward | ( | ) | [slot] |
Definition at line 187 of file RealGUI_record.cpp.
References Ui_GUI::dtEdit, getRecordInitialTime(), getRecordTime(), playforward_record, setRecordTime(), and slot_loadrecord_timevalue().
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::slot_stepforward | ( | ) | [slot] |
Definition at line 224 of file RealGUI_record.cpp.
References Ui_GUI::dtEdit, getRecordTime(), setRecordTime(), slot_loadrecord_timevalue(), and timeSlider.
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::step | ( | ) | [slot] |
Definition at line 1264 of file RealGUI.cpp.
References _animationOBJ, _animationOBJcounter, sofa::simulation::tree::Simulation::animate(), currentTab, sofa::simulation::tree::Simulation::dumpState(), eventNewStep(), eventNewTime(), sofa::simulation::tree::Simulation::exportGnuplot(), exportOBJ(), sofa::gui::qt::viewer::SofaViewer::getQWidget(), sofa::gui::qt::viewer::SofaViewer::getScene(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Context::getTime(), graphCreateStats(), m_dumpState, m_dumpStateStream, m_exportGnuplot, newStep(), sofa::gui::qt::viewer::SofaViewer::ready(), Ui_GUI::TabStats, viewer, and sofa::gui::qt::viewer::SofaViewer::wait().
Referenced by RealGUI().
| void sofa::gui::qt::RealGUI::transformObject | ( | Node * | node, | |
| double | dx, | |||
| double | dy, | |||
| double | dz, | |||
| double | rx, | |||
| double | ry, | |||
| double | rz, | |||
| double | scale = 1.0 | |||
| ) | [slot] |
Definition at line 1666 of file RealGUI.cpp.
References sofa::simulation::Visitor::execute(), sofa::simulation::TransformationVisitor::setRotation(), sofa::simulation::TransformationVisitor::setScale(), and sofa::simulation::TransformationVisitor::setTranslation().
Referenced by loadObject().
| void sofa::gui::qt::RealGUI::updateRecentlyOpened | ( | std::string | fileLoaded | ) | [slot] |
Definition at line 436 of file RealGUI.cpp.
References sofa::helper::system::DataRepository, and Ui_GUI::recentlyOpened.
Referenced by RealGUI(), and setScene().
| void sofa::gui::qt::RealGUI::viewerOGRE | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 666 of file RealGUI.cpp.
References setViewer(), Ui_GUI::viewerOGREAction, Ui_GUI::viewerOpenGLAction, and Ui_GUI::viewerQGLViewerAction.
| void sofa::gui::qt::RealGUI::viewerOpenGL | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 650 of file RealGUI.cpp.
References setViewer(), Ui_GUI::viewerOGREAction, Ui_GUI::viewerOpenGLAction, and Ui_GUI::viewerQGLViewerAction.
| void sofa::gui::qt::RealGUI::viewerQGLViewer | ( | ) | [virtual] |
Reimplemented from GUI.
Definition at line 658 of file RealGUI.cpp.
References setViewer(), Ui_GUI::viewerOGREAction, Ui_GUI::viewerOpenGLAction, and Ui_GUI::viewerQGLViewerAction.
bool sofa::gui::qt::RealGUI::_animationOBJ [protected] |
Definition at line 233 of file RealGUI.h.
Referenced by init(), keyPressEvent(), loadSimulation(), and step().
int sofa::gui::qt::RealGUI::_animationOBJcounter [protected] |
Definition at line 233 of file RealGUI.h.
Referenced by exportOBJ(), init(), keyPressEvent(), loadSimulation(), and step().
QPushButton* sofa::gui::qt::RealGUI::backward_record [protected] |
void* sofa::gui::qt::RealGUI::current_Id_modifyDialog [private] |
Definition at line 297 of file RealGUI.h.
Referenced by fileOpen(), graphModify(), init(), and resetScene().
QWidget* sofa::gui::qt::RealGUI::currentTab [protected] |
Definition at line 237 of file RealGUI.h.
Referenced by clearGraph(), currentTabChanged(), loadObject(), and step().
AddObject* sofa::gui::qt::RealGUI::dialog [protected] |
Definition at line 277 of file RealGUI.h.
Referenced by fileOpen(), graphAddObject(), resetScene(), and RightClickedItemInSceneView().
QLabel* sofa::gui::qt::RealGUI::finalTime [protected] |
Definition at line 268 of file RealGUI.h.
Referenced by fileOpenSimu(), getRecordFinalTime(), RealGUI(), setRecordFinalTime(), and slot_recordSimulation().
QPushButton* sofa::gui::qt::RealGUI::forward_record [protected] |
QLabel* sofa::gui::qt::RealGUI::fpsLabel [protected] |
int sofa::gui::qt::RealGUI::frameCounter [private] |
std::string sofa::gui::qt::RealGUI::gnuplot_directory [protected] |
Definition at line 273 of file RealGUI.h.
Referenced by editGnuplotDirectory(), fileOpen(), and init().
Definition at line 240 of file RealGUI.h.
Referenced by clearGraph(), currentTabChanged(), fileOpen(), graphModify(), graphRemoveObject(), initDesactivatedNode(), isErasable(), loadObject(), resetScene(), RightClickedItemInSceneView(), and setViewer().
float sofa::gui::qt::RealGUI::initial_time [private] |
Definition at line 303 of file RealGUI.h.
Referenced by clearRecord(), resetScene(), setScene(), and slot_sliderValue().
QLabel* sofa::gui::qt::RealGUI::initialTime [protected] |
Definition at line 267 of file RealGUI.h.
Referenced by fileOpenSimu(), getRecordInitialTime(), RealGUI(), setRecordInitialTime(), and slot_recordSimulation().
QListViewItem* sofa::gui::qt::RealGUI::item_clicked [protected] |
Definition at line 241 of file RealGUI.h.
Referenced by DoubleClickeItemInSceneView(), graphActivateNode(), graphAddObject(), graphCollapse(), graphDesactivateNode(), graphExpand(), graphModify(), graphRemoveObject(), graphSaveObject(), init(), initDesactivatedNode(), loadObject(), and RightClickedItemInSceneView().
std::vector<std::pair<core::objectmodel::Base*, Q3ListViewItem*> > sofa::gui::qt::RealGUI::items_stats [private] |
Definition at line 295 of file RealGUI.h.
Referenced by graphAddCollisionModelsStat(), graphCreateStats(), and graphSummary().
QWidgetStack* sofa::gui::qt::RealGUI::left_stack [protected] |
std::vector< std::string > sofa::gui::qt::RealGUI::list_object [private] |
std::list< GNode *> sofa::gui::qt::RealGUI::list_object_added [private] |
std::list< GNode *> sofa::gui::qt::RealGUI::list_object_initial [private] |
std::list< GNode *> sofa::gui::qt::RealGUI::list_object_removed [private] |
Definition at line 308 of file RealGUI.h.
Referenced by fileOpen(), graphRemoveObject(), and resetScene().
QLineEdit* sofa::gui::qt::RealGUI::loadRecordTime [protected] |
Definition at line 266 of file RealGUI.h.
Referenced by fileOpenSimu(), getRecordTime(), RealGUI(), and setRecordTime().
bool sofa::gui::qt::RealGUI::m_displayComputationTime [protected] |
Definition at line 234 of file RealGUI.h.
Referenced by displayComputationTime(), eventNewStep(), fileOpen(), and init().
bool sofa::gui::qt::RealGUI::m_dumpState [protected] |
Definition at line 230 of file RealGUI.h.
Referenced by dumpState(), init(), loadSimulation(), and step().
std::ofstream* sofa::gui::qt::RealGUI::m_dumpStateStream [protected] |
Definition at line 231 of file RealGUI.h.
Referenced by dumpState(), init(), loadSimulation(), and step().
bool sofa::gui::qt::RealGUI::m_exportGnuplot [protected] |
Definition at line 232 of file RealGUI.h.
Referenced by init(), loadSimulation(), setExportGnuplot(), and step().
std::map< void*, core::objectmodel::Base* > sofa::gui::qt::RealGUI::map_modifyDialogOpened [private] |
Definition at line 292 of file RealGUI.h.
Referenced by fileOpen(), graphModify(), init(), isErasable(), modifyUnlock(), and resetScene().
std::map< void*, QDialog* > sofa::gui::qt::RealGUI::map_modifyObjectWindow [private] |
GNode* sofa::gui::qt::RealGUI::node_clicked [protected] |
Definition at line 242 of file RealGUI.h.
Referenced by graphActivateNode(), graphAddObject(), graphDesactivateNode(), graphRemoveObject(), graphSaveObject(), init(), initDesactivatedNode(), loadObject(), and RightClickedItemInSceneView().
float sofa::gui::qt::RealGUI::object_Scale[2] [private] |
QPushButton* sofa::gui::qt::RealGUI::playforward_record [protected] |
Definition at line 262 of file RealGUI.h.
Referenced by loadSimulation(), RealGUI(), slot_loadrecord_timevalue(), slot_playforward(), and slot_stepbackward().
QPushButton* sofa::gui::qt::RealGUI::record [protected] |
Definition at line 258 of file RealGUI.h.
Referenced by RealGUI(), setScene(), and slot_recordSimulation().
std::string sofa::gui::qt::RealGUI::record_directory [protected] |
Definition at line 272 of file RealGUI.h.
Referenced by editRecordDirectory(), fileOpenSimu(), init(), setWriteSceneName(), and slot_recordSimulation().
Definition at line 310 of file RealGUI.h.
Referenced by eventNewTime(), setScene(), and slot_recordSimulation().
std::string sofa::gui::qt::RealGUI::simulation_name [protected] |
Definition at line 271 of file RealGUI.h.
Referenced by fileOpenSimu(), setWriteSceneName(), and slot_recordSimulation().
QPushButton* sofa::gui::qt::RealGUI::stepbackward_record [protected] |
QPushButton* sofa::gui::qt::RealGUI::stepforward_record [protected] |
QWidget* sofa::gui::qt::RealGUI::tabInstrument [protected] |
QLabel* sofa::gui::qt::RealGUI::timeLabel [protected] |
Definition at line 246 of file RealGUI.h.
Referenced by eventNewTime(), RealGUI(), and setTimeSimulation().
QTimer* sofa::gui::qt::RealGUI::timerRecordStep [protected] |
QTimer* sofa::gui::qt::RealGUI::timerStep [protected] |
QSlider* sofa::gui::qt::RealGUI::timeSlider [protected] |
Definition at line 269 of file RealGUI.h.
Referenced by clearRecord(), eventNewTime(), fileOpenSimu(), loadSimulation(), RealGUI(), slot_backward(), slot_forward(), slot_loadrecord_timevalue(), slot_playforward(), slot_sliderValue(), and slot_stepforward().
Definition at line 118 of file RealGUI.h.
Referenced by addReadState(), addViewer(), addWriteState(), animate(), changeInstrument(), clearGraph(), clearRecord(), currentSimulation(), sofa::gui::qt::CurrentSimulation(), currentTabChanged(), editGnuplotDirectory(), editRecordDirectory(), exportOBJ(), fileOpen(), fileReload(), fileSave(), fileSaveAs(), getScene(), graphActivateNode(), graphDesactivateNode(), graphRemoveObject(), loadObject(), loadSimulation(), modifyUnlock(), redraw(), sofa::gui::qt::Redraw(), resetScene(), RightClickedItemInSceneView(), saveXML(), screenshot(), setGUI(), setScene(), setTimeSimulation(), setViewer(), setWriteSceneName(), showhideElements(), slot_recordSimulation(), and step().
| const char* sofa::gui::qt::RealGUI::viewerName |
std::string sofa::gui::qt::RealGUI::writeSceneName [protected] |
Definition at line 274 of file RealGUI.h.
Referenced by addReadState(), addWriteState(), fileOpen(), fileOpenSimu(), init(), setWriteSceneName(), and slot_recordSimulation().
1.5.7.1