|
OpenWalnut 1.3.1
|
This class contains a label layout for positioning labels at the side of the screen. More...
#include <WGEBorderLayout.h>
Inheritance diagram for WGEBorderLayout: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 40 of file WGEBorderLayout.h.
| WGEBorderLayout::WGEBorderLayout | ( | ) |
Default constructor.
Definition at line 33 of file WGEBorderLayout.cpp.
References WGEGroupNode::insert(), m_geode, m_lineGeode, and m_screen.
| WGEBorderLayout::~WGEBorderLayout | ( | ) | [virtual] |
Destructor.
Definition at line 63 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 68 of file WGEBorderLayout.cpp.
References m_geode.
osg::ref_ptr< osg::Geode > WGEBorderLayout::m_geode [protected] |
The geode containing all drawables.
Definition at line 66 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 71 of file WGEBorderLayout.h.
Referenced by WGEBorderLayout().
osg::ref_ptr< osg::Projection > WGEBorderLayout::m_screen [protected] |
The projection to the screen.
Definition at line 76 of file WGEBorderLayout.h.
Referenced by WGEBorderLayout().
1.7.4