OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Visualiser Class Referenceabstract

#include "Visualiser.h"

Inheritance diagram for Visualiser:
TableVisualiser TextVisualiser

Public Member Functions

 Visualiser (SceneNodeBase *_sceneNode, ot::WidgetViewBase::ViewType _viewType)
 
virtual ~Visualiser ()
 
virtual void visualise (bool _setFocus=true)=0
 
bool isVisible ()
 
void setVisible (bool _visible)
 Switch to turn a visualisation type off.
 
void setViewIsOpen (bool _viewIsOpen)
 Switch for deciding if a data pull is necessary or if a lookup is necessary, if the displayed data may still be up-to date.
 
bool viewIsCurrentlyOpen ()
 
SceneNodeBasegetSceneNode (void) const
 
ot::WidgetViewBase::ViewType getViewType (void) const
 

Protected Attributes

SceneNodeBasem_node = nullptr
 
bool m_visible = true
 
bool m_viewIsOpen = false
 
ot::WidgetViewBase::ViewType m_viewType
 

Constructor & Destructor Documentation

◆ Visualiser()

Visualiser::Visualiser ( SceneNodeBase * _sceneNode,
ot::WidgetViewBase::ViewType _viewType )

◆ ~Visualiser()

Visualiser::~Visualiser ( )
virtual

Member Function Documentation

◆ getSceneNode()

SceneNodeBase * Visualiser::getSceneNode ( void ) const
inline

◆ getViewType()

ot::WidgetViewBase::ViewType Visualiser::getViewType ( void ) const
inline

◆ isVisible()

bool Visualiser::isVisible ( )
inline

◆ setViewIsOpen()

void Visualiser::setViewIsOpen ( bool _viewIsOpen)
inline

Switch for deciding if a data pull is necessary or if a lookup is necessary, if the displayed data may still be up-to date.

◆ setVisible()

void Visualiser::setVisible ( bool _visible)
inline

Switch to turn a visualisation type off.

◆ viewIsCurrentlyOpen()

bool Visualiser::viewIsCurrentlyOpen ( )
inline

◆ visualise()

virtual void Visualiser::visualise ( bool _setFocus = true)
pure virtual

Implemented in TableVisualiser, and TextVisualiser.

Member Data Documentation

◆ m_node

SceneNodeBase* Visualiser::m_node = nullptr
protected

◆ m_viewIsOpen

bool Visualiser::m_viewIsOpen = false
protected

◆ m_viewType

ot::WidgetViewBase::ViewType Visualiser::m_viewType
protected

◆ m_visible

bool Visualiser::m_visible = true
protected

The documentation for this class was generated from the following files: