vrecko
virtual reality framework
|
#include "precompiled.h"
Classes | |
class | MainObject |
class | MainSceneUpdateCallback |
Macros | |
#define | PLANE_X 30.0f |
#define | PLANE_Y 30.0f |
#define | PLANE_Z -0.5f |
#define | MAIN_DEBUG_START_TIMING(section) |
#define | MAIN_DEBUG_STOP_TIMING(section) |
Functions | |
osg::ref_ptr< osg::Group > | pLoadingScreen (new osg::Group) |
void | load_config (void) |
void | loadVirtualEnvironment () |
void | cycleLoadingHourglass () |
void | displayStereoInfo (const osg::DisplaySettings *ds) |
void | createBackgroundPlane () |
void | createLoadingScreen () |
int | getNumScreens () |
void | mainLoop () |
Main loop. More... | |
int | main (int argc, char **argv) |
Variables | |
pthread_mutex_t * | loading_section_Mutex |
std::string | scenario_name = "net_test.xml" |
unsigned int | server_port = 60000 |
unsigned int | client_port = 60002 |
osg::ref_ptr< vrecko::ViewerBase > | viewer |
osg::Projection * | projection_node = NULL |
int | _height = 600 |
int | _width = 800 |
bool | _fullscreen = false |
int | _stereo = 0 |
float | _screen_distance = 1.5 |
float | _eye_separation = 0.06 |
float | _screen_height = 0.26 |
float | _screen_width = 0.0 |
unsigned int | display_frequency = 50 |
unsigned int | antiAliasSamples = 1 |
osg::Vec4 | clearColour = osg::Vec4(0.23, 0.208, 0.2196, 1.0) |
std::string | config_file = "vrecko.cfg" |
std::string | ip_str = "147.251.50.174" |
bool | net_flag = false |
osg::ref_ptr < osg::MatrixTransform > | pTransformation |
osg::ref_ptr< osgText::TextBase > | loading_description [3] |
osg::ref_ptr < osg::MatrixTransform > | pMovingTransformation [2] |
unsigned int | loading_state |
MainObject * | mainObject |
std::vector< std::string > | VE_names |
float | loading_position |
std::string | loading_category |
osg::Timer_t | last_tick |
LoadingConsole * | loadingConsole = NULL |
#define MAIN_DEBUG_START_TIMING | ( | section | ) |
#define MAIN_DEBUG_STOP_TIMING | ( | section | ) |
#define PLANE_X 30.0f |
#define PLANE_Y 30.0f |
#define PLANE_Z -0.5f |
void createBackgroundPlane | ( | ) |
void createLoadingScreen | ( | ) |
void cycleLoadingHourglass | ( | ) |
void displayStereoInfo | ( | const osg::DisplaySettings * | ds | ) |
int getNumScreens | ( | ) |
void load_config | ( | void | ) |
void loadVirtualEnvironment | ( | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
< This code may explicilty throw an exception to signalize a problem. The exception will have meaningful description included.
void mainLoop | ( | ) |
Main loop.
osg::ref_ptr<osg::Group> pLoadingScreen | ( | new osg::Group | ) |
float _eye_separation = 0.06 |
bool _fullscreen = false |
int _height = 600 |
float _screen_distance = 1.5 |
float _screen_height = 0.26 |
float _screen_width = 0.0 |
int _stereo = 0 |
int _width = 800 |
unsigned int antiAliasSamples = 1 |
osg::Vec4 clearColour = osg::Vec4(0.23, 0.208, 0.2196, 1.0) |
unsigned int client_port = 60002 |
std::string config_file = "vrecko.cfg" |
unsigned int display_frequency = 50 |
std::string ip_str = "147.251.50.174" |
osg::Timer_t last_tick |
std::string loading_category |
osg::ref_ptr<osgText::TextBase> loading_description[3] |
float loading_position |
pthread_mutex_t* loading_section_Mutex |
unsigned int loading_state |
LoadingConsole* loadingConsole = NULL |
MainObject* mainObject |
bool net_flag = false |
osg::ref_ptr<osg::MatrixTransform> pMovingTransformation[2] |
osg::Projection* projection_node = NULL |
osg::ref_ptr<osg::MatrixTransform> pTransformation |
std::string scenario_name = "net_test.xml" |
unsigned int server_port = 60000 |
std::vector<std::string> VE_names |
osg::ref_ptr<vrecko::ViewerBase> viewer |