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

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

Public Member Functions

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

Detailed Description

Base class for a facade object that owns widget indicators.

Member Typedef Documentation

typedef boost::signalslib::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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)