OpenSceneGraph  3.4.0
Public Member Functions | Protected Attributes
osgViewer::SingleWindow Class Reference

single camera on a single window. More...

Inheritance diagram for osgViewer::SingleWindow:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SingleWindow ()
 SingleWindow (int x, int y, int width, int height, unsigned int screenNum=0)
 SingleWindow (const SingleWindow &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgViewer, SingleWindow)
virtual void configure (osgViewer::View &view) const
 configure method that is overridden by Config subclasses.
void setX (int x)
int getX () const
void setY (int y)
int getY () const
void setWidth (int w)
int getWidth () const
void setHeight (int h)
int getHeight () const
void setScreenNum (unsigned int sn)
unsigned int getScreenNum () const
void setWindowDecoration (bool wd)
bool getWindowDecoration () const
void setOverrideRedirect (bool override)
bool getOverrideRedirect () const

Protected Attributes

int _x
int _y
int _width
int _height
unsigned int _screenNum
bool _windowDecoration
bool _overrideRedirect

Detailed Description

single camera on a single window.


Constructor & Destructor Documentation

osgViewer::SingleWindow::SingleWindow ( int  x,
int  y,
int  width,
int  height,
unsigned int  screenNum = 0 
) [inline]

Member Function Documentation

virtual void osgViewer::SingleWindow::configure ( osgViewer::View ) const [virtual]

configure method that is overridden by Config subclasses.

Reimplemented from osgViewer::ViewConfig.

int osgViewer::SingleWindow::getHeight ( ) const [inline]
unsigned int osgViewer::SingleWindow::getScreenNum ( ) const [inline]
int osgViewer::SingleWindow::getWidth ( ) const [inline]
int osgViewer::SingleWindow::getX ( ) const [inline]
int osgViewer::SingleWindow::getY ( ) const [inline]
void osgViewer::SingleWindow::setHeight ( int  h) [inline]
void osgViewer::SingleWindow::setOverrideRedirect ( bool  override) [inline]
void osgViewer::SingleWindow::setScreenNum ( unsigned int  sn) [inline]
void osgViewer::SingleWindow::setWidth ( int  w) [inline]
void osgViewer::SingleWindow::setX ( int  x) [inline]
void osgViewer::SingleWindow::setY ( int  y) [inline]

Member Data Documentation

unsigned int osgViewer::SingleWindow::_screenNum [protected]
int osgViewer::SingleWindow::_x [protected]
int osgViewer::SingleWindow::_y [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:16:51 for the OpenSceneGraph by doxygen 1.7.6.1.