Public Member Functions |
| CompositeViewer () |
| CompositeViewer (const CompositeViewer &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| CompositeViewer (osg::ArgumentParser &arguments) |
| META_Object (osgViewer, CompositeViewer) |
virtual | ~CompositeViewer () |
bool | readConfiguration (const std::string &filename) |
virtual void | setViewerStats (osg::Stats *stats) |
virtual osg::Stats * | getViewerStats () |
virtual const osg::Stats * | getViewerStats () const |
void | addView (osgViewer::View *view) |
void | removeView (osgViewer::View *view) |
osgViewer::View * | getView (unsigned i) |
const osgViewer::View * | getView (unsigned i) const |
unsigned int | getNumViews () const |
virtual bool | isRealized () const |
virtual void | realize () |
virtual void | setStartTick (osg::Timer_t tick) |
void | setReferenceTime (double time=0.0) |
osg::FrameStamp * | getFrameStamp () |
const osg::FrameStamp * | getFrameStamp () const |
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 |
osgViewer::View * | getViewWithFocus () |
const osgViewer::View * | getViewWithFocus () 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 |
CompositeViewer holds one or more views to one or more scenes.