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

Base class for a facade object that owns widget indicators. More...

Public Member Functions

virtual ~DtObjectFacadeInterface ()
 DTOR.
virtual void setModelDefinition (const std::string &modelDefinition)=0
 Realize the main object with the specified model definition.
virtual void setIndicatorModelDefinitions (const std::string &normalTheme, const std::string &activeTheme, const std::string &selectedTheme, const std::string &multiSelectedTheme)=0
 Realize the control points with the specified model definitions.
virtual DtUniqueID uniqueID () const =0
 Get the Unique ID associated with this facade.
virtual void setIndicatorsEnabled (bool enabled)=0
 Set the widget indicators on or off.
virtual void setIndicatorsOnSelect (bool enabled)=0
 Set the widget indicators to be on only for selected objects.
virtual void setHatLineVisible (bool visible)=0
 Set if the Height Above Terrain (HAT) line is visible.
virtual void setVisible (bool visible)=0
 Set the facade's visible objects visible or hidden.
virtual void setColor (float r, float g, float b, float a)=0
 Set the color.
virtual void setSelected (bool selected)=0
 Set the selection state of the entire facade.
virtual bool selected () const =0
 Get the selection state of the entire facade.
virtual DtStateVisualizervisualizer (const std::string &)=0
 Returns the visualizer based on the name, or 0 if does not exists.
typedef boost::signal< void(DtMouseState
&mouseState, const DtUniqueID
&id, const std::string
&displayEngineName, const
std::string &windowName, const
std::string &channelName)> 
WidgetEventSignal
 Emitted when an indicator widget gets a mouse down event.
WidgetEventSignal signal_indicatorMouseDown
 Emitted when an indicator widget gets a mouse down event.
WidgetEventSignal signal_indicatorMouseUp
 Emitted when an indicator widget gets a mouse up event.
WidgetEventSignal signal_indicatorMouseDblClick
 Emitted when an indicator widget gets a mouse dbl click event.

Detailed Description

Base class for a facade object that owns widget indicators.

Member Typedef Documentation

typedef boost::signal<void ( DtMouseState& mouseState, const DtUniqueID& id, const std::string& displayEngineName, const std::string& windowName, const std::string& channelName)> makVrv::DtObjectFacadeInterface::WidgetEventSignal

Emitted when an indicator widget gets a mouse down event.

Constructor & Destructor Documentation

virtual makVrv::DtObjectFacadeInterface::~DtObjectFacadeInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtObjectFacadeInterface::setModelDefinition ( const std::string &  modelDefinition)
pure virtual

Realize the main object with the specified model definition.

virtual void makVrv::DtObjectFacadeInterface::setIndicatorModelDefinitions ( const std::string &  normalTheme,
const std::string &  activeTheme,
const std::string &  selectedTheme,
const std::string &  multiSelectedTheme 
)
pure virtual

Realize the control points with the specified model definitions.

virtual DtUniqueID makVrv::DtObjectFacadeInterface::uniqueID ( ) const
pure virtual

Get the Unique ID associated with this facade.

virtual void makVrv::DtObjectFacadeInterface::setIndicatorsEnabled ( bool  enabled)
pure virtual

Set the widget indicators on or off.

virtual void makVrv::DtObjectFacadeInterface::setIndicatorsOnSelect ( bool  enabled)
pure virtual

Set the widget indicators to be on only for selected objects.

virtual void makVrv::DtObjectFacadeInterface::setHatLineVisible ( bool  visible)
pure virtual

Set if the Height Above Terrain (HAT) line is visible.

virtual void makVrv::DtObjectFacadeInterface::setVisible ( bool  visible)
pure virtual

Set the facade's visible objects visible or hidden.

virtual void makVrv::DtObjectFacadeInterface::setColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the color.

virtual void makVrv::DtObjectFacadeInterface::setSelected ( bool  selected)
pure virtual

Set the selection state of the entire facade.

virtual bool makVrv::DtObjectFacadeInterface::selected ( ) const
pure virtual

Get the selection state of the entire facade.

virtual DtStateVisualizer* makVrv::DtObjectFacadeInterface::visualizer ( const std::string &  )
pure virtual

Returns the visualizer based on the name, or 0 if does not exists.

Member Data Documentation

WidgetEventSignal makVrv::DtObjectFacadeInterface::signal_indicatorMouseDown

Emitted when an indicator widget gets a mouse down event.

WidgetEventSignal makVrv::DtObjectFacadeInterface::signal_indicatorMouseUp

Emitted when an indicator widget gets a mouse up event.

WidgetEventSignal makVrv::DtObjectFacadeInterface::signal_indicatorMouseDblClick

Emitted when an indicator widget gets a mouse dbl click event.


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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)