1 #ifndef BEHINDOBSTACLE_WT_H
2 #define BEHINDOBSTACLE_WT_H
7 #include <osgText/Text>
8 #include <osgText/Font>
9 #include <osg/BlendFunc>
10 #include <osg/Material>
11 #include <osg/StateSet>
14 using namespace vrecko;
22 void preInitialize(
void);
23 void postInitialize(
void);
25 void processEvent(
const std::string &input_name,
void *value);
29 bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parametersNode);
30 XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *saveXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);
33 void createScenes(
void);
34 void setScene(
int scene_id);
35 void initScene(
int scene_id);
36 void setAllBindingForMethod(
int method_id);
37 int checkLocation(
int scene_id);
40 std::string getInfoString(
void);
49 bool stereoscopic,
two_handed, large_projection, dynamics_used;
57 std::string method_desc[20];
60 osgText::Text *experiment_description, *
timer_board, *remaining_tests, *method_board;
78 Ability *pCuttingPlane, *pCuttingPlane2, *pChangeOfVisibility, *pMirror1, *pMirror2, *pMirror3, *
pWIM, *pAvatarManipulator, *pMappingFunctions[2];
79 osg::MatrixTransform *pTempl[3];
80 osg::Vec3 final_object_position[3];
81 osg::Matrix final_object_rotation[3];