|
openscenegraph
|
#include <View>
Classes | |
| struct | StereoSlaveCallback |
Public Types | |
| typedef std::vector< osg::ref_ptr< osgGA::Device > > | Devices |
| typedef std::list< osg::ref_ptr< osgGA::EventHandler > > | EventHandlers |
| Public Types inherited from osg::View | |
| enum | LightingMode { NO_LIGHT , HEADLIGHT , SKY_LIGHT } |
| Public Types inherited from osg::Object | |
| enum | DataVariance { DYNAMIC , STATIC , UNSPECIFIED } |
Public Member Functions | |
| View () | |
| View (const osgViewer::View &view, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgViewer, View) | |
| virtual osg::View * | asView () |
| ViewerBase * | getViewerBase () |
| virtual void | take (osg::View &rhs) |
| virtual void | setStartTick (osg::Timer_t tick) |
| osg::Timer_t | getStartTick () const |
| Scene * | getScene () |
| const Scene * | getScene () const |
| virtual void | setSceneData (osg::Node *node) |
| template<class T> | |
| void | setSceneData (const osg::ref_ptr< T > &node) |
| osg::Node * | getSceneData () |
| const osg::Node * | getSceneData () const |
| void | setDatabasePager (osgDB::DatabasePager *dp) |
| template<class T> | |
| void | setDatabasePager (const osg::ref_ptr< T > &dp) |
| osgDB::DatabasePager * | getDatabasePager () |
| const osgDB::DatabasePager * | getDatabasePager () const |
| void | setImagePager (osgDB::ImagePager *ip) |
| template<class T> | |
| void | setImagePager (const osg::ref_ptr< T > &ip) |
| osgDB::ImagePager * | getImagePager () |
| const osgDB::ImagePager * | getImagePager () const |
| void | addDevice (osgGA::Device *eventSource) |
| template<class T> | |
| void | addDevice (const osg::ref_ptr< T > &eventSource) |
| void | removeDevice (osgGA::Device *eventSource) |
| template<class T> | |
| void | removeDevice (const osg::ref_ptr< T > &eventSource) |
| Devices & | getDevices () |
| const Devices & | getDevices () const |
| void | setEventQueue (osgGA::EventQueue *eventQueue) |
| template<class T> | |
| void | setEventQueue (const osg::ref_ptr< T > &eventQueue) |
| osgGA::EventQueue * | getEventQueue () |
| const osgGA::EventQueue * | getEventQueue () const |
| void | setCameraManipulator (osgGA::CameraManipulator *manipulator, bool resetPosition=true) |
| template<class T> | |
| void | setCameraManipulator (const osg::ref_ptr< T > &manipulator, bool resetPosition=true) |
| osgGA::CameraManipulator * | getCameraManipulator () |
| const osgGA::CameraManipulator * | getCameraManipulator () const |
| void | home () |
| void | addEventHandler (osgGA::EventHandler *eventHandler) |
| template<class T> | |
| void | addEventHandler (const osg::ref_ptr< T > &eventHandler) |
| void | removeEventHandler (osgGA::EventHandler *eventHandler) |
| template<class T> | |
| void | removeEventHandler (const osg::ref_ptr< T > &eventHandler) |
| EventHandlers & | getEventHandlers () |
| const EventHandlers & | getEventHandlers () const |
| void | setCoordinateSystemNodePath (const osg::NodePath &nodePath) |
| osg::NodePath | getCoordinateSystemNodePath () const |
| void | computeActiveCoordinateSystemNodePath () |
| void | setDisplaySettings (osg::DisplaySettings *ds) |
| template<class T> | |
| void | setDisplaySettings (const osg::ref_ptr< T > &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 | apply (ViewConfig *config) |
| template<class T> | |
| void | apply (const osg::ref_ptr< T > &config) |
| ViewConfig * | getLastAppliedViewConfig () |
| const ViewConfig * | getLastAppliedViewConfig () 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 |
| template<class T> | |
| bool | containsCamera (const osg::ref_ptr< T > &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) |
| bool | computeIntersections (const osgGA::GUIEventAdapter &ea, osgUtil::LineSegmentIntersector::Intersections &intersections, osg::Node::NodeMask traversalMask=0xffffffff) |
| bool | computeIntersections (const osgGA::GUIEventAdapter &ea, const osg::NodePath &nodePath, osgUtil::LineSegmentIntersector::Intersections &intersections, osg::Node::NodeMask traversalMask=0xffffffff) |
| bool | computeIntersections (const osg::Camera *camera, osgUtil::Intersector::CoordinateFrame cf, float x, float y, osgUtil::LineSegmentIntersector::Intersections &intersections, osg::Node::NodeMask traversalMask=0xffffffff) |
| bool | computeIntersections (const osg::Camera *camera, osgUtil::Intersector::CoordinateFrame cf, 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) |
| virtual bool | requiresUpdateSceneGraph () const |
| virtual bool | requiresRedraw () const |
| osg::Texture * | createDistortionTexture (int width, int height) |
| osg::Camera * | assignRenderToTextureCamera (osg::GraphicsContext *gc, int width, int height, osg::Texture *texture) |
| osg::Camera * | assignKeystoneDistortionCamera (osg::DisplaySettings *ds, osg::GraphicsContext *gc, int x, int y, int width, int height, GLenum buffer, osg::Texture *texture, Keystone *keystone) |
| osg::Camera * | assignStereoCamera (osg::DisplaySettings *ds, osg::GraphicsContext *gc, int x, int y, int width, int height, GLenum buffer, double eyeScale) |
| void | assignStereoOrKeystoneToCamera (osg::Camera *camera, osg::DisplaySettings *ds) |
| void | assignSceneDataToCameras () |
| void | init () |
| Public Member Functions inherited from osg::View | |
| View () | |
| 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 void | resizeGLObjectBuffers (unsigned int maxSize) |
| virtual void | releaseGLObjects (osg::State *=0) const |
| Public Member Functions inherited from osg::Object | |
| 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 |
| std::string | getCompoundClassName () const |
| virtual Node * | asNode () |
| virtual const Node * | asNode () const |
| virtual NodeVisitor * | asNodeVisitor () |
| virtual const NodeVisitor * | asNodeVisitor () const |
| virtual StateSet * | asStateSet () |
| virtual const StateSet * | asStateSet () const |
| virtual StateAttribute * | asStateAttribute () |
| virtual const StateAttribute * | asStateAttribute () const |
| virtual Uniform * | asUniform () |
| virtual const Uniform * | asUniform () const |
| virtual Camera * | asCamera () |
| virtual const Camera * | asCamera () const |
| virtual Drawable * | asDrawable () |
| virtual const Drawable * | asDrawable () const |
| virtual Callback * | asCallback () |
| virtual const Callback * | asCallback () const |
| virtual CallbackObject * | asCallbackObject () |
| virtual const CallbackObject * | asCallbackObject () const |
| virtual UserDataContainer * | asUserDataContainer () |
| virtual const UserDataContainer * | asUserDataContainer () const |
| virtual ValueObject * | asValueObject () |
| virtual const ValueObject * | asValueObject () const |
| virtual Image * | asImage () |
| virtual const Image * | asImage () const |
| 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) |
| template<class T> | |
| void | setUserDataContainer (const ref_ptr< T > &udc) |
| osg::UserDataContainer * | getUserDataContainer () |
| const osg::UserDataContainer * | getUserDataContainer () const |
| osg::UserDataContainer * | getOrCreateUserDataContainer () |
| virtual void | setUserData (Referenced *obj) |
| template<class T> | |
| void | setUserData (const ref_ptr< T > &ud) |
| 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) |
| template<typename T> | |
| BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
| Public Member Functions inherited from osg::Referenced | |
| 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 |
| Public Member Functions inherited from osgGA::GUIActionAdapter | |
| virtual | ~GUIActionAdapter () |
Protected Member Functions | |
| virtual | ~View () |
| virtual osg::GraphicsOperation * | createRenderer (osg::Camera *camera) |
| Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
| Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Friends | |
| class | CompositeViewer |
Additional Inherited Members | |
| Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
| Protected Types inherited from osg::View | |
| typedef std::vector< Slave > | Slaves |
View holds a single view on a scene, this view may be composed of one or more slave cameras.
| typedef std::vector< osg::ref_ptr<osgGA::Device> > osgViewer::View::Devices |
| typedef std::list< osg::ref_ptr<osgGA::EventHandler> > osgViewer::View::EventHandlers |
| osgViewer::View::View | ( | ) |
Referenced by META_Object().
| osgViewer::View::View | ( | const osgViewer::View & | view, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY ) |
References osg::CopyOp::SHALLOW_COPY.
|
protectedvirtual |
Reimplemented from osg::View.
|
inline |
References addDevice(), and osg::ref_ptr< T >::get().
Referenced by addDevice().
| void osgViewer::View::addDevice | ( | osgGA::Device * | eventSource | ) |
Add a Device. The Device is polled on each new frame via it's Device::checkEvents() method and any events generated then collected via Device::getEventQueue()
|
inline |
References addEventHandler(), and osg::ref_ptr< T >::get().
Referenced by addEventHandler().
| void osgViewer::View::addEventHandler | ( | osgGA::EventHandler * | eventHandler | ) |
Add an EventHandler that adds handling of events to the View.
|
inline |
References apply(), and osg::ref_ptr< T >::get().
Referenced by apply().
| void osgViewer::View::apply | ( | ViewConfig * | config | ) |
Apply a viewer configuration to set up Cameras and Windowing.
| osg::Camera * osgViewer::View::assignKeystoneDistortionCamera | ( | osg::DisplaySettings * | ds, |
| osg::GraphicsContext * | gc, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| GLenum | buffer, | ||
| osg::Texture * | texture, | ||
| Keystone * | keystone ) |
| osg::Camera * osgViewer::View::assignRenderToTextureCamera | ( | osg::GraphicsContext * | gc, |
| int | width, | ||
| int | height, | ||
| osg::Texture * | texture ) |
| void osgViewer::View::assignSceneDataToCameras | ( | ) |
| osg::Camera * osgViewer::View::assignStereoCamera | ( | osg::DisplaySettings * | ds, |
| osg::GraphicsContext * | gc, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| GLenum | buffer, | ||
| double | eyeScale ) |
| void osgViewer::View::assignStereoOrKeystoneToCamera | ( | osg::Camera * | camera, |
| osg::DisplaySettings * | ds ) |
|
inlinevirtual |
Provide a mechanism for getting the osg::View associated from the GUIActionAdapter. One would use this to case view to osgViewer::View(er) if supported by the subclass.
Reimplemented from osgGA::GUIActionAdapter.
| void osgViewer::View::computeActiveCoordinateSystemNodePath | ( | ) |
Compute the NodePath to any active CoordinateSystemNode present in the Scene.
| bool osgViewer::View::computeIntersections | ( | const osg::Camera * | camera, |
| osgUtil::Intersector::CoordinateFrame | cf, | ||
| float | x, | ||
| float | y, | ||
| const osg::NodePath & | nodePath, | ||
| osgUtil::LineSegmentIntersector::Intersections & | intersections, | ||
| osg::Node::NodeMask | traversalMask = 0xffffffff ) |
Compute intersections of a ray through the specified camera and a specified nodePath's subgraph.
| bool osgViewer::View::computeIntersections | ( | const osg::Camera * | camera, |
| osgUtil::Intersector::CoordinateFrame | cf, | ||
| float | x, | ||
| float | y, | ||
| osgUtil::LineSegmentIntersector::Intersections & | intersections, | ||
| osg::Node::NodeMask | traversalMask = 0xffffffff ) |
Compute intersections of a ray through the specified camera.
|
virtual |
Compute intersections of a ray, starting the current mouse position, through the specified master camera's window/eye coordinates and a specified nodePath's subgraph.
Reimplemented from osgGA::GUIActionAdapter.
|
virtual |
Compute intersections of a ray, starting the current mouse position, through the specified camera.
Reimplemented from osgGA::GUIActionAdapter.
| bool osgViewer::View::computeIntersections | ( | float | x, |
| float | y, | ||
| const osg::NodePath & | nodePath, | ||
| osgUtil::LineSegmentIntersector::Intersections & | intersections, | ||
| osg::Node::NodeMask | traversalMask = 0xffffffff ) |
deprecated.
| bool osgViewer::View::computeIntersections | ( | float | x, |
| float | y, | ||
| osgUtil::LineSegmentIntersector::Intersections & | intersections, | ||
| osg::Node::NodeMask | traversalMask = 0xffffffff ) |
deprecated.
| bool osgViewer::View::containsCamera | ( | const osg::Camera * | camera | ) | const |
Return true if this view contains a specified camera.
|
inline |
References containsCamera(), and osg::ref_ptr< T >::get().
Referenced by containsCamera().
| osg::Texture * osgViewer::View::createDistortionTexture | ( | int | width, |
| int | height ) |
|
protectedvirtual |
Reimplemented from osg::View.
| const osg::Camera * osgViewer::View::getCameraContainingPosition | ( | float | x, |
| float | y, | ||
| float & | local_x, | ||
| float & | local_y ) const |
deprecated.
|
inline |
Get the View's CameraManipulator.
References _cameraManipulator.
|
inline |
Get the const View's CameraManipulator.
References _cameraManipulator.
| osg::NodePath osgViewer::View::getCoordinateSystemNodePath | ( | ) | const |
Get the NodePath to any active CoordinateSystemNode present in the Scene.
| osgDB::DatabasePager * osgViewer::View::getDatabasePager | ( | ) |
Get the View's database pager.
| const osgDB::DatabasePager * osgViewer::View::getDatabasePager | ( | ) | const |
Get the const View's database pager.
|
inline |
References _eventSources.
|
inline |
References _eventSources.
|
inline |
Set the DisplaySettings object associated with this view.
References _displaySettings.
|
inline |
Set the DisplaySettings object associated with this view.
References _displaySettings.
|
inline |
Get the View's list of EventHandlers.
References _eventHandlers.
|
inline |
Get the const View's list of EventHandlers.
References _eventHandlers.
|
inline |
References _eventQueue.
|
inline |
References _eventQueue.
|
inline |
Get the FusionDistanceMode.
References _fusionDistanceMode.
|
inline |
Get the FusionDistanceValue. Note, only used for USE_FUSION_DISTANCE_VALUE & PROPORTIONAL_TO_SCREEN_DISTANCE modes.
References _fusionDistanceValue.
| osgDB::ImagePager * osgViewer::View::getImagePager | ( | ) |
Get the View's image pager.
| const osgDB::ImagePager * osgViewer::View::getImagePager | ( | ) | const |
Get the const View's image pager.
|
inline |
References _lastAppliedViewConfig.
|
inline |
References _lastAppliedViewConfig.
|
inline |
|
inline |
References _startTick.
|
inline |
Provide a mechanism for getting the viewer object from this osgViewer::View. In the case of a osgViewer::Viewer the ViewerBase will effectively point to this object as Viewer subclasses from View. In the case of a osgViewer::CompsoiteViewer the ViewerBase will point to the CompositeViewer that owns this View.
References _viewerBase.
| void osgViewer::View::home | ( | ) |
Set the view to the CameraManipulator's home position, if none is attached home() it does nothing. Note, to set the home position use getCamaraManipulator()->setHomePosition(...).
| void osgViewer::View::init | ( | ) |
Referenced by osgViewer::Viewer::viewerInit().
|
inline |
References osg::ref_ptr< T >::get(), and removeDevice().
Referenced by removeDevice().
| void osgViewer::View::removeDevice | ( | osgGA::Device * | eventSource | ) |
Remove a Device.
|
inline |
References osg::ref_ptr< T >::get(), and removeEventHandler().
Referenced by removeEventHandler().
| void osgViewer::View::removeEventHandler | ( | osgGA::EventHandler * | eventHandler | ) |
Remove an EventHandler from View.
|
virtual |
requestContinuousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a CameraManipulator, though other GUIEventHandler's may also provide functionality). GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.
Implements osgGA::GUIActionAdapter.
|
virtual |
requestRedraw() requests a single redraw.
Implements osgGA::GUIActionAdapter.
|
virtual |
requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking an aircraft joystick.
Implements osgGA::GUIActionAdapter.
|
virtual |
Return true if there are graphics operations that require a draw of the grpahics context.
|
virtual |
Return true if there are pending updates to the scene graph that require an update.
|
inline |
References osg::ref_ptr< T >::get(), and setCameraManipulator().
Referenced by setCameraManipulator().
| void osgViewer::View::setCameraManipulator | ( | osgGA::CameraManipulator * | manipulator, |
| bool | resetPosition = true ) |
Set the CameraManipulator that moves the View's master Camera position in response to events. The parameter resetPosition determines whether manipulator is set to its home position.
| void osgViewer::View::setCoordinateSystemNodePath | ( | const osg::NodePath & | nodePath | ) |
Set the NodePath to any active CoordinateSystemNode present in the Scene. The CoordinateSystemNode path is used to help applications and CamaraManipulators handle geocentric coordinates systems, so that the local up direction is known at any position on the whole earth.
|
inline |
References osg::ref_ptr< T >::get(), and setDatabasePager().
Referenced by setDatabasePager().
| void osgViewer::View::setDatabasePager | ( | osgDB::DatabasePager * | dp | ) |
Set the View's database pager.
|
inline |
References osg::ref_ptr< T >::get(), and setDisplaySettings().
Referenced by setDisplaySettings().
|
inline |
Set the DisplaySettings object associated with this view.
References _displaySettings.
|
inline |
References osg::ref_ptr< T >::get(), and setEventQueue().
Referenced by setEventQueue().
|
inline |
References _eventQueue.
|
inline |
Set the FusionDistanceMode and Value. Note, only used when working in stereo.
References _fusionDistanceMode, and _fusionDistanceValue.
|
inline |
References osg::ref_ptr< T >::get(), and setImagePager().
Referenced by setImagePager().
| void osgViewer::View::setImagePager | ( | osgDB::ImagePager * | ip | ) |
Set the View's image pager.
|
inline |
References osg::ref_ptr< T >::get(), and setSceneData().
Referenced by setSceneData().
|
virtual |
Set the scene graph that the View will use.
Reimplemented in osgViewer::Viewer.
Referenced by osgViewer::Viewer::setReferenceTime().
|
virtual |
Reimplemented in osgViewer::Viewer.
| bool osgViewer::View::setUpDepthPartition | ( | DepthPartitionSettings * | dsp = 0 | ) |
Convenience method for setting up multiple slave cameras with depth partitioning on each of the view's active cameras.
| bool osgViewer::View::setUpDepthPartitionForCamera | ( | osg::Camera * | cameraToPartition, |
| DepthPartitionSettings * | dps = 0 ) |
Convenience method for setting up depth partitioning on the specified camera.
| void osgViewer::View::setUpViewAcrossAllScreens | ( | ) |
deprecated, use view.apply(new osgViewer::AcrossAllScreens()).
| void osgViewer::View::setUpViewFor3DSphericalDisplay | ( | double | radius = 1.0, |
| double | collar = 0.45, | ||
| unsigned int | screenNum = 0, | ||
| osg::Image * | intensityMap = 0, | ||
| const osg::Matrixd & | projectorMatrix = osg::Matrixd() ) |
deprecated, use view.apply(new osgViewer::SphericalDisplay(radius, collar, screenNum, intensityMap, projectorMatrix)).
| void osgViewer::View::setUpViewForPanoramicSphericalDisplay | ( | double | radius = 1.0, |
| double | collar = 0.45, | ||
| unsigned int | screenNum = 0, | ||
| osg::Image * | intensityMap = 0, | ||
| const osg::Matrixd & | projectorMatrix = osg::Matrixd() ) |
deprecated, use view.apply(new osgViewer::PanoramicSphericalDisplay(radius, collar, screenNum, intensityMap, projectorMatrix)).
| void osgViewer::View::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 ) |
deprecated. use view.apply(new osgViewer::WoWVxDisplay(type (20 to 42), screenNum).
| void osgViewer::View::setUpViewInWindow | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| unsigned int | screenNum = 0 ) |
deprecated, use view.apply(new osgViewer::SingleWindow(x,y,width,screenNum)).
| void osgViewer::View::setUpViewOnSingleScreen | ( | unsigned int | screenNum = 0 | ) |
deprecated, use view.apply(new osgViewer::SingleScreen(screenNum)).
|
virtual |
Take all the settings, Camera and Slaves from the passed in view, leaving it empty.
Reimplemented from osg::View.
Reimplemented in osgViewer::Viewer.
|
friend |
References CompositeViewer.
Referenced by CompositeViewer.
|
protected |
Referenced by getCameraManipulator(), and getCameraManipulator().
|
protected |
|
protected |
Referenced by getDisplaySettings(), getDisplaySettings(), and setDisplaySettings().
|
protected |
Referenced by getEventHandlers(), and getEventHandlers().
|
protected |
Referenced by getEventQueue(), getEventQueue(), and setEventQueue().
|
protected |
Referenced by getDevices(), and getDevices().
|
protected |
Referenced by getFusionDistanceMode(), and setFusionDistance().
|
protected |
Referenced by getFusionDistanceValue(), and setFusionDistance().
|
protected |
Referenced by getLastAppliedViewConfig(), and getLastAppliedViewConfig().
|
protected |
Referenced by getScene(), getScene(), getSceneData(), and getSceneData().
|
protected |
Referenced by getStartTick().
|
protected |
Referenced by getViewerBase().