Public Member Functions |
| Viewer () |
| Viewer (osg::ArgumentParser &arguments) |
| Viewer (const osgViewer::Viewer &viewer, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
virtual | ~Viewer () |
| META_Object (osgViewer, Viewer) |
virtual void | take (osg::View &rhs) |
virtual void | setViewerStats (osg::Stats *stats) |
virtual osg::Stats * | getViewerStats () |
virtual const osg::Stats * | getViewerStats () const |
virtual bool | readConfiguration (const std::string &filename) |
virtual bool | isRealized () const |
virtual void | realize () |
virtual void | setStartTick (osg::Timer_t tick) |
void | setReferenceTime (double time=0.0) |
virtual void | setSceneData (osg::Node *node) |
virtual GraphicsWindowEmbedded * | setUpViewerAsEmbeddedInWindow (int x, int y, int width, int height) |
virtual double | elapsedTime () |
virtual osg::FrameStamp * | getViewerFrameStamp () |
virtual int | run () |
virtual bool | checkNeedToDoFrame () |
virtual void | advance (double simulationTime=USE_REFERENCE_TIME) |
virtual void | eventTraversal () |
virtual void | updateTraversal () |
void | setCameraWithFocus (osg::Camera *camera) |
osg::Camera * | getCameraWithFocus () |
const osg::Camera * | getCameraWithFocus () const |
virtual void | getCameras (Cameras &cameras, bool onlyActive=true) |
virtual void | getContexts (Contexts &contexts, bool onlyValid=true) |
virtual void | getAllThreads (Threads &threads, bool onlyActive=true) |
virtual void | getOperationThreads (OperationThreads &threads, bool onlyActive=true) |
virtual void | getScenes (Scenes &scenes, bool onlyValid=true) |
virtual void | getViews (Views &views, bool onlyValid=true) |
virtual void | getUsage (osg::ApplicationUsage &usage) const |
| ViewerBase () |
| ViewerBase (const ViewerBase &vb) |
virtual void | setThreadingModel (ThreadingModel threadingModel) |
ThreadingModel | getThreadingModel () const |
virtual ThreadingModel | suggestBestThreadingModel () |
virtual void | setUpThreading () |
bool | areThreadsRunning () const |
virtual void | stopThreading () |
virtual void | startThreading () |
void | setEndBarrierPosition (BarrierPosition bp) |
BarrierPosition | getEndBarrierPosition () const |
void | setDone (bool done) |
bool | done () const |
void | setEventVisitor (osgGA::EventVisitor *eventVisitor) |
osgGA::EventVisitor * | getEventVisitor () |
const osgGA::EventVisitor * | getEventVisitor () const |
void | setKeyEventSetsDone (int key) |
int | getKeyEventSetsDone () const |
void | setQuitEventSetsDone (bool flag) |
bool | getQuitEventSetsDone () const |
void | setReleaseContextAtEndOfFrameHint (bool hint) |
bool | getReleaseContextAtEndOfFrameHint () const |
void | setUpdateVisitor (osgUtil::UpdateVisitor *updateVisitor) |
osgUtil::UpdateVisitor * | getUpdateVisitor () |
const osgUtil::UpdateVisitor * | getUpdateVisitor () const |
void | setUpdateOperations (osg::OperationQueue *operations) |
osg::OperationQueue * | getUpdateOperations () |
const osg::OperationQueue * | getUpdateOperations () const |
void | addUpdateOperation (osg::Operation *operation) |
void | removeUpdateOperation (osg::Operation *operation) |
void | setRealizeOperation (osg::Operation *op) |
osg::Operation * | getRealizeOperation () |
void | setIncrementalCompileOperation (osgUtil::IncrementalCompileOperation *ico) |
osgUtil::IncrementalCompileOperation * | getIncrementalCompileOperation () |
void | setRunFrameScheme (FrameScheme fs) |
FrameScheme | getRunFrameScheme () const |
void | setRunMaxFrameRate (double frameRate) |
double | getRunMaxFrameRate () const |
virtual void | frame (double simulationTime=USE_REFERENCE_TIME) |
virtual void | renderingTraversals () |
virtual void | getWindows (Windows &windows, bool onlyValid=true) |
void | checkWindowStatus () |
void | checkWindowStatus (const Contexts &contexts) |
| Object () |
| Object (bool threadSafeRefUnref) |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
virtual Object * | cloneType () const =0 |
virtual Object * | clone (const CopyOp &) const =0 |
virtual bool | isSameKindAs (const Object *) const |
virtual const char * | libraryName () const =0 |
virtual const char * | className () const =0 |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
virtual void | setName (const std::string &name) |
void | setName (const char *name) |
const std::string & | getName () const |
void | setDataVariance (DataVariance dv) |
DataVariance | getDataVariance () const |
virtual void | computeDataVariance () |
void | setUserDataContainer (osg::UserDataContainer *udc) |
osg::UserDataContainer * | getUserDataContainer () |
const osg::UserDataContainer * | getUserDataContainer () const |
osg::UserDataContainer * | getOrCreateUserDataContainer () |
virtual void | setUserData (Referenced *obj) |
virtual Referenced * | getUserData () |
virtual const Referenced * | getUserData () const |
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
virtual void | resizeGLObjectBuffers (unsigned int) |
virtual void | releaseGLObjects (osg::State *=0) const |
| Referenced () |
| Referenced (bool threadSafeRefUnref) |
| Referenced (const Referenced &) |
Referenced & | operator= (const Referenced &) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
| View () |
| View (const osgViewer::View &view, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| META_Object (osgViewer, View) |
virtual osg::View * | asView () |
ViewerBase * | getViewerBase () |
osg::Timer_t | getStartTick () const |
Scene * | getScene () |
const Scene * | getScene () const |
osg::Node * | getSceneData () |
const osg::Node * | getSceneData () const |
void | setDatabasePager (osgDB::DatabasePager *dp) |
osgDB::DatabasePager * | getDatabasePager () |
const osgDB::DatabasePager * | getDatabasePager () const |
void | setImagePager (osgDB::ImagePager *ip) |
osgDB::ImagePager * | getImagePager () |
const osgDB::ImagePager * | getImagePager () const |
void | setEventQueue (osgGA::EventQueue *eventQueue) |
osgGA::EventQueue * | getEventQueue () |
const osgGA::EventQueue * | getEventQueue () const |
void | setCameraManipulator (osgGA::CameraManipulator *manipulator, bool resetPosition=true) |
osgGA::CameraManipulator * | getCameraManipulator () |
const osgGA::CameraManipulator * | getCameraManipulator () const |
void | home () |
void | addEventHandler (osgGA::GUIEventHandler *eventHandler) |
void | removeEventHandler (osgGA::GUIEventHandler *eventHandler) |
EventHandlers & | getEventHandlers () |
const EventHandlers & | getEventHandlers () const |
void | setCoordinateSystemNodePath (const osg::NodePath &nodePath) |
osg::NodePath | getCoordinateSystemNodePath () const |
void | computeActiveCoordinateSystemNodePath () |
void | setDisplaySettings (osg::DisplaySettings *ds) |
osg::DisplaySettings * | getDisplaySettings () |
const osg::DisplaySettings * | getDisplaySettings () const |
void | setFusionDistance (osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f) |
osgUtil::SceneView::FusionDistanceMode | getFusionDistanceMode () const |
float | getFusionDistanceValue () const |
void | setUpViewAcrossAllScreens () |
void | setUpViewInWindow (int x, int y, int width, int height, unsigned int screenNum=0) |
void | setUpViewOnSingleScreen (unsigned int screenNum=0) |
void | setUpViewFor3DSphericalDisplay (double radius=1.0, double collar=0.45, unsigned int screenNum=0, osg::Image *intensityMap=0, const osg::Matrixd &projectorMatrix=osg::Matrixd()) |
void | setUpViewForPanoramicSphericalDisplay (double radius=1.0, double collar=0.45, unsigned int screenNum=0, osg::Image *intensityMap=0, const osg::Matrixd &projectorMatrix=osg::Matrixd()) |
void | setUpViewForWoWVxDisplay (unsigned int screenNum, unsigned char wow_content, unsigned char wow_factor, unsigned char wow_offset, float wow_disparity_Zd, float wow_disparity_vz, float wow_disparity_M, float wow_disparity_C) |
bool | setUpDepthPartitionForCamera (osg::Camera *cameraToPartition, DepthPartitionSettings *dps=0) |
bool | setUpDepthPartition (DepthPartitionSettings *dsp=0) |
bool | containsCamera (const osg::Camera *camera) const |
const osg::Camera * | getCameraContainingPosition (float x, float y, float &local_x, float &local_y) const |
bool | computeIntersections (float x, float y, osgUtil::LineSegmentIntersector::Intersections &intersections, osg::Node::NodeMask traversalMask=0xffffffff) |
bool | computeIntersections (float x, float y, const osg::NodePath &nodePath, osgUtil::LineSegmentIntersector::Intersections &intersections, osg::Node::NodeMask traversalMask=0xffffffff) |
virtual void | requestRedraw () |
virtual void | requestContinuousUpdate (bool needed=true) |
virtual void | requestWarpPointer (float x, float y) |
void | assignSceneDataToCameras () |
void | init () |
| View (const osg::View &view, const osg::CopyOp ©op=CopyOp::SHALLOW_COPY) |
| META_Object (osg, View) |
void | setStats (osg::Stats *stats) |
osg::Stats * | getStats () |
const osg::Stats * | getStats () const |
void | setLightingMode (LightingMode lightingMode) |
LightingMode | getLightingMode () const |
void | setLight (osg::Light *light) |
osg::Light * | getLight () |
const osg::Light * | getLight () const |
void | setCamera (osg::Camera *camera) |
osg::Camera * | getCamera () |
const osg::Camera * | getCamera () const |
void | setFrameStamp (osg::FrameStamp *fs) |
osg::FrameStamp * | getFrameStamp () |
const osg::FrameStamp * | getFrameStamp () const |
bool | addSlave (osg::Camera *camera, bool useMastersSceneData=true) |
bool | addSlave (osg::Camera *camera, const osg::Matrix &projectionOffset, const osg::Matrix &viewOffset, bool useMastersSceneData=true) |
bool | removeSlave (unsigned int pos) |
unsigned int | getNumSlaves () const |
Slave & | getSlave (unsigned int pos) |
const Slave & | getSlave (unsigned int pos) const |
unsigned int | findSlaveIndexForCamera (osg::Camera *camera) const |
Slave * | findSlaveForCamera (osg::Camera *camera) |
void | updateSlaves () |
virtual | ~GUIActionAdapter () |
Viewer holds a single view on to a single scene.