#include <QtViewer.h>


Public Slots | |
| void | resetView () |
| virtual void | saveView () |
| virtual void | setSizeW (int) |
| virtual void | setSizeH (int) |
Signals | |
| void | redrawn () |
| void | resizeW (int) |
| void | resizeH (int) |
Public Member Functions | |
| QtViewer (QWidget *parent, const char *name="") | |
| ~QtViewer () | |
| QWidget * | getQWidget () |
| bool | ready () |
| void | wait () |
| void | setScene (sofa::simulation::tree::GNode *scene, const char *filename=NULL, bool keepParams=false) |
| sofa::simulation::tree::GNode * | getScene () |
| int | GetWidth () |
| int | GetHeight () |
| void | UpdateOBJ (void) |
| void | moveRayPickInteractor (int eventX, int eventY) |
| void | ApplyMouseInteractorTransformation (int x, int y) |
| QString | helpString () |
Static Public Member Functions | |
| static int | EnableViewer () |
| Activate this class of viewer. | |
| static int | DisableViewer () |
| Disable this class of viewer. | |
Data Fields | |
| bool | _mouseInteractorTranslationMode |
| bool | _mouseInteractorRotationMode |
| int | _translationMode |
| Quaternion | _mouseInteractorCurrentQuat |
| Vector3 | _mouseInteractorAbsolutePosition |
| Trackball | _mouseInteractorTrackball |
Static Public Attributes | |
| static Quaternion | _mouseInteractorNewQuat |
| static Vector3 | _mouseInteractorRelativePosition |
| static Quaternion | _newQuat |
| static Quaternion | _currentQuat |
| static bool | _mouseTrans = false |
| static bool | _mouseRotate = false |
Protected Member Functions | |
| void | calcProjection () |
| void | initializeGL () |
| void | paintGL () |
| void | resizeGL (int w, int h) |
| void | ApplyShadowMap () |
| void | CreateRenderTexture (GLuint &textureID, int sizeX, int sizeY, int channels, int type) |
| void | StoreLightMatrices () |
| virtual void | keyPressEvent (QKeyEvent *e) |
| virtual void | keyReleaseEvent (QKeyEvent *e) |
| virtual void | mousePressEvent (QMouseEvent *e) |
| virtual void | mouseReleaseEvent (QMouseEvent *e) |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
| virtual void | wheelEvent (QWheelEvent *e) |
| virtual void | mouseEvent (QMouseEvent *e) |
Private Types | |
| enum | { TRACKBALL_MODE = 1, PAN_MODE = 2, ZOOM_MODE = 3 } |
| enum | { XY_TRANSLATION = 1, Z_TRANSLATION = 2 } |
| enum | { MINMOVE = 10 } |
Private Member Functions | |
| void | InitGFX (void) |
| void | PrintString (void *font, char *string) |
| void | Display3DText (float x, float y, float z, char *string) |
| void | DrawAxis (double xpos, double ypos, double zpos, double arrowSize) |
| void | DrawBox (SReal *minBBox, SReal *maxBBox, SReal r=0.0) |
| void | DrawXYPlane (double zo, double xmin, double xmax, double ymin, double ymax, double step) |
| void | DrawYZPlane (double xo, double ymin, double ymax, double zmin, double zmax, double step) |
| void | DrawXZPlane (double yo, double xmin, double xmax, double zmin, double zmax, double step) |
| void | CreateOBJmodelDisplayList (int material_mode) |
| void | DrawLogo (void) |
| void | DisplayOBJs (bool shadowPass=false) |
| void | DisplayMenu (void) |
| void | DrawScene () |
| void | ApplySceneTransformation (int x, int y) |
Private Attributes | |
| QTimer * | timerAnimate |
| int | _W |
| int | _H |
| int | _clearBuffer |
| bool | _lightModelTwoSides |
| float | _lightPosition [4] |
| Trackball | _currentTrackball |
| Trackball | _newTrackball |
| int | _mouseX |
| int | _mouseY |
| int | _savedMouseX |
| int | _savedMouseY |
| bool | _spinning |
| bool | _moving |
| float | _zoomSpeed |
| float | _panSpeed |
| Transformation | _sceneTransform |
| Vector3 | _previousEyePos |
| GLUquadricObj * | _arrow |
| GLUquadricObj * | _tube |
| GLUquadricObj * | _sphere |
| GLUquadricObj * | _disk |
| GLuint | _numOBJmodels |
| GLuint | _materialMode |
| GLboolean | _facetNormal |
| float | _zoom |
| int | _renderingMode |
| bool | _waitForRender |
| Texture * | texLogo |
| ctime_t | _beginTime |
| double | lastProjectionMatrix [16] |
| double | lastModelviewMatrix [16] |
| GLint | lastViewport [4] |
| Vector3 | sceneMinBBox |
| Vector3 | sceneMaxBBox |
Definition at line 73 of file QtViewer.h.
anonymous enum [private] |
anonymous enum [private] |
anonymous enum [private] |
| sofa::gui::qt::viewer::qt::QtViewer::QtViewer | ( | QWidget * | parent, | |
| const char * | name = "" | |||
| ) |
Definition at line 167 of file QtViewer.cpp.
References _arrow, sofa::gui::qt::viewer::SofaViewer::_axis, sofa::gui::qt::viewer::SofaViewer::_background, _disk, _facetNormal, sofa::gui::qt::viewer::SofaViewer::_gl_shadow, _materialMode, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorMoving, _mouseInteractorNewQuat, _mouseInteractorRotationMode, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosX, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosY, _mouseInteractorTrackball, _mouseInteractorTranslationMode, _moving, sofa::gui::qt::viewer::SofaViewer::_navigationMode, _newQuat, _newTrackball, _numOBJmodels, _panSpeed, _previousEyePos, _renderingMode, sofa::gui::qt::viewer::SofaViewer::_shadow, _sphere, _spinning, _tube, sofa::gui::qt::viewer::SofaViewer::_video, _waitForRender, _zoom, _zoomSpeed, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), sofa::gui::qt::viewer::SofaViewer::groot, sofa::gui::qt::viewer::SofaViewer::initTexturesDone, sofa::gui::qt::viewer::SofaViewer::interactor, sofa::gui::qt::viewer::SofaViewer::m_isControlPressed, sofa::gui::qt::viewer::SofaViewer::sceneBBoxIsValid, texLogo, timerAnimate, and TRACKBALL_MODE.
| sofa::gui::qt::viewer::qt::QtViewer::~QtViewer | ( | ) |
Definition at line 249 of file QtViewer.cpp.
Definition at line 1486 of file QtViewer.cpp.
References _H, _mouseInteractorAbsolutePosition, _mouseInteractorCurrentQuat, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorMoving, _mouseInteractorNewQuat, _mouseInteractorRelativePosition, _mouseInteractorRotationMode, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosX, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosY, _mouseInteractorTrackball, _mouseInteractorTranslationMode, _mouseRotate, _mouseTrans, _newQuat, _translationMode, _W, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), norm(), sofa::gui::qt::viewer::SofaViewer::sceneBBoxIsValid, sceneMaxBBox, sceneMinBBox, XY_TRANSLATION, and Z_TRANSLATION.
Referenced by mouseEvent().
Definition at line 1440 of file QtViewer.cpp.
References _currentQuat, _currentTrackball, _H, _mouseX, _mouseY, _moving, sofa::gui::qt::viewer::SofaViewer::_navigationMode, _newQuat, _panSpeed, _previousEyePos, _savedMouseX, _savedMouseY, _sceneTransform, _W, _zoomSpeed, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), PAN_MODE, TRACKBALL_MODE, sofa::helper::gl::Transformation::translation, and ZOOM_MODE.
Referenced by mouseEvent(), and wheelEvent().
| void sofa::gui::qt::viewer::qt::QtViewer::ApplyShadowMap | ( | ) | [protected] |
Definition at line 513 of file QtViewer.cpp.
References _sceneTransform, sofa::helper::gl::Transformation::Apply(), DisplayOBJs(), and lastModelviewMatrix.
Referenced by DrawScene().
| void sofa::gui::qt::viewer::qt::QtViewer::calcProjection | ( | ) | [protected] |
Definition at line 1246 of file QtViewer.cpp.
References sofa::gui::qt::viewer::SofaViewer::_axis, _H, _panSpeed, _sceneTransform, _W, _zoomSpeed, sofa::gui::qt::viewer::CAMERA_PERSPECTIVE, sofa::gui::qt::viewer::SofaViewer::camera_type, sofa::simulation::tree::Simulation::computeBBox(), sofa::simulation::tree::getSimulation(), sofa::gui::qt::viewer::SofaViewer::groot, lastProjectionMatrix, lastViewport, sofa::gui::qt::viewer::SofaViewer::sceneBBoxIsValid, sceneMaxBBox, sceneMinBBox, and sofa::helper::gl::Transformation::translation.
Referenced by DrawScene(), and resizeGL().
| void sofa::gui::qt::viewer::qt::QtViewer::CreateOBJmodelDisplayList | ( | int | material_mode | ) | [private] |
| int sofa::gui::qt::viewer::qt::QtViewer::DisableViewer | ( | ) | [static] |
Disable this class of viewer.
This method is called after the viewer is destroyed and can be used to unregister classes associated with in the the ObjectFactory.
This method is called after the viewer is destroyed and can be used to unregister classes associated with in the the ObjectFactory.
Definition at line 154 of file QtViewer.cpp.
References sofa::gui::qt::viewer::qt::classVisualModel, sofa::gui::qt::viewer::qt::enabled, and sofa::core::ObjectFactory::ResetAlias().
Referenced by sofa::gui::qt::RealGUI::setViewer().
| void sofa::gui::qt::viewer::qt::QtViewer::Display3DText | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| char * | string | |||
| ) | [private] |
Definition at line 600 of file QtViewer.cpp.
| void sofa::gui::qt::viewer::qt::QtViewer::DisplayMenu | ( | void | ) | [private] |
| void sofa::gui::qt::viewer::qt::QtViewer::DisplayOBJs | ( | bool | shadowPass = false |
) | [private] |
Definition at line 937 of file QtViewer.cpp.
References sofa::gui::qt::viewer::SofaViewer::_axis, sofa::simulation::tree::Simulation::draw(), DrawAxis(), DrawBox(), sofa::simulation::tree::Simulation::drawShadows(), sofa::simulation::tree::getSimulation(), sofa::gui::qt::viewer::SofaViewer::groot, sofa::simulation::tree::Simulation::initTextures(), sofa::gui::qt::viewer::SofaViewer::initTexturesDone, sceneMaxBBox, and sceneMinBBox.
Referenced by ApplyShadowMap(), and DrawScene().
| void sofa::gui::qt::viewer::qt::QtViewer::DrawAxis | ( | double | xpos, | |
| double | ypos, | |||
| double | zpos, | |||
| double | arrowSize | |||
| ) | [private] |
| void sofa::gui::qt::viewer::qt::QtViewer::DrawBox | ( | SReal * | minBBox, | |
| SReal * | maxBBox, | |||
| SReal | r = 0.0 | |||
| ) | [private] |
Definition at line 700 of file QtViewer.cpp.
References _sphere, _tube, and norm().
Referenced by DisplayOBJs().
| void sofa::gui::qt::viewer::qt::QtViewer::DrawLogo | ( | void | ) | [private] |
Definition at line 889 of file QtViewer.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::qt::viewer::qt::QtViewer::DrawScene | ( | void | ) | [private] |
Definition at line 1004 of file QtViewer.cpp.
References sofa::gui::qt::viewer::SofaViewer::_background, _lightPosition, _newQuat, _renderingMode, _sceneTransform, sofa::gui::qt::viewer::SofaViewer::_shadow, sofa::helper::gl::Transformation::Apply(), ApplyShadowMap(), calcProjection(), DisplayMenu(), DisplayOBJs(), DrawLogo(), GetHeight(), GetWidth(), lastModelviewMatrix, lastProjectionMatrix, sofa::helper::gl::Transformation::rotation, and StoreLightMatrices().
Referenced by paintGL().
| void sofa::gui::qt::viewer::qt::QtViewer::DrawXYPlane | ( | double | zo, | |
| double | xmin, | |||
| double | xmax, | |||
| double | ymin, | |||
| double | ymax, | |||
| double | step | |||
| ) | [private] |
Definition at line 805 of file QtViewer.cpp.
| void sofa::gui::qt::viewer::qt::QtViewer::DrawXZPlane | ( | double | yo, | |
| double | xmin, | |||
| double | xmax, | |||
| double | zmin, | |||
| double | zmax, | |||
| double | step | |||
| ) | [private] |
Definition at line 863 of file QtViewer.cpp.
| void sofa::gui::qt::viewer::qt::QtViewer::DrawYZPlane | ( | double | xo, | |
| double | ymin, | |||
| double | ymax, | |||
| double | zmin, | |||
| double | zmax, | |||
| double | step | |||
| ) | [private] |
Definition at line 834 of file QtViewer.cpp.
| int sofa::gui::qt::viewer::qt::QtViewer::EnableViewer | ( | ) | [static] |
Activate this class of viewer.
This method is called before the viewer is actually created and can be used to register classes associated with in the the ObjectFactory.
This method is called before the viewer is actually created and can be used to register classes associated with in the the ObjectFactory.
Definition at line 140 of file QtViewer.cpp.
References sofa::core::ObjectFactory::AddAlias(), sofa::gui::qt::viewer::qt::classVisualModel, and sofa::gui::qt::viewer::qt::enabled.
Referenced by sofa::gui::qt::RealGUI::InitGUI(), and sofa::gui::qt::RealGUI::setViewer().
| int sofa::gui::qt::viewer::qt::QtViewer::GetHeight | ( | ) | [inline] |
| QWidget* sofa::gui::qt::viewer::qt::QtViewer::getQWidget | ( | ) | [inline, virtual] |
| sofa::simulation::tree::GNode* sofa::gui::qt::viewer::qt::QtViewer::getScene | ( | ) | [inline, virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 181 of file QtViewer.h.
References sofa::gui::qt::viewer::SofaViewer::groot.
| int sofa::gui::qt::viewer::qt::QtViewer::GetWidth | ( | ) | [inline] |
| QString sofa::gui::qt::viewer::qt::QtViewer::helpString | ( | ) | [virtual] |
| void sofa::gui::qt::viewer::qt::QtViewer::InitGFX | ( | void | ) | [private] |
| void sofa::gui::qt::viewer::qt::QtViewer::initializeGL | ( | void | ) | [protected] |
Definition at line 257 of file QtViewer.cpp.
References _beginTime, _clearBuffer, sofa::gui::qt::viewer::SofaViewer::_gl_shadow, _lightModelTwoSides, _lightPosition, CreateRenderTexture(), sofa::helper::system::DataRepository, sofa::helper::system::thread::CTime::getTime(), sofa::helper::gl::Texture::init(), sofa::helper::gl::GLSLShader::InitGLSL(), resetView(), and texLogo.
| void sofa::gui::qt::viewer::qt::QtViewer::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 1576 of file QtViewer.cpp.
References _mouseInteractorRotationMode, _mouseInteractorTranslationMode, sofa::gui::qt::viewer::SofaViewer::groot, sofa::gui::qt::viewer::SofaViewer::isControlPressed(), and sofa::simulation::Node::propagateEvent().
| void sofa::gui::qt::viewer::qt::QtViewer::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
| void sofa::gui::qt::viewer::qt::QtViewer::mouseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 1664 of file QtViewer.cpp.
References _currentQuat, _lightPosition, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorMoving, _mouseInteractorRotationMode, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosX, sofa::gui::qt::viewer::SofaViewer::_mouseInteractorSavedPosY, _mouseInteractorTranslationMode, _mouseX, _mouseY, _moving, sofa::gui::qt::viewer::SofaViewer::_navigationMode, _newTrackball, _previousEyePos, _savedMouseX, _savedMouseY, _sceneTransform, _spinning, _translationMode, ApplyMouseInteractorTransformation(), ApplySceneTransformation(), sofa::gui::qt::viewer::BTLEFT_MODE, sofa::gui::qt::viewer::BTMIDDLE_MODE, sofa::gui::qt::viewer::BTRIGHT_MODE, sofa::helper::gl::Trackball::ComputeQuaternion(), sofa::helper::gl::Trackball::GetQuaternion(), sofa::gui::qt::viewer::SofaViewer::interactor, MINMOVE, sofa::gui::qt::viewer::SofaViewer::moveLaparoscopic(), sofa::component::collision::RayPickInteractor::newEvent(), PAN_MODE, timerAnimate, TRACKBALL_MODE, sofa::helper::gl::Transformation::translation, XY_TRANSLATION, Z_TRANSLATION, and ZOOM_MODE.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
| void sofa::gui::qt::viewer::qt::QtViewer::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
| void sofa::gui::qt::viewer::qt::QtViewer::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
| void sofa::gui::qt::viewer::qt::QtViewer::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
| void sofa::gui::qt::viewer::qt::QtViewer::moveRayPickInteractor | ( | int | eventX, | |
| int | eventY | |||
| ) | [virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 1969 of file QtViewer.cpp.
References sofa::helper::Quater< Real >::fromMatrix(), sofa::defaulttype::Mat< L, C, real >::identity(), sofa::gui::qt::viewer::SofaViewer::interactor, lastModelviewMatrix, lastProjectionMatrix, lastViewport, sofa::component::collision::RayPickInteractor::newPosition(), and sofa::defaulttype::Vec< N, real >::normalize().
| void sofa::gui::qt::viewer::qt::QtViewer::paintGL | ( | ) | [protected] |
Definition at line 1389 of file QtViewer.cpp.
References sofa::gui::qt::viewer::SofaViewer::_background, _clearBuffer, sofa::gui::qt::viewer::SofaViewer::_video, _waitForRender, sofa::gui::qt::viewer::SofaViewer::capture, DrawScene(), sofa::helper::gl::Capture::findFilename(), redrawn(), and sofa::gui::qt::viewer::SofaViewer::screenshot().
| void sofa::gui::qt::viewer::qt::QtViewer::PrintString | ( | void * | font, | |
| char * | string | |||
| ) | [private] |
Definition at line 586 of file QtViewer.cpp.
| bool sofa::gui::qt::viewer::qt::QtViewer::ready | ( | ) | [inline, virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 153 of file QtViewer.h.
References _waitForRender.
| void sofa::gui::qt::viewer::qt::QtViewer::redrawn | ( | ) | [virtual, signal] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 92 of file moc_QtViewer.cpp.
Referenced by paintGL().
| void sofa::gui::qt::viewer::qt::QtViewer::resetView | ( | ) | [virtual, slot] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 2006 of file QtViewer.cpp.
References _newQuat, _sceneTransform, norm(), sofa::gui::qt::viewer::SofaViewer::sceneBBoxIsValid, sofa::gui::qt::viewer::SofaViewer::sceneFileName, sceneMaxBBox, sceneMinBBox, and sofa::helper::gl::Transformation::translation.
Referenced by initializeGL().
Definition at line 1228 of file QtViewer.cpp.
References _H, _W, calcProjection(), resizeH(), and resizeW().
Referenced by setSizeH(), and setSizeW().
| void sofa::gui::qt::viewer::qt::QtViewer::resizeH | ( | int | _t1 | ) | [virtual, signal] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 105 of file moc_QtViewer.cpp.
Referenced by resizeGL().
| void sofa::gui::qt::viewer::qt::QtViewer::resizeW | ( | int | _t1 | ) | [virtual, signal] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 98 of file moc_QtViewer.cpp.
Referenced by resizeGL().
| void sofa::gui::qt::viewer::qt::QtViewer::saveView | ( | ) | [virtual, slot] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 2042 of file QtViewer.cpp.
References _newQuat, _sceneTransform, sofa::gui::qt::viewer::SofaViewer::sceneFileName, and sofa::helper::gl::Transformation::translation.
| void sofa::gui::qt::viewer::qt::QtViewer::setScene | ( | sofa::simulation::tree::GNode * | scene, | |
| const char * | filename = NULL, |
|||
| bool | keepParams = false | |||
| ) | [virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 2060 of file QtViewer.cpp.
References _panSpeed, _zoomSpeed, sofa::simulation::tree::Simulation::computeBBox(), sofa::simulation::tree::getSimulation(), sofa::gui::qt::viewer::SofaViewer::groot, norm(), sceneMaxBBox, and sceneMinBBox.
| void sofa::gui::qt::viewer::qt::QtViewer::setSizeH | ( | int | size | ) | [virtual, slot] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 2080 of file QtViewer.cpp.
References _W, and resizeGL().
| void sofa::gui::qt::viewer::qt::QtViewer::setSizeW | ( | int | size | ) | [virtual, slot] |
Implements sofa::gui::qt::viewer::SofaViewer.
Definition at line 2074 of file QtViewer.cpp.
References _H, and resizeGL().
| void sofa::gui::qt::viewer::qt::QtViewer::StoreLightMatrices | ( | ) | [protected] |
Definition at line 396 of file QtViewer.cpp.
References _lightPosition, sofa::defaulttype::Vec< N, real >::cross(), lastProjectionMatrix, and sofa::defaulttype::Vec< N, real >::normalize().
Referenced by DrawScene().
| void sofa::gui::qt::viewer::qt::QtViewer::UpdateOBJ | ( | void | ) |
| void sofa::gui::qt::viewer::qt::QtViewer::wait | ( | ) | [inline, virtual] |
Reimplemented from sofa::gui::qt::viewer::SofaViewer.
Definition at line 154 of file QtViewer.h.
References _waitForRender.
| void sofa::gui::qt::viewer::qt::QtViewer::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Definition at line 1624 of file QtViewer.cpp.
References _mouseX, _mouseY, _moving, sofa::gui::qt::viewer::SofaViewer::_navigationMode, _previousEyePos, _sceneTransform, _spinning, ApplySceneTransformation(), sofa::gui::qt::viewer::SofaViewer::moveLaparoscopic(), sofa::helper::gl::Transformation::translation, and ZOOM_MODE.
GLUquadricObj* sofa::gui::qt::viewer::qt::QtViewer::_arrow [private] |
ctime_t sofa::gui::qt::viewer::qt::QtViewer::_beginTime [private] |
Quaternion sofa::gui::qt::viewer::qt::QtViewer::_currentQuat [static] |
Definition at line 214 of file QtViewer.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
GLUquadricObj* sofa::gui::qt::viewer::qt::QtViewer::_disk [private] |
GLboolean sofa::gui::qt::viewer::qt::QtViewer::_facetNormal [private] |
int sofa::gui::qt::viewer::qt::QtViewer::_H [private] |
Definition at line 94 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), ApplySceneTransformation(), calcProjection(), DisplayMenu(), DrawLogo(), GetHeight(), resizeGL(), and setSizeW().
float sofa::gui::qt::viewer::qt::QtViewer::_lightPosition[4] [private] |
Definition at line 97 of file QtViewer.h.
Referenced by DrawScene(), initializeGL(), mouseEvent(), and StoreLightMatrices().
GLuint sofa::gui::qt::viewer::qt::QtViewer::_materialMode [private] |
Quaternion sofa::gui::qt::viewer::qt::QtViewer::_mouseInteractorNewQuat [static] |
Definition at line 211 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), and QtViewer().
Definition at line 204 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), keyPressEvent(), mouseEvent(), and QtViewer().
Definition at line 208 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), and QtViewer().
Definition at line 203 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), keyPressEvent(), mouseEvent(), and QtViewer().
bool sofa::gui::qt::viewer::qt::QtViewer::_mouseRotate = false [static] |
bool sofa::gui::qt::viewer::qt::QtViewer::_mouseTrans = false [static] |
Definition at line 103 of file QtViewer.h.
Referenced by ApplySceneTransformation(), mouseEvent(), and wheelEvent().
Definition at line 103 of file QtViewer.h.
Referenced by ApplySceneTransformation(), mouseEvent(), and wheelEvent().
Definition at line 106 of file QtViewer.h.
Referenced by ApplySceneTransformation(), mouseEvent(), QtViewer(), and wheelEvent().
Quaternion sofa::gui::qt::viewer::qt::QtViewer::_newQuat [static] |
Definition at line 213 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), ApplySceneTransformation(), DrawScene(), QtViewer(), resetView(), and saveView().
GLuint sofa::gui::qt::viewer::qt::QtViewer::_numOBJmodels [private] |
float sofa::gui::qt::viewer::qt::QtViewer::_panSpeed [private] |
Definition at line 109 of file QtViewer.h.
Referenced by ApplySceneTransformation(), calcProjection(), QtViewer(), and setScene().
Vector3 sofa::gui::qt::viewer::qt::QtViewer::_previousEyePos [private] |
Definition at line 111 of file QtViewer.h.
Referenced by ApplySceneTransformation(), mouseEvent(), QtViewer(), and wheelEvent().
Definition at line 104 of file QtViewer.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
Definition at line 104 of file QtViewer.h.
Referenced by ApplySceneTransformation(), and mouseEvent().
Definition at line 110 of file QtViewer.h.
Referenced by ApplySceneTransformation(), ApplyShadowMap(), calcProjection(), DrawScene(), mouseEvent(), resetView(), saveView(), and wheelEvent().
GLUquadricObj* sofa::gui::qt::viewer::qt::QtViewer::_sphere [private] |
Definition at line 105 of file QtViewer.h.
Referenced by mouseEvent(), QtViewer(), and wheelEvent().
Definition at line 205 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), and mouseEvent().
GLUquadricObj* sofa::gui::qt::viewer::qt::QtViewer::_tube [private] |
int sofa::gui::qt::viewer::qt::QtViewer::_W [private] |
Definition at line 94 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), ApplySceneTransformation(), calcProjection(), DisplayMenu(), DrawLogo(), GetWidth(), resizeGL(), and setSizeH().
Definition at line 122 of file QtViewer.h.
Referenced by paintGL(), QtViewer(), ready(), and wait().
float sofa::gui::qt::viewer::qt::QtViewer::_zoom [private] |
float sofa::gui::qt::viewer::qt::QtViewer::_zoomSpeed [private] |
Definition at line 108 of file QtViewer.h.
Referenced by ApplySceneTransformation(), calcProjection(), QtViewer(), and setScene().
double sofa::gui::qt::viewer::qt::QtViewer::lastModelviewMatrix[16] [private] |
Definition at line 132 of file QtViewer.h.
Referenced by ApplyShadowMap(), DrawScene(), and moveRayPickInteractor().
double sofa::gui::qt::viewer::qt::QtViewer::lastProjectionMatrix[16] [private] |
Definition at line 131 of file QtViewer.h.
Referenced by calcProjection(), DrawScene(), moveRayPickInteractor(), and StoreLightMatrices().
GLint sofa::gui::qt::viewer::qt::QtViewer::lastViewport[4] [private] |
Definition at line 133 of file QtViewer.h.
Referenced by calcProjection(), and moveRayPickInteractor().
Vector3 sofa::gui::qt::viewer::qt::QtViewer::sceneMaxBBox [private] |
Definition at line 135 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), calcProjection(), DisplayOBJs(), resetView(), and setScene().
Vector3 sofa::gui::qt::viewer::qt::QtViewer::sceneMinBBox [private] |
Definition at line 134 of file QtViewer.h.
Referenced by ApplyMouseInteractorTransformation(), calcProjection(), DisplayOBJs(), resetView(), and setScene().
Definition at line 126 of file QtViewer.h.
Referenced by DrawLogo(), initializeGL(), and QtViewer().
QTimer* sofa::gui::qt::viewer::qt::QtViewer::timerAnimate [private] |
1.5.7.1