VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtEntityIndicatorWidget Class Reference

The indicator widget. More...

List of all members.

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 
)

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.

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.

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


Member Data Documentation

DtProjectedWidgetModelAgent* makVrv::DtEntityIndicatorWidget::myProjectedWidgetModel [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)