tutorials/MedievalTown/tutorialSteps/step3/MedievalTown.cpp File Reference
#include <gmtl/Matrix.h>#include <gmtl/MatrixOps.h>#include <gmtl/External/OpenSGConvert.h>#include <OpenSG/OSGGLUT.h>#include <OpenSG/OSGConfig.h>#include <OpenSG/OSGGLUTWindow.h>#include <OpenSG/OSGSimpleSceneManager.h>#include <inVRs/OutputInterface/OutputInterface.h>#include <inVRs/OutputInterface/SceneGraphNodeInterface.h>#include <inVRs/OutputInterface/OpenSGSceneGraphInterface/OpenSGSceneGraphInterface.h>#include <inVRs/InputInterface/InputInterface.h>#include <inVRs/InputInterface/ControllerManager/ControllerManager.h>#include <inVRs/InputInterface/ControllerManager/GlutMouseDevice.h>#include <inVRs/InputInterface/ControllerManager/GlutCharKeyboardDevice.h>#include <inVRs/SystemCore/Configuration.h>#include <inVRs/SystemCore/SystemCore.h>#include <inVRs/SystemCore/Timer.h>#include <inVRs/SystemCore/TransformationManager/TransformationManager.h>#include <inVRs/SystemCore/WorldDatabase/WorldDatabase.h>#include <inVRs/Modules/Navigation/Navigation.h>#include <inVRs/Modules/Interaction/Interaction.h>#include <inVRs/tools/libraries/HeightMap/HeightMapModifier.h>#include <inVRs/tools/libraries/HeightMap/HeightMapManager.h>#include <inVRs/tools/libraries/Skybox/Skybox.h>#include <inVRs/tools/libraries/CollisionMap/CheckCollisionModifier.h>
Include dependency graph for MedievalTown.cpp:

Functions | |
| int | setupGLUT (int *argc, char *argv[]) |
| void | cleanup () |
| void | initCoreComponents (CoreComponents comp) |
| void | initInputInterface (ModuleInterface *moduleInterface) |
| void | initModules (ModuleInterface *module) |
| int | main (int argc, char **argv) |
| void | display (void) |
| void | reshape (int w, int h) |
| void | mouse (int button, int state, int x, int y) |
| void | motion (int x, int y) |
| void | keyboard (unsigned char k, int x, int y) |
| void | keyboardUp (unsigned char k, int x, int y) |
Variables | |
| OSG_USING_NAMESPACE SimpleSceneManager * | mgr |
| bool | grabMouse = true |
| float | lastTimeStamp |
| User * | localUser = NULL |
| ControllerManager * | controllerManager |
| Controller * | controller |
| Navigation * | navigation |
| Interaction * | interaction |
| CameraTransformation * | camera = NULL |
| gmtl::Matrix44f | camMatrix |
| Skybox | skybox |
| NetworkInterface * | network |
| AvatarInterface * | avatar = NULL |
| float | windMillSpeed = 0 |
Function Documentation
| void cleanup | ( | ) |
| void display | ( | void | ) |
| void initCoreComponents | ( | CoreComponents | comp | ) |
| void initInputInterface | ( | ModuleInterface * | moduleInterface | ) |
| void initModules | ( | ModuleInterface * | module | ) |
| void keyboard | ( | unsigned char | k, | |
| int | x, | |||
| int | y | |||
| ) |
| void keyboardUp | ( | unsigned char | k, | |
| int | x, | |||
| int | y | |||
| ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
| void motion | ( | int | x, | |
| int | y | |||
| ) |
| void mouse | ( | int | button, | |
| int | state, | |||
| int | x, | |||
| int | y | |||
| ) |
| void reshape | ( | int | w, | |
| int | h | |||
| ) |
| int setupGLUT | ( | int * | argc, | |
| char * | argv[] | |||
| ) |
Variable Documentation
| AvatarInterface* avatar = NULL |
| CameraTransformation* camera = NULL |
| gmtl::Matrix44f camMatrix |
| bool grabMouse = true |
| float lastTimeStamp |
| OSG_USING_NAMESPACE SimpleSceneManager* mgr |
| float windMillSpeed = 0 |
Generated on Wed Oct 20 16:11:51 2010 for inVRs by
1.5.8