VR-Engage  2.2
Loading...
Searching...
No Matches
osgPch.h
Go to the documentation of this file.
1#include <GL/glew.h>
2
3// Hack around OSG's incompatibility with GLEW
4#ifdef glDrawElementsInstanced
5 #define RESTORE_GLEW
6 #undef glDrawElementsInstanced
7#endif
8#define glDrawElementsInstanced glDrawElementsInstanced
9
10#include <osg/State>
11
12// Unhack around OSG's incompatibility with GLEW
13#undef glDrawElementsInstanced
14#ifdef RESTORE_GLEW
15 #define glDrawElementsInstanced GLEW_GET_FUN(glDrawElementsInstanced)
16#endif
17
18#include <osg/Node>
19#include <osg/Group>
20#include <osg/Geode>
21#include <osg/Geometry>
22#include <osg/MatrixTransform>
23#include <osg/ref_ptr>
24#include <osg/Vec2>
25#include <osg/Vec3>
26#include <osg/Texture2D>
27#include <osg/FrameBufferObject>
28
29#include <osgDB/DatabasePager>
30#include <osgDB/Serializer>
31#include <osgDB/Registry>
32
33#include <osgUtil/SceneView>
34#include <osgUtil/CullVisitor>
35
36
37/*
38#include <vrvUtil/signalslib.h>
39//#include <vrvUtil/DtSignalConnectionManager.h>
40#include <vrvUtil/DtUnicode.h>
41#include <vrvUtil/DtCoordinateSystem.h>
42//#include <vrvUtil/DtCoordinateConverter.h>
43#include <vrvUtil/DtVirtualBaseClass.h>
44
45#include <vrvCore/DtAgent.h>
46#include <vrvCore/DtAgentCreator.h>
47#include <vrvCore/DtAgentDefinition.h>
48#include <vrvCore/DtAgentFactory.h>
49#include <vrvCore/DtAgentManagerInterface.h>
50#include <vrvCore/DtDe.h>
51//#include <vrvCore/DtElementEntry.h>
52#include <vrvCore/DtModel.h>
53#include <vrvCore/DtModelInstance.h>
54#include <vrvCore/DtModelInstanceFactory.h>
55#include <vrvCore/DtModelDefinition.h>
56//#include <vrvCore/DtRemoteGraphicVisualizerAttributes.h>
57//#include <vrvCore/DtSceneObjectVisualizer.h>
58//#include <vrvCore/DtStateVisualizer.h>
59#include <vrvCore/DtUniqueID.h>
60#include <vrvCore/DtDisplay.h>
61//#include <vrvCore/DtVrvCommand.h>
62#include <vrvCore/vrvCore.h>
63*/
64
65// #include <vrvOsg/DtOsgModelInstance.h>
66// #include <vrvOsg/DtOsgSceneConnector.h>
67// #include <vrvOsg/DtOsgRenderer.h>
68// #include <vrvOsg/DtOsgOverlayManager.h>
69// #include <vrvOsg/DtOsgFileCache.h>
70// #include <vrvOsg/DtOsgNodeTraversalFlags.h>
71// #include <vrvosg/DtOsgOverlayManager.h>
72// #include <vrvOsg/vrvOsg.h>