sofa::gui::glut::SimpleGUI Class Reference

#include <SimpleGUI.h>

Inheritance diagram for sofa::gui::glut::SimpleGUI:

Inheritance graph
[legend]
Collaboration diagram for sofa::gui::glut::SimpleGUI:

Collaboration graph
[legend]

Public Types

enum  EventType { MouseButtonPress, MouseMove, MouseButtonRelease }

Public Member Functions

void step ()
void animate ()
void playpause ()
void resetScene ()
void resetView ()
void saveView ()
void showVisual (bool)
void showBehavior (bool)
void showCollision (bool)
void showBoundingCollision (bool)
void showMapping (bool)
void showMechanicalMapping (bool)
void showForceField (bool)
void showInteractionForceField (bool)
void showWireFrame (bool)
void showNormals (bool)
void screenshot (int compression_level=-1)
void exportOBJ (bool exportMTL=true)
void dumpState (bool)
void displayComputationTime (bool)
void setExportGnuplot (bool)
void initializeGL ()
void paintGL ()
void resizeGL (int w, int h)
void keyPressEvent (int k)
void keyReleaseEvent (int k)
void mouseEvent (int type, int x, int y, int bt)
void eventNewStep ()
void setScene (sofa::simulation::Node *scene, const char *filename=NULL)
sofa::simulation::tree::GNode * getScene ()
const std::string & getSceneFileName ()
void SwitchToPresetView ()
int GetWidth ()
int GetHeight ()
void UpdateOBJ (void)
void ApplyMouseInteractorTransformation (int x, int y)
methods each GUI must implement
 SimpleGUI ()
int mainLoop ()
void redraw ()
int closeGUI ()
sofa::simulation::tree::GNode * currentSimulation ()

Static Public Member Functions

static void glut_display ()
static void glut_reshape (int w, int h)
static void glut_keyboard (unsigned char k, int x, int y)
static void glut_mouse (int button, int state, int x, int y)
static void glut_motion (int x, int y)
static void glut_special (int k, int x, int y)
static void glut_idle ()
registration of each GUI
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)

Data Fields

bool _mouseInteractorTranslationMode
bool _mouseInteractorRotationMode
bool _mouseInteractorMoving
int _mouseInteractorSavedPosX
int _mouseInteractorSavedPosY
int _translationMode
Quaternion _mouseInteractorCurrentQuat
Vector3 _mouseInteractorAbsolutePosition
Trackball _mouseInteractorTrackball
Quaternion _mouseInteractorNewQuat
Vector3 _mouseInteractorRelativePosition
Quaternion _newQuat
Quaternion _currentQuat
bool _mouseTrans
bool _mouseRotate

Static Public Attributes

static SimpleGUI * instance = NULL

Protected Member Functions

 ~SimpleGUI ()
 The destructor should not be called directly. Use the closeGUI() method instead.
void calcProjection ()
void ApplyShadowMap ()
void CreateRenderTexture (GLuint &textureID, int sizeX, int sizeY, int channels, int type)
void StoreLightMatrices ()
bool isControlPressed () const
bool isShiftPressed () const
bool isAltPressed () const
void updateModifiers ()

Protected Attributes

bool m_isControlPressed
bool m_isShiftPressed
bool m_isAltPressed
bool m_dumpState
bool m_displayComputationTime
bool m_exportGnuplot
std::ofstream * m_dumpStateStream

Private Types

