|
| 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 bool | checkEvents () |
|
virtual void | advance (double simulationTime=USE_REFERENCE_TIME) |
|
virtual void | eventTraversal () |
|
virtual void | updateTraversal () |
|
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 | setEndBarrierOperation (osg::BarrierOperation::PreBlockOp op) |
|
osg::BarrierOperation::PreBlockOp | getEndBarrierOperation () 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 |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject bool | getUserValue (const std::string &name, T &value) 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 |
|
|
enum | ThreadingModel {
SingleThreaded,
CullDrawThreadPerContext,
ThreadPerContext = CullDrawThreadPerContext,
DrawThreadPerContext,
CullThreadPerCameraDrawThreadPerContext,
ThreadPerCamera = CullThreadPerCameraDrawThreadPerContext,
AutomaticSelection
} |
|
enum | BarrierPosition { BeforeSwapBuffers,
AfterSwapBuffers
} |
|
enum | FrameScheme { ON_DEMAND,
CONTINUOUS
} |
|
typedef std::vector
< osg::Camera * > | Cameras |
|
typedef std::vector
< osg::GraphicsContext * > | Contexts |
|
typedef std::vector
< osgViewer::GraphicsWindow * > | Windows |
|
typedef std::vector
< OpenThreads::Thread * > | Threads |
|
typedef std::vector
< osg::OperationThread * > | OperationThreads |
|
typedef std::vector
< osgViewer::Scene * > | Scenes |
|
typedef std::vector
< osgViewer::View * > | Views |
|
enum | DataVariance { DYNAMIC,
STATIC,
UNSPECIFIED
} |
|
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
|
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
|
static bool | getThreadSafeReferenceCounting () |
|
static void | setDeleteHandler (DeleteHandler *handler) |
|
static DeleteHandler * | getDeleteHandler () |
|
bool | _firstFrame |
|
bool | _done |
|
int | _keyEventSetsDone |
|
bool | _quitEventSetsDone |
|
bool | _releaseContextAtEndOfFrameHint |
|
ThreadingModel | _threadingModel |
|
bool | _threadsRunning |
|
bool | _requestRedraw |
|
bool | _requestContinousUpdate |
|
FrameScheme | _runFrameScheme |
|
double | _runMaxFrameRate |
|
BarrierPosition | _endBarrierPosition |
|
osg::BarrierOperation::PreBlockOp | _endBarrierOperation |
|
osg::ref_ptr
< osg::BarrierOperation > | _startRenderingBarrier |
|
osg::ref_ptr
< osg::BarrierOperation > | _endRenderingDispatchBarrier |
|
osg::ref_ptr
< osg::EndOfDynamicDrawBlock > | _endDynamicDrawBlock |
|
osg::ref_ptr< osgGA::EventVisitor > | _eventVisitor |
|
osg::ref_ptr< osg::OperationQueue > | _updateOperations |
|
osg::ref_ptr
< osgUtil::UpdateVisitor > | _updateVisitor |
|
osg::ref_ptr< osg::Operation > | _realizeOperation |
|
osg::ref_ptr
< osgUtil::IncrementalCompileOperation > | _incrementalCompileOperation |
|
osg::observer_ptr
< osg::GraphicsContext > | _currentContext |
|
std::string | _name |
|
DataVariance | _dataVariance |
|
osg::UserDataContainer * | _userDataContainer |
|
OpenThreads::AtomicPtr | _observerSet |
|
OpenThreads::Atomic | _refCount |
|
Viewer holds a single view on to a single scene.