DART  6.7.3
dart::gui::osg::ImGuiWidget Class Referenceabstract

#include <ImGuiWidget.hpp>

Inheritance diagram for dart::gui::osg::ImGuiWidget:
dart::gui::osg::AboutWidget

Public Member Functions

 ImGuiWidget ()
 Constructor. More...
 
virtual ~ImGuiWidget ()
 Destructor. More...
 
virtual void render ()=0
 The main render function for ImGui widget. More...
 
void setVisible (bool visible)
 Set the visibility of this widget. More...
 
void toggleVisible ()
 Toggle the visibility of this widget. More...
 
void show ()
 Show this widget. More...
 
void hide ()
 Hide this widget. More...
 
bool isVisible () const
 Whether this widget is visible. More...
 

Protected Attributes

bool mIsVisible
 Whether this widget is visible. More...
 

Constructor & Destructor Documentation

◆ ImGuiWidget()

dart::gui::osg::ImGuiWidget::ImGuiWidget ( )

Constructor.

◆ ~ImGuiWidget()

dart::gui::osg::ImGuiWidget::~ImGuiWidget ( )
virtual

Destructor.

Member Function Documentation

◆ hide()

void dart::gui::osg::ImGuiWidget::hide ( )

Hide this widget.

◆ isVisible()

bool dart::gui::osg::ImGuiWidget::isVisible ( ) const

Whether this widget is visible.

◆ render()

virtual void dart::gui::osg::ImGuiWidget::render ( )
pure virtual

The main render function for ImGui widget.

Implemented in dart::gui::osg::AboutWidget.

◆ setVisible()

void dart::gui::osg::ImGuiWidget::setVisible ( bool  visible)

Set the visibility of this widget.

◆ show()

void dart::gui::osg::ImGuiWidget::show ( )

Show this widget.

◆ toggleVisible()

void dart::gui::osg::ImGuiWidget::toggleVisible ( )

Toggle the visibility of this widget.

Member Data Documentation

◆ mIsVisible

bool dart::gui::osg::ImGuiWidget::mIsVisible
protected

Whether this widget is visible.