enum  {
  TRACKBALL_MODE = 1, PAN_MODE = 2, ZOOM_MODE = 3, BTLEFT_MODE = 101,
  BTRIGHT_MODE = 102, BTMIDDLE_MODE = 103
}
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 (double *minBBox, double *maxBBox, double 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 DrawAutomate ()
void ApplySceneTransformation (int x, int y)

Private Attributes

sofa::simulation::tree::GNode * groot
std::string sceneFileName
int _W
int _H
int _clearBuffer
bool _lightModelTwoSides
float _lightPosition [4]
int _navigationMode
Trackball _currentTrackball
Trackball _newTrackball
int _mouseX
int _mouseY
int _savedMouseX
int _savedMouseY
bool _spinning
bool _moving
bool _video
bool _animationOBJ
int _animationOBJcounter
bool _axis
int _background
bool _shadow
bool _glshadow
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
RayPickInteractor * interactor
double lastProjectionMatrix [16]
double lastModelviewMatrix [16]
GLint lastViewport [4]
bool sceneBBoxIsValid
Vector3 sceneMinBBox
Vector3 sceneMaxBBox
bool initTexturesDone
Capture capture

Detailed Description

Definition at line 66 of file SimpleGUI.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
TRACKBALL_MODE 
PAN_MODE 
ZOOM_MODE 
BTLEFT_MODE 
BTRIGHT_MODE 
BTMIDDLE_MODE 

Definition at line 115 of file SimpleGUI.h.

anonymous enum [private]

Enumerator:
XY_TRANSLATION 
Z_TRANSLATION 

Definition at line 125 of file SimpleGUI.h.

anonymous enum [private]

Enumerator:
MINMOVE 

Definition at line 130 of file SimpleGUI.h.

Enumerator:
MouseButtonPress 
MouseMove 
MouseButtonRelease 

Definition at line 212 of file SimpleGUI.h.


Constructor & Destructor Documentation

sofa::gui::glut::SimpleGUI::SimpleGUI (  ) 

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.


Member Function Documentation

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().

void sofa::gui::glut::SimpleGUI::ApplyMouseInteractorTransformation ( int  x,
int  y 
)

void sofa::gui::glut::SimpleGUI::ApplySceneTransformation ( int  x,
int  y 
) [private]

void sofa::gui::glut::SimpleGUI::ApplyShadowMap (  )  [protected]

void sofa::gui::glut::SimpleGUI::calcProjection (  )  [protected]

int sofa::gui::glut::SimpleGUI::closeGUI (  )  [virtual]

Implements sofa::gui::SofaGUI.

Definition at line 90 of file SimpleGUI.cpp.

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]

void sofa::gui::glut::SimpleGUI::CreateOBJmodelDisplayList ( int  material_mode  )  [private]

void sofa::gui::glut::SimpleGUI::CreateRenderTexture ( GLuint &  textureID,
int  sizeX,
int  sizeY,
int  channels,
int  type 
) [protected]

Definition at line 598 of file SimpleGUI.cpp.

Referenced by initializeGL().

sofa::simulation::tree::GNode* sofa::gui::glut::SimpleGUI::currentSimulation (  )  [inline, virtual]

Implements sofa::gui::SofaGUI.

Definition at line 80 of file SimpleGUI.h.

References getScene().

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  ) 

void sofa::gui::glut::SimpleGUI::DisplayMenu ( void   )  [private]

Definition at line 1086 of file SimpleGUI.cpp.

References _H, and _W.

Referenced by DrawScene().

void sofa::gui::glut::SimpleGUI::DisplayOBJs ( bool  shadowPass = false  )  [private]

void sofa::gui::glut::SimpleGUI::DrawAutomate (  )  [private]

void sofa::gui::glut::SimpleGUI::DrawAxis ( double  xpos,
double  ypos,
double  zpos,
double  arrowSize 
) [private]

Definition at line 723 of file SimpleGUI.cpp.

References _arrow, and _tube.

Referenced by DisplayOBJs().

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]

void sofa::gui::glut::SimpleGUI::DrawScene ( void   )  [private]

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  ) 

Definition at line 2462 of file SimpleGUI.cpp.

References m_dumpState, and m_dumpStateStream.

void sofa::gui::glut::SimpleGUI::eventNewStep (  ) 

void sofa::gui::glut::SimpleGUI::exportOBJ ( bool  exportMTL = true  ) 

int sofa::gui::glut::SimpleGUI::GetHeight (  )  [inline]

Definition at line 242 of file SimpleGUI.h.

References _H.

Referenced by DrawScene().

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]

Definition at line 233 of file SimpleGUI.h.

References sceneFileName.

int sofa::gui::glut::SimpleGUI::GetWidth (  )  [inline]

Definition at line 238 of file SimpleGUI.h.

References _W.

Referenced by DrawScene().

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]

void sofa::gui::glut::SimpleGUI::glut_keyboard ( unsigned char  k,
int  x,
int  y 
) [static]

Definition at line 177 of file SimpleGUI.cpp.

References instance, keyPressEvent(), and updateModifiers().

Referenced by CreateGUI().

