10 #ifndef DtOsgWindow_H_
11 #define DtOsgWindow_H_
15 #include <osg/ref_ptr>
16 #include <osg/GraphicsContext>
26 class GraphicsContext;
27 struct GraphicsContext::Traits;
44 virtual osg::GraphicsContext* graphicsContext();
47 virtual const osg::GraphicsContext* graphicsContext()
const;
50 virtual bool isValid()
const;
55 virtual void sizeChanged(
int width,
int height);
58 static osg::GraphicsContext::Traits* createDefaultTraits();
60 void adjustPerspective();
63 virtual void clearEmptyWindow(
const std::string& messageLine1,
64 const std::string& messageLine2,
65 const std::string& messageLine3);
76 virtual void renderText(
int x,
int y,
const std::string& text);
78 static void setUpAntiAliasingLevels(osg::GraphicsContext::Traits& traits,
unsigned short level);
94 virtual ~DtOsgWindowResizeCallback();
97 virtual void resizedImplementation(osg::GraphicsContext* gc,
int x,
int y,
int width,
int height);
Abstract Base class.
Definition: DtWindow.h:25
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
osg::ref_ptr< osg::GraphicsContext > myContext
Definition: DtOsgWindow.h:82
DtOsgWindow * myParent
Definition: DtOsgWindow.h:100
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
Contains makVrv::DtIgView class.
A Callback object used to hook into the OSG window resize.
Definition: DtOsgWindow.h:88
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtViewConfiguration class.
A basic OSG display window, used to get the osg context for a display window.
Definition: DtOsgWindow.h:36