|
OpenWalnut 1.3.1
|
Custom widget which is created by a module to display custom information. More...
#include <WCustomWidget.h>
Public Types | |
| typedef boost::shared_ptr < WCustomWidget > | SPtr |
| Abbreviation for a shared pointer on a instance of this class. | |
| typedef boost::shared_ptr < const WCustomWidget > | ConstSPtr |
| Abbreviation for a const shared pointer on a instance of this class. | |
Public Member Functions | |
| WCustomWidget (std::string title) | |
| Constructor. | |
| virtual | ~WCustomWidget () |
| Destructor. | |
| virtual osg::ref_ptr < WGEGroupNode > | getScene () const =0 |
| Get the scene which is displayed. | |
| virtual boost::shared_ptr < WGEViewer > | getViewer () const =0 |
| Get the viewer which is used. | |
| virtual std::string | getTitle () const |
| Get the title of the widget. | |
Private Attributes | |
| std::string | m_title |
| The widget's title string. | |
Custom widget which is created by a module to display custom information.
Definition at line 41 of file WCustomWidget.h.
| typedef boost::shared_ptr< const WCustomWidget > WCustomWidget::ConstSPtr |
Abbreviation for a const shared pointer on a instance of this class.
Definition at line 52 of file WCustomWidget.h.
| typedef boost::shared_ptr< WCustomWidget > WCustomWidget::SPtr |
Abbreviation for a shared pointer on a instance of this class.
Definition at line 47 of file WCustomWidget.h.
| WCustomWidget::WCustomWidget | ( | std::string | title | ) | [explicit] |
Constructor.
Create a custom widget instance.
| title | the title of the widget |
Definition at line 29 of file WCustomWidget.cpp.
| WCustomWidget::~WCustomWidget | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file WCustomWidget.cpp.
| virtual osg::ref_ptr< WGEGroupNode > WCustomWidget::getScene | ( | ) | const [pure virtual] |
Get the scene which is displayed.
| std::string WCustomWidget::getTitle | ( | ) | const [virtual] |
Get the title of the widget.
Definition at line 38 of file WCustomWidget.cpp.
References m_title.
| virtual boost::shared_ptr< WGEViewer > WCustomWidget::getViewer | ( | ) | const [pure virtual] |
Get the viewer which is used.
std::string WCustomWidget::m_title [private] |
1.7.4