void sofa::gui::glut::SimpleGUI::glut_motion ( int  x,
int  y 
) [static]

Definition at line 195 of file SimpleGUI.cpp.

References instance, mouseEvent(), and MouseMove.

Referenced by CreateGUI().

void sofa::gui::glut::SimpleGUI::glut_mouse ( int  button,
int  state,
int  x,
int  y 
) [static]

Definition at line 186 of file SimpleGUI.cpp.

References instance, MouseButtonPress, MouseButtonRelease, mouseEvent(), and updateModifiers().

Referenced by CreateGUI().

void sofa::gui::glut::SimpleGUI::glut_reshape ( int  w,
int  h 
) [static]

Definition at line 169 of file SimpleGUI.cpp.

References instance, and resizeGL().

Referenced by CreateGUI().

void sofa::gui::glut::SimpleGUI::glut_special ( int  k,
int  x,
int  y 
) [static]

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   ) 

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  ) 

void sofa::gui::glut::SimpleGUI::keyReleaseEvent ( int  k  ) 

int sofa::gui::glut::SimpleGUI::mainLoop (  )  [virtual]

Implements sofa::gui::SofaGUI.

Definition at line 79 of file SimpleGUI.cpp.

void sofa::gui::glut::SimpleGUI::mouseEvent ( int  type,
int  x,
int  y,
int  bt 
)

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 (  ) 

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]

void sofa::gui::glut::SimpleGUI::resetScene (  ) 

void sofa::gui::glut::SimpleGUI::resetView (  ) 

Definition at line 2494 of file SimpleGUI.cpp.

References redraw(), and SwitchToPresetView().

void sofa::gui::glut::SimpleGUI::resizeGL ( int  w,
int  h 
)

Definition at line 1335 of file SimpleGUI.cpp.

References _H, _W, and calcProjection().

Referenced by glut_reshape().

void sofa::gui::glut::SimpleGUI::saveView (  ) 

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  ) 

void sofa::gui::glut::SimpleGUI::setScene ( sofa::simulation::Node *  scene,
const char *  filename = NULL 
)

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  ) 

void sofa::gui::glut::SimpleGUI::showMechanicalMapping ( bool  value  ) 

void sofa::gui::glut::SimpleGUI::showNormals ( bool  value  ) 

void sofa::gui::glut::SimpleGUI::showVisual ( bool  value  ) 

void sofa::gui::glut::SimpleGUI::showWireFrame ( bool  value  ) 

void sofa::gui::glut::SimpleGUI::step (  ) 

void sofa::gui::glut::SimpleGUI::StoreLightMatrices (  )  [protected]

void sofa::gui::glut::SimpleGUI::SwitchToPresetView (  ) 

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   ) 


Field Documentation

Definition at line 150 of file SimpleGUI.h.

Referenced by keyPressEvent(), SimpleGUI(), and step().

Definition at line 150 of file SimpleGUI.h.

Referenced by exportOBJ(), keyPressEvent(), and step().

GLUquadricObj* sofa::gui::glut::SimpleGUI::_arrow [private]

Definition at line 159 of file SimpleGUI.h.

Referenced by DrawAxis(), and SimpleGUI().

Definition at line 151 of file SimpleGUI.h.

Referenced by calcProjection(), DisplayOBJs(), keyPressEvent(), and SimpleGUI().

Definition at line 152 of file SimpleGUI.h.

Referenced by DrawScene(), keyPressEvent(), paintGL(), and SimpleGUI().

Definition at line 171 of file SimpleGUI.h.

Referenced by initializeGL().

Definition at line 137 of file SimpleGUI.h.

Referenced by initializeGL(), and paintGL().

Definition at line 267 of file SimpleGUI.h.

Referenced by animate(), ApplySceneTransformation(), and mouseEvent().

Definition at line 141 of file SimpleGUI.h.

Referenced by ApplySceneTransformation().

GLUquadricObj* sofa::gui::glut::SimpleGUI::_disk [private]

Definition at line 162 of file SimpleGUI.h.

Referenced by SimpleGUI().

Definition at line 165 of file SimpleGUI.h.

Referenced by SimpleGUI().

Definition at line 154 of file SimpleGUI.h.

Referenced by initializeGL(), and keyPressEvent().

Definition at line 138 of file SimpleGUI.h.

