Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #if !defined(GLOBAL_H)
00022 #define GLOBAL_H
00023
00024 #define _CRT_SECURE_NO_WARNING
00025 #define HIPP_API __declspec(dllexport)
00026
00027 #include <windows.h>
00028 #include "resource.h"
00029
00030 #include <objbase.h>
00031 #include <fstream>
00032 #include <string.h>
00033 #include <process.h>
00034
00035 #include <stdio.h>
00036 #include <iostream>
00037 #include <tchar.h>
00038
00039 #include <atlbase.h>
00040 #include <atlwin.h>
00041 extern CComModule _Module;
00042 #include <atlcom.h>
00043
00044 #include "freeimage\dist\freeimage.h"
00045
00046 #include <H3D/X3D.h>
00047 #include <gl/glut.h>
00048 #include <gl/freeglut_ext.h>
00049
00050 #include <H3D/VrmlParser.h>
00051 #include <H3D/GLUTWindow.h>
00052 #include <H3D/Transform.h>
00053 #include <H3D/KeySensor.h>
00054 #include <H3D/MouseSensor.h>
00055 #ifndef MACOSX
00056 #include <H3D/SpaceWareSensor.h>
00057 #endif
00058 #include <H3D/DEFNodes.h>
00059 #include <H3D/Viewpoint.h>
00060 #include <H3D/DeviceInfo.h>
00061 #include <H3D/INIFile.h>
00062 #include <H3D/ResourceResolver.h>
00063 #include <H3D/PythonScript.h>
00064 #include <H3D/NavigationInfo.h>
00065 #include <H3D/H3DNavigation.h>
00066
00067 #include <H3D/AnyDevice.h>
00068 #include <H3D/HapticsRenderers.h>
00069 #include <H3D/Shape.h>
00070 #include <H3D/Sphere.h>
00071
00072 #include <HAPI/HAPIHapticsDevice.h>
00073
00074 #include <H3D/AnyDevice.h>
00075 #include <H3D\VrmlParser.h>
00076 #include <H3D\X3DSAX2Handlers.h>
00077 #include <H3D\Group.h>
00078 #include <H3D\Transform.h>
00079 #include <H3D\Material.h>
00080 #include <H3D\Scene.h>
00081 #include <H3D\Box.h>
00082 #include <H3D\DepthMapSurface.h>
00083 #include <H3D\ImageTexture.h>
00084 #include <H3D\KeySensor.h>
00085 #include <H3D\MouseSensor.h>
00086 #include <H3D\DEFNodes.h>
00087 #include <H3D\Viewpoint.h>
00088 #include <H3D\DeviceInfo.h>
00089 #include <H3D\ResourceResolver.h>
00090 #include <H3D\PythonScript.h>
00091 #include <H3D\shape.h>
00092 #include <H3D\Sphere.h>
00093 #include <H3D\TransformInfo.h>
00094
00095 #include <H3D\DynamicTransform.h>
00096 #include <H3DUtil\vec2f.h>
00097 #include <H3D\FrictionalSurface.h>
00098 #include <H3D\MagneticSurface.h>
00099 #include <H3D\Appearance.h>
00100 #include <H3D\X3DGeometryNode.h>
00101 #include <H3D\MetadataString.h>
00102 #include <H3D\X3DTexture2DNode.h>
00103
00104 #include <H3DUtil\Threads.h>
00105 #include <H3DUtil\FreeImageImage.h>
00106
00107 #define SIDE 0.005
00108 #define SCALE_FACT 100.0
00109 #define ROLLOFF 1.0
00110 #define MAXDIST 200.0
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132 using namespace H3D;
00133 using namespace std;
00134
00135 enum Eorientation {
00136 VERTICAL, HORIZONTAL, EASEL, DRAWING_BOARD, NORMAL
00137 };
00138 enum Emove_direction {
00139 RIGHT, LEFT, UP, DOWN
00140 };
00141
00142 #endif
00143