OpenWalnut 1.2.5
|
This class contains a label layout for positioning labels at the side of the screen. More...
#include <WGEBorderLayout.h>
Classes | |
class | SafeUpdateCallback |
Node callback to actually layout the objects. More... | |
Public Member Functions | |
WGEBorderLayout () | |
Default constructor. | |
virtual | ~WGEBorderLayout () |
Destructor. | |
virtual void | addLayoutable (osg::ref_ptr< WGELabel > obj) |
Adds the specified object to the list of layouted objects. | |
Protected Attributes | |
osg::ref_ptr< osg::Geode > | m_geode |
The geode containing all drawables. | |
osg::ref_ptr< osg::Geode > | m_lineGeode |
Contains all lead lines. | |
osg::ref_ptr< osg::Projection > | m_screen |
The projection to the screen. | |
Friends | |
class | SafeUpdateCallback |
This class contains a label layout for positioning labels at the side of the screen.
There is a line from the point of interest to the label on the side of the screen.
Definition at line 41 of file WGEBorderLayout.h.
WGEBorderLayout::WGEBorderLayout | ( | ) |
Default constructor.
Definition at line 32 of file WGEBorderLayout.cpp.
References WGEGroupNode::insert(), m_geode, m_lineGeode, and m_screen.
WGEBorderLayout::~WGEBorderLayout | ( | ) | [virtual] |
Destructor.
Definition at line 62 of file WGEBorderLayout.cpp.
void WGEBorderLayout::addLayoutable | ( | osg::ref_ptr< WGELabel > | obj | ) | [virtual] |
Adds the specified object to the list of layouted objects.
obj | the layoutable object. |
Definition at line 67 of file WGEBorderLayout.cpp.
References m_geode.
osg::ref_ptr< osg::Geode > WGEBorderLayout::m_geode [protected] |
The geode containing all drawables.
Definition at line 70 of file WGEBorderLayout.h.
Referenced by addLayoutable(), and WGEBorderLayout().
osg::ref_ptr< osg::Geode > WGEBorderLayout::m_lineGeode [protected] |
Contains all lead lines.
Definition at line 75 of file WGEBorderLayout.h.
Referenced by WGEBorderLayout().
osg::ref_ptr< osg::Projection > WGEBorderLayout::m_screen [protected] |
The projection to the screen.
Definition at line 80 of file WGEBorderLayout.h.
Referenced by WGEBorderLayout().