src/scene3D.cpp File Reference

#include <string>
#include "scene3D.h"
#include "skyBox.h"
#include "waterdyn3d.h"
#include "Terrain3D.h"
#include <SDL.h>
#include "C_Chute.h"
#include "CallbackPorte.h"
#include "CallbackTurbine.h"
#include "keyboardEventHandler.h"

Include dependency graph for scene3D.cpp:

Go to the source code of this file.

Data Structures

class  findNodeVisitor

Functions

void monter ()
void descendre ()
void stop ()
osg::AnimationPath * createAnimationPath (const osg::Vec3 &center, float radius, double looptime, float speed)

Variables

float dist = 0.0
int cpt_mvt = 0
int mvtPorte = 2
int posPorte = 0
bool debut_descente_chute = false
bool debut_descente_nuag = false
osg::PositionAttitudeTransform * pat_dam
osg::PositionAttitudeTransform * pat1
osg::PositionAttitudeTransform * pat2_2
osg::Quat * quaternion
osg::Geode * geo2


Function Documentation

osg::AnimationPath* createAnimationPath ( const osg::Vec3 &  center,
float  radius,
double  looptime,
float  speed 
)

Definition at line 1044 of file scene3D.cpp.

void descendre (  ) 

Definition at line 74 of file scene3D.cpp.

References DESCENDRE, and mvtPorte.

Referenced by Scene3D::creerChutesEtAnim().

void monter (  ) 

Definition at line 70 of file scene3D.cpp.

References LEVER, and mvtPorte.

Referenced by Scene3D::creerChutesEtAnim().

void stop (  ) 

Definition at line 78 of file scene3D.cpp.

References ARRETER, and mvtPorte.

Referenced by Scene3D::creerChutesEtAnim().


Variable Documentation

int cpt_mvt = 0

Definition at line 34 of file scene3D.cpp.

Referenced by PSChuteCallback::operator()(), PSChuteHzCallback::operator()(), PSChuteNuageCallback::operator()(), CallbackPorte::update(), and CallbackTurbine::update().

bool debut_descente_chute = false

Definition at line 37 of file scene3D.cpp.

bool debut_descente_nuag = false

Definition at line 38 of file scene3D.cpp.

float dist = 0.0

de la

Definition at line 33 of file scene3D.cpp.

Referenced by CallbackPorte::update().

osg::Geode* geo2

Definition at line 51 of file scene3D.cpp.

Referenced by Scene3D::creerChutesEtAnim(), and CallbackTurbine::update().

int mvtPorte = 2

Definition at line 35 of file scene3D.cpp.

Referenced by descendre(), monter(), PSChuteCallback::operator()(), PSChuteHzCallback::operator()(), PSChuteNuageCallback::operator()(), stop(), CallbackPorte::update(), and CallbackTurbine::update().

osg::PositionAttitudeTransform* pat1

Definition at line 48 of file scene3D.cpp.

Referenced by Scene3D::creerChutesEtAnim(), CallbackPorte::update(), and CallbackTurbine::update().

osg::PositionAttitudeTransform* pat2_2

Definition at line 49 of file scene3D.cpp.

Referenced by Scene3D::creerChutesEtAnim(), and CallbackTurbine::update().

osg::PositionAttitudeTransform* pat_dam

Definition at line 47 of file scene3D.cpp.

Referenced by initWater().

int posPorte = 0

Definition at line 36 of file scene3D.cpp.

Referenced by PSChuteCallback::operator()(), PSChuteHzCallback::operator()(), PSChuteNuageCallback::operator()(), CallbackPorte::update(), and CallbackTurbine::update().

osg::Quat* quaternion

Definition at line 50 of file scene3D.cpp.

Referenced by Scene3D::createScene(), Scene3D::creerChutesEtAnim(), initWater(), and CallbackTurbine::update().


Generated on Tue Jun 5 16:56:58 2007 for Anidam by  doxygen 1.5.1