VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtEntityIndicatorWidget Class Reference

The indicator widget. More...

Public Member Functions

 DtEntityIndicatorWidget (DtAgentManagerInterface &sceneInterface, unsigned int modelSet, const std::string &normalTheme="EntityIndicatorTheme", const std::string &pinnedTheme="EntityIndicatorPinnedTheme", int height=32, int width=32)
virtual ~DtEntityIndicatorWidget ()
virtual void setIndicatorActive (bool active)
 Sets the indicator state to active/inactive (i.e. pinned)
virtual void setColor (float r, float g, float b, float a=1.)
 Sets the color filter for the indicator.
DtModelAgent * model ()
 Get the model which can be added to the scene objects.
virtual void setEventsEnabled (bool enabled)
 Enable/disable event handling for the widget.
DtWidgetEventSignalseventSignals (DtWidgetSignaler &signaler)
 Get the widget agent for the indicator. If the signals.

Protected Attributes

DtAgentManagerInterfacemySceneInterface
DtWidgetInstanceSignalermyWidgetSignaler
DtProjectedWidgetModelAgent * myProjectedWidgetModel
DtWidgetAgent * myWidgetAgent
std::string myNormalTheme
std::string myPinnedTheme
bool mySelected
bool myEventsEnabled

Detailed Description

The indicator widget.

Constructor & Destructor Documentation

makVrv::DtEntityIndicatorWidget::DtEntityIndicatorWidget ( DtAgentManagerInterface sceneInterface,
unsigned int  modelSet,
const std::string &  normalTheme = "EntityIndicatorTheme",
const std::string &  pinnedTheme = "EntityIndicatorPinnedTheme",
int  height = 32,
int  width = 32 
)
virtual makVrv::DtEntityIndicatorWidget::~DtEntityIndicatorWidget ( )
virtual

Member Function Documentation

virtual void makVrv::DtEntityIndicatorWidget::setIndicatorActive ( bool  active)
virtual

Sets the indicator state to active/inactive (i.e. pinned)

virtual void makVrv::DtEntityIndicatorWidget::setColor ( float  r,
float  g,
float  b,
float  a = 1. 
)
virtual

Sets the color filter for the indicator.

DtModelAgent* makVrv::DtEntityIndicatorWidget::model ( )

Get the model which can be added to the scene objects.

virtual void makVrv::DtEntityIndicatorWidget::setEventsEnabled ( bool  enabled)
virtual

Enable/disable event handling for the widget.

DtWidgetEventSignals& makVrv::DtEntityIndicatorWidget::eventSignals ( DtWidgetSignaler signaler)

Get the widget agent for the indicator. If the signals.

Member Data Documentation

DtAgentManagerInterface& makVrv::DtEntityIndicatorWidget::mySceneInterface
protected
DtWidgetInstanceSignaler* makVrv::DtEntityIndicatorWidget::myWidgetSignaler
protected
DtProjectedWidgetModelAgent* makVrv::DtEntityIndicatorWidget::myProjectedWidgetModel
protected
DtWidgetAgent* makVrv::DtEntityIndicatorWidget::myWidgetAgent
protected
std::string makVrv::DtEntityIndicatorWidget::myNormalTheme
protected
std::string makVrv::DtEntityIndicatorWidget::myPinnedTheme
protected
bool makVrv::DtEntityIndicatorWidget::mySelected
protected
bool makVrv::DtEntityIndicatorWidget::myEventsEnabled
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)