OpenSceneGraph 2.8.4
|
The Box object is a Window subclass that can be configured to uniformly (or non-uniformly) position it's children either vertically or horizontally. More...
Public Types | |
enum | BoxType { VERTICAL, HORIZONTAL } |
An enum corresponding to the type of Box alignment. More... | |
Public Member Functions | |
META_Object (osgWidget, Box) | |
Box (const std::string &="", BoxType=HORIZONTAL, bool=false) | |
The main constructor; takes the string name, the BoxType orientation, and a boolean indicating whether or not all of the Box regions should be uniformly sized. | |
Box (const Box &, const osg::CopyOp &) | |
Protected Member Functions | |
virtual void | _resizeImplementation (point_type, point_type) |
virtual Sizes | _getWidthImplementation () const |
virtual Sizes | _getHeightImplementation () const |
The Box object is a Window subclass that can be configured to uniformly (or non-uniformly) position it's children either vertically or horizontally.
It is the most basic Window implementation, though there is some difficulty when positioning children such that each child object ends up pixel-aligned.
An enum corresponding to the type of Box alignment.
osgWidget::Box::Box | ( | const std::string & | = "" , |
BoxType | = HORIZONTAL , |
||
bool | = false |
||
) |
The main constructor; takes the string name, the BoxType orientation, and a boolean indicating whether or not all of the Box regions should be uniformly sized.
osgWidget::Box::Box | ( | const Box & | , |
const osg::CopyOp & | |||
) |
virtual Sizes osgWidget::Box::_getHeightImplementation | ( | ) | const [protected, virtual] |
Reimplemented from osgWidget::Window.
virtual Sizes osgWidget::Box::_getWidthImplementation | ( | ) | const [protected, virtual] |
Reimplemented from osgWidget::Window.
virtual void osgWidget::Box::_resizeImplementation | ( | point_type | , |
point_type | |||
) | [protected, virtual] |
Implements osgWidget::Window.
osgWidget::Box::META_Object | ( | osgWidget | , |
Box | |||
) |
![]() | Generated at Sun Jan 8 2012 13:17:07 for the OpenSceneGraph by doxygen 1.7.4. |