25 #ifndef WGEBORDERLAYOUT_H
26 #define WGEBORDERLAYOUT_H
28 #include <osg/Drawable>
30 #include <osgText/Text>
31 #include <osg/Projection>
33 #include "../../WGEGroupNode.h"
99 virtual void operator()( osg::Node* node, osg::NodeVisitor* nv );
Node callback to actually layout the objects.
virtual void operator()(osg::Node *node, osg::NodeVisitor *nv)
operator () - called during the update traversal.
SafeUpdateCallback(osg::ref_ptr< WGEBorderLayout > layout)
Constructor.
osg::ref_ptr< WGEBorderLayout > m_layouter
The layouter owning this callback.
This class contains a label layout for positioning labels at the side of the screen.
WGEBorderLayout()
Default constructor.
virtual ~WGEBorderLayout()
Destructor.
osg::ref_ptr< osg::Projection > m_screen
The projection to the screen.
osg::ref_ptr< osg::Geode > m_lineGeode
Contains all lead lines.
virtual void addLayoutable(osg::ref_ptr< WGELabel > obj)
Adds the specified object to the list of layouted objects.
osg::ref_ptr< osg::Geode > m_geode
The geode containing all drawables.
Class to wrap around the osg Group node and providing a thread safe add/removal mechanism.