14#ifndef OSGVIEWER_Viewer
15#define OSGVIEWER_Viewer 1
#define USE_REFERENCE_TIME
Definition ViewerBase:30
Definition GUIEventAdapter:82
Definition GraphicsWindow:218
Definition osgViewer/View:76
virtual void setSceneData(osg::Node *node)
std::vector< OpenThreads::Thread * > Threads
Definition ViewerBase:272
std::vector< osg::OperationThread * > OperationThreads
Definition ViewerBase:275
std::vector< osgViewer::View * > Views
Definition ViewerBase:281
std::vector< osg::Camera * > Cameras
Definition ViewerBase:263
std::vector< osg::GraphicsContext * > Contexts
Definition ViewerBase:266
std::vector< osgViewer::Scene * > Scenes
Definition ViewerBase:278
virtual void resizeGLObjectBuffers(unsigned int maxSize)
Definition Viewer:117
virtual void setSceneData(osg::Node *node)
virtual osg::FrameStamp * getViewerFrameStamp()
Definition Viewer:80
virtual bool readConfiguration(const std::string &filename)
virtual bool checkNeedToDoFrame()
virtual void advance(double simulationTime=USE_REFERENCE_TIME)
virtual osg::Stats * getViewerStats()
Definition Viewer:49
virtual void take(osg::View &rhs)
virtual const osg::Stats * getViewerStats() const
Definition Viewer:52
Viewer(osg::ArgumentParser &arguments)
virtual void viewerInit()
Definition Viewer:124
virtual bool isRealized() const
virtual double elapsedTime()
void reprojectPointerData(osgGA::GUIEventAdapter &source_event, osgGA::GUIEventAdapter &dest_event)
virtual void eventTraversal()
void generatePointerData(osgGA::GUIEventAdapter &event)
virtual void releaseGLObjects(osg::State *state=0) const
Definition Viewer:118
virtual void updateTraversal()
virtual void getUsage(osg::ApplicationUsage &usage) const
virtual bool checkEvents()
virtual void getContexts(Contexts &contexts, bool onlyValid=true)
virtual void setViewerStats(osg::Stats *stats)
Definition Viewer:46
void generateSlavePointerData(osg::Camera *camera, osgGA::GUIEventAdapter &event)
virtual void getAllThreads(Threads &threads, bool onlyActive=true)
virtual void getCameras(Cameras &cameras, bool onlyActive=true)
virtual void getOperationThreads(OperationThreads &threads, bool onlyActive=true)
void setReferenceTime(double time=0.0)
Viewer(const osgViewer::Viewer &viewer, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
virtual void getScenes(Scenes &scenes, bool onlyValid=true)
META_Object(osgViewer, Viewer)
virtual GraphicsWindowEmbedded * setUpViewerAsEmbeddedInWindow(int x, int y, int width, int height)
virtual void setStartTick(osg::Timer_t tick)
virtual void getViews(Views &views, bool onlyValid=true)
Definition ApplicationUsage:26
Definition ArgumentParser:28
@ SHALLOW_COPY
Definition CopyOp:47
virtual void releaseGLObjects(osg::State *=0) const
virtual void resizeGLObjectBuffers(unsigned int maxSize)
unsigned long long Timer_t
Definition Timer:24
#define OSGVIEWER_EXPORT
Definition osgViewer/Export:40