Added osgViewer::View::setUpViewInWindow(...) method and command line option into

osgViewer::Viewer to allow you to specify the window dimentions and screen for
the window on startup.
This commit is contained in:
Robert Osfield
2007-06-13 10:38:40 +00:00
parent 8246a6018d
commit a9a55de053
4 changed files with 80 additions and 8 deletions

View File

@@ -148,6 +148,9 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
/** Convinience method for creating slave Cameras and associated GraphicsWindows across all screens.*/
void setUpViewAcrossAllScreens();
/** Convinience method for a single Camara on a single window.*/
void setUpViewInWindow(int x, int y, int width, int height, unsigned int screenNum=0);
/** Convinience method for a single Camara associated with a single full screen GraphicsWindow.*/
void setUpViewOnSingleScreen(unsigned int screenNum=0);