Referenced by initializeGL().

Definition at line 139 of file SimpleGUI.h.

Referenced by DrawScene(), initializeGL(), mouseEvent(), and StoreLightMatrices().

Definition at line 164 of file SimpleGUI.h.

Referenced by SimpleGUI().

Definition at line 260 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation().

Definition at line 259 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation().

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 265 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation().

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 269 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().

Definition at line 268 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation(), and SimpleGUI().

Definition at line 145 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and mouseEvent().

Definition at line 145 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and mouseEvent().

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 142 of file SimpleGUI.h.

Referenced by mouseEvent(), and SimpleGUI().

Definition at line 163 of file SimpleGUI.h.

Referenced by SimpleGUI().

Definition at line 156 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and SimpleGUI().

Definition at line 158 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), mouseEvent(), and SimpleGUI().

Definition at line 167 of file SimpleGUI.h.

Referenced by DrawScene(), and SimpleGUI().

Definition at line 146 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and mouseEvent().

Definition at line 146 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and mouseEvent().

Definition at line 153 of file SimpleGUI.h.

Referenced by DrawScene(), initializeGL(), keyPressEvent(), and SimpleGUI().

GLUquadricObj* sofa::gui::glut::SimpleGUI::_sphere [private]

Definition at line 161 of file SimpleGUI.h.

Referenced by DrawBox(), and SimpleGUI().

Definition at line 147 of file SimpleGUI.h.

Referenced by animate(), mouseEvent(), and SimpleGUI().

Definition at line 258 of file SimpleGUI.h.

Referenced by ApplyMouseInteractorTransformation(), and mouseEvent().

GLUquadricObj* sofa::gui::glut::SimpleGUI::_tube [private]

Definition at line 160 of file SimpleGUI.h.

Referenced by DrawAxis(), DrawBox(), and SimpleGUI().

Definition at line 149 of file SimpleGUI.h.

Referenced by keyPressEvent(), paintGL(), and SimpleGUI().

Definition at line 168 of file SimpleGUI.h.

Referenced by paintGL(), SimpleGUI(), and step().

Definition at line 166 of file SimpleGUI.h.

Referenced by SimpleGUI().

Definition at line 155 of file SimpleGUI.h.

Referenced by ApplySceneTransformation(), and SimpleGUI().

Definition at line 180 of file SimpleGUI.h.

Referenced by keyPressEvent(), screenshot(), and setScene().

Definition at line 179 of file SimpleGUI.h.

Referenced by DisplayOBJs(), setScene(), and SimpleGUI().

Definition at line 172 of file SimpleGUI.h.

Referenced by mouseEvent(), setScene(), and SimpleGUI().

Definition at line 174 of file SimpleGUI.h.

Referenced by ApplyShadowMap(), DrawScene(), and mouseEvent().

Definition at line 173 of file SimpleGUI.h.

Referenced by calcProjection(), DrawScene(), mouseEvent(), and StoreLightMatrices().

Definition at line 175 of file SimpleGUI.h.

Referenced by calcProjection(), and mouseEvent().

Definition at line 304 of file SimpleGUI.h.

Referenced by displayComputationTime(), eventNewStep(), and SimpleGUI().

Definition at line 303 of file SimpleGUI.h.

Referenced by dumpState(), SimpleGUI(), and step().

Definition at line 306 of file SimpleGUI.h.

Referenced by dumpState(), SimpleGUI(), and step().

Definition at line 305 of file SimpleGUI.h.

Referenced by setExportGnuplot(), SimpleGUI(), and step().

Definition at line 301 of file SimpleGUI.h.

Referenced by isAltPressed(), SimpleGUI(), and updateModifiers().

Definition at line 299 of file SimpleGUI.h.

Referenced by isControlPressed(), SimpleGUI(), and updateModifiers().

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().

Definition at line 178 of file SimpleGUI.h.

Referenced by calcProjection(), and DisplayOBJs().

Definition at line 177 of file SimpleGUI.h.

Referenced by calcProjection(), and DisplayOBJs().

Definition at line 170 of file SimpleGUI.h.

Referenced by DrawLogo(), initializeGL(), and SimpleGUI().


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

Generated on Sun Nov 23 04:24:08 2008 for Sofa by  doxygen 1.5.7.1