#include <SimpleGUI.h>


Definition at line 66 of file SimpleGUI.h.
anonymous enum [private] |
Definition at line 115 of file SimpleGUI.h.
anonymous enum [private] |
anonymous enum [private] |
Definition at line 212 of file SimpleGUI.h.
| sofa::gui::glut::SimpleGUI::SimpleGUI | ( | ) |
Definition at line 273 of file SimpleGUI.cpp.
References _animationOBJ, _arrow, _axis, _background, _disk, _facetNormal, _materialMode, _mouseInteractorMoving, _mouseInteractorNewQuat, _mouseInteractorRotationMode, _mouseInteractorSavedPosX, _mouseInteractorSavedPosY, _mouseInteractorTrackball, _mouseInteractorTranslationMode, _mouseRotate, _mouseTrans, _moving, _navigationMode, _newQuat, _newTrackball, _numOBJmodels, _panSpeed, _previousEyePos, _renderingMode, _shadow, _sphere, _spinning, _tube, _video, _waitForRender, _zoom, _zoomSpeed, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), groot, initTexturesDone, instance, interactor, m_displayComputationTime, m_dumpState, m_dumpStateStream, m_exportGnuplot, m_isAltPressed, m_isControlPressed, m_isShiftPressed, sceneBBoxIsValid, texLogo, and TRACKBALL_MODE.
Referenced by CreateGUI().
| sofa::gui::glut::SimpleGUI::~SimpleGUI | ( | ) | [protected] |
The destructor should not be called directly. Use the closeGUI() method instead.
Definition at line 360 of file SimpleGUI.cpp.
References instance.
| void sofa::gui::glut::SimpleGUI::animate | ( | void | ) |
Definition at line 1584 of file SimpleGUI.cpp.
References _currentQuat, _newQuat, _spinning, and redraw().
Referenced by glut_idle().
Definition at line 1645 of file SimpleGUI.cpp.
References _H, _mouseInteractorAbsolutePosition, _mouseInteractorCurrentQuat, _mouseInteractorMoving, _mouseInteractorNewQuat, _mouseInteractorRelativePosition, _mouseInteractorRotationMode, _mouseInteractorSavedPosX, _mouseInteractorSavedPosY, _mouseInteractorTrackball, _mouseInteractorTranslationMode, _mouseRotate, _mouseTrans, _newQuat, _translationMode, _W, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), sofa::helper::Quater< Real >::normalize(), sofa::helper::Quater< Real >::quatVectMult(), redraw(), XY_TRANSLATION, and Z_TRANSLATION.
Referenced by mouseEvent().
Definition at line 1599 of file SimpleGUI.cpp.
References _currentQuat, _currentTrackball, _H, _mouseX, _mouseY, _moving, _navigationMode, _newQuat, _panSpeed, _previousEyePos, _savedMouseX, _savedMouseY, _sceneTransform, _W, _zoomSpeed, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), PAN_MODE, redraw(), TRACKBALL_MODE, sofa::helper::gl::Transformation::translation, and ZOOM_MODE.
Referenced by mouseEvent().
| void sofa::gui::glut::SimpleGUI::ApplyShadowMap | ( | ) | [protected] |
Definition at line 619 of file SimpleGUI.cpp.
References _sceneTransform, sofa::helper::gl::Transformation::Apply(), DisplayOBJs(), and lastModelviewMatrix.
Referenced by DrawScene().
| void sofa::gui::glut::SimpleGUI::calcProjection | ( | ) | [protected] |
Definition at line 1350 of file SimpleGUI.cpp.
References _axis, _H, _sceneTransform, _W, sofa::simulation::tree::Simulation::computeBBox(), sofa::simulation::tree::getSimulation(), groot, lastProjectionMatrix, lastViewport, sceneBBoxIsValid, sceneMaxBBox, sceneMinBBox, and sofa::helper::gl::Transformation::translation.
Referenced by DrawScene(), and resizeGL().
| int sofa::gui::glut::SimpleGUI::closeGUI | ( | ) | [virtual] |
| SofaGUI * sofa::gui::glut::SimpleGUI::CreateGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options, | |||
| sofa::simulation::Node * | groot = NULL, |
|||
| const char * | filename = NULL | |||
| ) | [static] |
Definition at line 105 of file SimpleGUI.cpp.
References sofa::simulation::Node::execute(), glut_display(), glut_idle(), glut_keyboard(), glut_motion(), glut_mouse(), glut_reshape(), glut_special(), sofa::gui::qt::gui, initializeGL(), setScene(), and SimpleGUI().
| void sofa::gui::glut::SimpleGUI::CreateOBJmodelDisplayList | ( | int | material_mode | ) | [private] |
| sofa::simulation::tree::GNode* sofa::gui::glut::SimpleGUI::currentSimulation | ( | ) | [inline, virtual] |
| void sofa::gui::glut::SimpleGUI::Display3DText | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| char * | string | |||
| ) | [private] |
Definition at line 706 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::displayComputationTime | ( | bool | value | ) |
Definition at line 2476 of file SimpleGUI.cpp.
References groot, m_displayComputationTime, and sofa::simulation::Node::setLogTime().
| void sofa::gui::glut::SimpleGUI::DisplayMenu | ( | void | ) | [private] |
| void sofa::gui::glut::SimpleGUI::DisplayOBJs | ( | bool | shadowPass = false |
) | [private] |
Definition at line 1043 of file SimpleGUI.cpp.
References _axis, sofa::simulation::tree::Simulation::draw(), DrawAxis(), DrawBox(), sofa::simulation::tree::Simulation::drawShadows(), sofa::simulation::tree::getSimulation(), groot, sofa::simulation::tree::Simulation::initTextures(), initTexturesDone, sofa::defaulttype::Vec< N, real >::ptr(), sceneMaxBBox, and sceneMinBBox.
Referenced by ApplyShadowMap(), and DrawScene().
| void sofa::gui::glut::SimpleGUI::DrawAutomate | ( | ) | [private] |
| void sofa::gui::glut::SimpleGUI::DrawAxis | ( | double | xpos, | |
| double | ypos, | |||
| double | zpos, | |||
| double | arrowSize | |||
| ) | [private] |
| void sofa::gui::glut::SimpleGUI::DrawBox | ( | double * | minBBox, | |
| double * | maxBBox, | |||
| double | r = 0.0 | |||
| ) | [private] |
Definition at line 806 of file SimpleGUI.cpp.
References _sphere, _tube, and norm().
Referenced by DisplayOBJs().
| void sofa::gui::glut::SimpleGUI::DrawLogo | ( | void | ) | [private] |
Definition at line 995 of file SimpleGUI.cpp.
References _H, _W, sofa::helper::gl::Texture::bind(), sofa::helper::io::Image::getHeight(), sofa::helper::gl::Texture::getImage(), sofa::helper::io::Image::getWidth(), and texLogo.
Referenced by DrawScene().
| void sofa::gui::glut::SimpleGUI::DrawScene | ( | void | ) | [private] |
Definition at line 1112 of file SimpleGUI.cpp.
References _background, _lightPosition, _newQuat, _renderingMode, _sceneTransform, _shadow, sofa::helper::gl::Transformation::Apply(), ApplyShadowMap(), sofa::helper::Quater< Real >::buildRotationMatrix(), calcProjection(), DisplayMenu(), DisplayOBJs(), DrawLogo(), GetHeight(), GetWidth(), lastModelviewMatrix, lastProjectionMatrix, sofa::helper::gl::Transformation::rotation, and StoreLightMatrices().
Referenced by paintGL().
| void sofa::gui::glut::SimpleGUI::DrawXYPlane | ( | double | zo, | |
| double | xmin, | |||
| double | xmax, | |||
| double | ymin, | |||
| double | ymax, | |||
| double | step | |||
| ) | [private] |
Definition at line 911 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::DrawXZPlane | ( | double | yo, | |
| double | xmin, | |||
| double | xmax, | |||
| double | zmin, | |||
| double | zmax, | |||
| double | step | |||
| ) | [private] |
Definition at line 969 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::DrawYZPlane | ( | double | xo, | |
| double | ymin, | |||
| double | ymax, | |||
| double | zmin, | |||
| double | zmax, | |||
| double | step | |||
| ) | [private] |
Definition at line 940 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::dumpState | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::eventNewStep | ( | ) |
Definition at line 1510 of file SimpleGUI.cpp.
References sofa::simulation::Node::getObjectTime(), sofa::helper::system::thread::CTime::getRefTicksPerSec(), sofa::helper::system::thread::CTime::getRefTime(), sofa::simulation::Node::getTimeFreq(), sofa::simulation::Node::getTotalTime(), sofa::helper::gettypename(), sofa::simulation::Node::getVisitorTime(), groot, m_displayComputationTime, sofa::simulation::Node::resetTime(), sceneFileName, and sofa::simulation::Node::NodeTimer::tTree.
Referenced by step().
| void sofa::gui::glut::SimpleGUI::exportOBJ | ( | bool | exportMTL = true |
) |
Definition at line 2621 of file SimpleGUI.cpp.
References _animationOBJcounter, sofa::simulation::tree::Simulation::exportOBJ(), sofa::simulation::tree::getSimulation(), groot, and sceneFileName.
Referenced by keyPressEvent(), and step().
| int sofa::gui::glut::SimpleGUI::GetHeight | ( | ) | [inline] |
| sofa::simulation::tree::GNode* sofa::gui::glut::SimpleGUI::getScene | ( | ) | [inline] |
Definition at line 229 of file SimpleGUI.h.
References groot.
Referenced by currentSimulation(), and glut_idle().
| const std::string& sofa::gui::glut::SimpleGUI::getSceneFileName | ( | ) | [inline] |
| int sofa::gui::glut::SimpleGUI::GetWidth | ( | ) | [inline] |
| void sofa::gui::glut::SimpleGUI::glut_display | ( | ) | [static] |
Definition at line 159 of file SimpleGUI.cpp.
References instance, and paintGL().
Referenced by CreateGUI().
| void sofa::gui::glut::SimpleGUI::glut_idle | ( | ) | [static] |
Definition at line 213 of file SimpleGUI.cpp.
References animate(), sofa::core::objectmodel::BaseContext::getAnimate(), sofa::simulation::tree::GNode::getContext(), getScene(), instance, sofa::helper::system::thread::CTime::sleep(), and step().
Referenced by CreateGUI().
Definition at line 177 of file SimpleGUI.cpp.
References instance, keyPressEvent(), and updateModifiers().
Referenced by CreateGUI().
Definition at line 195 of file SimpleGUI.cpp.
References instance, mouseEvent(), and MouseMove.
Referenced by CreateGUI().
Definition at line 186 of file SimpleGUI.cpp.
References instance, MouseButtonPress, MouseButtonRelease, mouseEvent(), and updateModifiers().
Referenced by CreateGUI().
Definition at line 169 of file SimpleGUI.cpp.
References instance, and resizeGL().
Referenced by CreateGUI().
Definition at line 204 of file SimpleGUI.cpp.
References instance, keyPressEvent(), and updateModifiers().
Referenced by CreateGUI().
| void sofa::gui::glut::SimpleGUI::InitGFX | ( | void | ) | [private] |
| int sofa::gui::glut::SimpleGUI::InitGUI | ( | const char * | name, | |
| const std::vector< std::string > & | options | |||
| ) | [static] |
Definition at line 100 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::initializeGL | ( | void | ) |
Definition at line 369 of file SimpleGUI.cpp.
References _beginTime, _clearBuffer, _glshadow, _lightModelTwoSides, _lightPosition, _shadow, CreateRenderTexture(), sofa::helper::system::DataRepository, sofa::helper::system::thread::CTime::getTime(), sofa::helper::gl::Texture::init(), sofa::helper::gl::GLSLShader::InitGLSL(), SwitchToPresetView(), and texLogo.
Referenced by CreateGUI().
| bool sofa::gui::glut::SimpleGUI::isAltPressed | ( | ) | const [protected] |
Definition at line 1742 of file SimpleGUI.cpp.
References m_isAltPressed.
Referenced by mouseEvent().
| bool sofa::gui::glut::SimpleGUI::isControlPressed | ( | ) | const [protected] |
Definition at line 1732 of file SimpleGUI.cpp.
References m_isControlPressed.
Referenced by keyPressEvent(), keyReleaseEvent(), and mouseEvent().
| bool sofa::gui::glut::SimpleGUI::isShiftPressed | ( | ) | const [protected] |
Definition at line 1737 of file SimpleGUI.cpp.
References m_isShiftPressed.
Referenced by mouseEvent().
| void sofa::gui::glut::SimpleGUI::keyPressEvent | ( | int | k | ) |
Definition at line 1754 of file SimpleGUI.cpp.
References _animationOBJ, _animationOBJcounter, _axis, _background, _glshadow, _mouseInteractorRotationMode, _mouseInteractorTranslationMode, _newQuat, _sceneTransform, _shadow, _video, capture, exportOBJ(), sofa::simulation::tree::getSimulation(), groot, isControlPressed(), sofa::simulation::tree::Simulation::load(), playpause(), sofa::simulation::Node::propagateEvent(), redraw(), saveView(), sceneFileName, screenshot(), sofa::helper::gl::Capture::setCounter(), setScene(), and step().
Referenced by glut_keyboard(), and glut_special().
| void sofa::gui::glut::SimpleGUI::keyReleaseEvent | ( | int | k | ) |
Definition at line 1892 of file SimpleGUI.cpp.
References groot, isControlPressed(), and sofa::simulation::Node::propagateEvent().
| int sofa::gui::glut::SimpleGUI::mainLoop | ( | ) | [virtual] |
Definition at line 1903 of file SimpleGUI.cpp.
References _currentQuat, _lightPosition, _mouseInteractorMoving, _mouseInteractorRotationMode, _mouseInteractorSavedPosX, _mouseInteractorSavedPosY, _mouseInteractorTranslationMode, _mouseX, _mouseY, _moving, _navigationMode, _newTrackball, _previousEyePos, _savedMouseX, _savedMouseY, _sceneTransform, _spinning, _translationMode, sofa::simulation::tree::GNode::addChild(), sofa::simulation::tree::GNode::addObject(), ApplyMouseInteractorTransformation(), ApplySceneTransformation(), BTLEFT_MODE, BTMIDDLE_MODE, BTRIGHT_MODE, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::Quater< Real >::fromMatrix(), sofa::core::objectmodel::BaseContext::getAnimate(), sofa::core::objectmodel::BaseObject::getContext(), sofa::simulation::tree::GNode::getContext(), sofa::helper::gl::Trackball::GetQuaternion(), sofa::simulation::Node::getTreeObjects(), sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getX(), groot, sofa::defaulttype::Mat< L, C, real >::identity(), sofa::component::collision::RayPickInteractor::init(), interactor, isAltPressed(), isControlPressed(), isShiftPressed(), lastModelviewMatrix, lastProjectionMatrix, lastViewport, MINMOVE, MouseButtonPress, MouseButtonRelease, MouseMove, sofa::component::collision::RayPickInteractor::newEvent(), sofa::component::collision::RayPickInteractor::newPosition(), sofa::defaulttype::Vec< N, real >::normalize(), PAN_MODE, redraw(), sofa::core::objectmodel::Base::setName(), TRACKBALL_MODE, sofa::helper::gl::Transformation::translation, XY_TRANSLATION, Z_TRANSLATION, and ZOOM_MODE.
Referenced by glut_motion(), and glut_mouse().
| void sofa::gui::glut::SimpleGUI::paintGL | ( | ) |
Definition at line 1464 of file SimpleGUI.cpp.
References _background, _clearBuffer, _video, _waitForRender, DrawScene(), and screenshot().
Referenced by glut_display().
| void sofa::gui::glut::SimpleGUI::playpause | ( | ) |
Definition at line 2454 of file SimpleGUI.cpp.
References sofa::core::objectmodel::BaseContext::getAnimate(), sofa::simulation::tree::GNode::getContext(), groot, and sofa::core::objectmodel::BaseContext::setAnimate().
Referenced by keyPressEvent().
| void sofa::gui::glut::SimpleGUI::PrintString | ( | void * | font, | |
| char * | string | |||
| ) | [private] |
Definition at line 692 of file SimpleGUI.cpp.
| void sofa::gui::glut::SimpleGUI::redraw | ( | ) | [virtual] |
Implements sofa::gui::SofaGUI.
Definition at line 85 of file SimpleGUI.cpp.
Referenced by animate(), ApplyMouseInteractorTransformation(), ApplySceneTransformation(), keyPressEvent(), mouseEvent(), resetScene(), resetView(), setScene(), showBehavior(), showBoundingCollision(), showCollision(), showForceField(), showInteractionForceField(), showMapping(), showMechanicalMapping(), showNormals(), showVisual(), showWireFrame(), and step().
| void sofa::gui::glut::SimpleGUI::resetScene | ( | ) |
Definition at line 2485 of file SimpleGUI.cpp.
References sofa::simulation::tree::getSimulation(), groot, redraw(), and sofa::simulation::tree::Simulation::reset().
| void sofa::gui::glut::SimpleGUI::resetView | ( | ) |
Definition at line 1335 of file SimpleGUI.cpp.
References _H, _W, and calcProjection().
Referenced by glut_reshape().
| void sofa::gui::glut::SimpleGUI::saveView | ( | ) |
Definition at line 2500 of file SimpleGUI.cpp.
References _newQuat, _sceneTransform, sceneFileName, and sofa::helper::gl::Transformation::translation.
Referenced by keyPressEvent().
| void sofa::gui::glut::SimpleGUI::screenshot | ( | int | compression_level = -1 |
) |
Definition at line 2616 of file SimpleGUI.cpp.
References capture, and sofa::helper::gl::Capture::saveScreen().
Referenced by keyPressEvent(), and paintGL().
| void sofa::gui::glut::SimpleGUI::setExportGnuplot | ( | bool | exp | ) |
Definition at line 2679 of file SimpleGUI.cpp.
References sofa::simulation::tree::Simulation::exportGnuplot(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Context::getTime(), groot, sofa::simulation::tree::Simulation::initGnuplot(), and m_exportGnuplot.
| void sofa::gui::glut::SimpleGUI::setScene | ( | sofa::simulation::Node * | scene, | |
| const char * | filename = NULL | |||
| ) |
Definition at line 2649 of file SimpleGUI.cpp.
References capture, sofa::core::objectmodel::BaseContext::get(), sofa::simulation::tree::GNode::getContext(), groot, initTexturesDone, interactor, redraw(), sceneBBoxIsValid, sceneFileName, and sofa::helper::gl::Capture::setPrefix().
Referenced by CreateGUI(), and keyPressEvent().
| void sofa::gui::glut::SimpleGUI::showBehavior | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showBoundingCollision | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showCollision | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showForceField | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showInteractionForceField | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showMapping | ( | bool | value | ) |
Definition at line 2556 of file SimpleGUI.cpp.
References sofa::simulation::tree::GNode::getContext(), sofa::simulation::tree::getSimulation(), groot, redraw(), sofa::core::objectmodel::BaseContext::setShowMappings(), and sofa::simulation::tree::Simulation::updateVisualContext().
| void sofa::gui::glut::SimpleGUI::showMechanicalMapping | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showNormals | ( | bool | value | ) |
Definition at line 2606 of file SimpleGUI.cpp.
References sofa::simulation::tree::GNode::getContext(), sofa::simulation::tree::getSimulation(), groot, redraw(), sofa::core::objectmodel::BaseContext::setShowNormals(), and sofa::simulation::tree::Simulation::updateVisualContext().
| void sofa::gui::glut::SimpleGUI::showVisual | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::showWireFrame | ( | bool | value | ) |
| void sofa::gui::glut::SimpleGUI::step | ( | ) |
Definition at line 2421 of file SimpleGUI.cpp.
References _animationOBJ, _animationOBJcounter, _waitForRender, sofa::simulation::tree::Simulation::animate(), sofa::simulation::tree::Simulation::dumpState(), eventNewStep(), sofa::simulation::tree::Simulation::exportGnuplot(), exportOBJ(), sofa::simulation::tree::getSimulation(), sofa::core::objectmodel::Context::getTime(), groot, m_dumpState, m_dumpStateStream, m_exportGnuplot, and redraw().
Referenced by glut_idle(), and keyPressEvent().
| void sofa::gui::glut::SimpleGUI::StoreLightMatrices | ( | ) | [protected] |
Definition at line 502 of file SimpleGUI.cpp.
References _lightPosition, sofa::defaulttype::Vec< N, real >::cross(), lastProjectionMatrix, and sofa::defaulttype::Vec< N, real >::normalize().
Referenced by DrawScene().
| void sofa::gui::glut::SimpleGUI::SwitchToPresetView | ( | ) |
Definition at line 2388 of file SimpleGUI.cpp.
References _newQuat, _sceneTransform, sofa::helper::Quater< Real >::normalize(), sceneFileName, and sofa::helper::gl::Transformation::translation.
Referenced by initializeGL(), and resetView().
| void sofa::gui::glut::SimpleGUI::updateModifiers | ( | ) | [protected] |
Definition at line 1747 of file SimpleGUI.cpp.
References m_isAltPressed, m_isControlPressed, and m_isShiftPressed.
Referenced by glut_keyboard(), glut_mouse(), and glut_special().
| void sofa::gui::glut::SimpleGUI::UpdateOBJ | ( | void | ) |
GLUquadricObj* sofa::gui::glut::SimpleGUI::_arrow [private] |
bool sofa::gui::glut::SimpleGUI::_axis [private] |
Definition at line 151 of file SimpleGUI.h.
Referenced by calcProjection(), DisplayOBJs(), keyPressEvent(), and SimpleGUI().
int sofa::gui::glut::SimpleGUI::_background [private] |
Definition at line 152 of file SimpleGUI.h.
Referenced by DrawScene(), keyPressEvent(), paintGL(), and SimpleGUI().
ctime_t sofa::gui::glut::SimpleGUI::_beginTime [private] |
int sofa::gui::glut::SimpleGUI::_clearBuffer [private] |
Definition at line 267 of file SimpleGUI.h.
Referenced by animate(), ApplySceneTransformation(), and mouseEvent().
GLUquadricObj* sofa::gui::glut::SimpleGUI::_disk [private] |
GLboolean sofa::gui::glut::SimpleGUI::_facetNormal [private] |
bool sofa::gui::glut::SimpleGUI::_glshadow [private] |
int sofa::gui::glut::SimpleGUI::_H [private] |
Definition at line 136 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), ApplySceneTransformation(), calcProjection(), DisplayMenu(), DrawLogo(), GetHeight(), and resizeGL().
float sofa::gui::glut::SimpleGUI::_lightPosition[4] [private] |
Definition at line 139 of file SimpleGUI.h.
Referenced by DrawScene(), initializeGL(), mouseEvent(), and StoreLightMatrices().
GLuint sofa::gui::glut::SimpleGUI::_materialMode [private] |
Definition at line 255 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), mouseEvent(), and SimpleGUI().
Definition at line 264 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().
Definition at line 254 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), keyPressEvent(), mouseEvent(), and SimpleGUI().
Definition at line 256 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), mouseEvent(), and SimpleGUI().
Definition at line 257 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), mouseEvent(), and SimpleGUI().
Definition at line 261 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().
Definition at line 253 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), keyPressEvent(), mouseEvent(), and SimpleGUI().
Definition at line 269 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().
Definition at line 268 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().
int sofa::gui::glut::SimpleGUI::_mouseX [private] |
Definition at line 145 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
int sofa::gui::glut::SimpleGUI::_mouseY [private] |
Definition at line 145 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
bool sofa::gui::glut::SimpleGUI::_moving [private] |
Definition at line 148 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), mouseEvent(), and SimpleGUI().
Definition at line 140 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), mouseEvent(), and SimpleGUI().
Definition at line 266 of file SimpleGUI.h.
Referenced by animate(), ApplyMouseInteractorTransformation(), ApplySceneTransformation(), DrawScene(), keyPressEvent(), saveView(), SimpleGUI(), and SwitchToPresetView().
GLuint sofa::gui::glut::SimpleGUI::_numOBJmodels [private] |
float sofa::gui::glut::SimpleGUI::_panSpeed [private] |
Definition at line 156 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and SimpleGUI().
Vector3 sofa::gui::glut::SimpleGUI::_previousEyePos [private] |
Definition at line 158 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), mouseEvent(), and SimpleGUI().
int sofa::gui::glut::SimpleGUI::_savedMouseX [private] |
Definition at line 146 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
int sofa::gui::glut::SimpleGUI::_savedMouseY [private] |
Definition at line 146 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
Definition at line 157 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), ApplyShadowMap(), calcProjection(), DrawScene(), keyPressEvent(), mouseEvent(), saveView(), and SwitchToPresetView().
bool sofa::gui::glut::SimpleGUI::_shadow [private] |
Definition at line 153 of file SimpleGUI.h.
Referenced by DrawScene(), initializeGL(), keyPressEvent(), and SimpleGUI().
GLUquadricObj* sofa::gui::glut::SimpleGUI::_sphere [private] |
bool sofa::gui::glut::SimpleGUI::_spinning [private] |
Definition at line 258 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), and mouseEvent().
GLUquadricObj* sofa::gui::glut::SimpleGUI::_tube [private] |
bool sofa::gui::glut::SimpleGUI::_video [private] |
Definition at line 149 of file SimpleGUI.h.
Referenced by keyPressEvent(), paintGL(), and SimpleGUI().
int sofa::gui::glut::SimpleGUI::_W [private] |
Definition at line 136 of file SimpleGUI.h.
Referenced by ApplyMouseInteractorTransformation(), ApplySceneTransformation(), calcProjection(), DisplayMenu(), DrawLogo(), GetWidth(), and resizeGL().
float sofa::gui::glut::SimpleGUI::_zoom [private] |
float sofa::gui::glut::SimpleGUI::_zoomSpeed [private] |
Definition at line 155 of file SimpleGUI.h.
Referenced by ApplySceneTransformation(), and SimpleGUI().
Capture sofa::gui::glut::SimpleGUI::capture [private] |
Definition at line 180 of file SimpleGUI.h.
Referenced by keyPressEvent(), screenshot(), and setScene().
Definition at line 133 of file SimpleGUI.h.
Referenced by calcProjection(), displayComputationTime(), DisplayOBJs(), eventNewStep(), exportOBJ(), getScene(), keyPressEvent(), keyReleaseEvent(), mouseEvent(), playpause(), resetScene(), setExportGnuplot(), setScene(), showBehavior(), showBoundingCollision(), showCollision(), showForceField(), showInteractionForceField(), showMapping(), showMechanicalMapping(), showNormals(), showVisual(), showWireFrame(), SimpleGUI(), and step().
Definition at line 179 of file SimpleGUI.h.
Referenced by DisplayOBJs(), setScene(), and SimpleGUI().
SimpleGUI * sofa::gui::glut::SimpleGUI::instance = NULL [static] |
Definition at line 103 of file SimpleGUI.h.
Referenced by glut_display(), glut_idle(), glut_keyboard(), glut_motion(), glut_mouse(), glut_reshape(), glut_special(), SimpleGUI(), and ~SimpleGUI().
Definition at line 172 of file SimpleGUI.h.
Referenced by mouseEvent(), setScene(), and SimpleGUI().
double sofa::gui::glut::SimpleGUI::lastModelviewMatrix[16] [private] |
Definition at line 174 of file SimpleGUI.h.
Referenced by ApplyShadowMap(), DrawScene(), and mouseEvent().
double sofa::gui::glut::SimpleGUI::lastProjectionMatrix[16] [private] |
Definition at line 173 of file SimpleGUI.h.
Referenced by calcProjection(), DrawScene(), mouseEvent(), and StoreLightMatrices().
GLint sofa::gui::glut::SimpleGUI::lastViewport[4] [private] |
Definition at line 304 of file SimpleGUI.h.
Referenced by displayComputationTime(), eventNewStep(), and SimpleGUI().
bool sofa::gui::glut::SimpleGUI::m_dumpState [protected] |
std::ofstream* sofa::gui::glut::SimpleGUI::m_dumpStateStream [protected] |
bool sofa::gui::glut::SimpleGUI::m_exportGnuplot [protected] |
Definition at line 305 of file SimpleGUI.h.
Referenced by setExportGnuplot(), SimpleGUI(), and step().
bool sofa::gui::glut::SimpleGUI::m_isAltPressed [protected] |
Definition at line 301 of file SimpleGUI.h.
Referenced by isAltPressed(), SimpleGUI(), and updateModifiers().
bool sofa::gui::glut::SimpleGUI::m_isControlPressed [protected] |
Definition at line 299 of file SimpleGUI.h.
Referenced by isControlPressed(), SimpleGUI(), and updateModifiers().
bool sofa::gui::glut::SimpleGUI::m_isShiftPressed [protected] |
Definition at line 300 of file SimpleGUI.h.
Referenced by isShiftPressed(), SimpleGUI(), and updateModifiers().
Definition at line 176 of file SimpleGUI.h.
Referenced by calcProjection(), setScene(), and SimpleGUI().
std::string sofa::gui::glut::SimpleGUI::sceneFileName [private] |
Definition at line 134 of file SimpleGUI.h.
Referenced by eventNewStep(), exportOBJ(), getSceneFileName(), keyPressEvent(), saveView(), setScene(), and SwitchToPresetView().
Vector3 sofa::gui::glut::SimpleGUI::sceneMaxBBox [private] |
Vector3 sofa::gui::glut::SimpleGUI::sceneMinBBox [private] |
Texture* sofa::gui::glut::SimpleGUI::texLogo [private] |
Definition at line 170 of file SimpleGUI.h.
Referenced by DrawLogo(), initializeGL(), and SimpleGUI().
1.5.7.1