VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtIntervisibilitySettingsInterface Class Reference

This is the interface which the intervisibility settings widget will inherit from and the logic will use to talk to the widget. More...

Inheritance diagram for makVrv::DtIntervisibilitySettingsInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DtIntervisibilitySettingsInterface ()
 DTOR.
virtual void cancel ()=0
 Cancels page.
Field value setters.

Sets the values of the widget's corresponding fields.

virtual void setIntervisibilityEnabled (bool)=0
 Globally enables or disables intervisibity elements.
virtual void setLeftClickMakesObjectsPermanent (bool)=0
 When left click is pressed, the object will stay, else a new one will be created at the left click spot, removing the old one.
virtual void setIntervisibilityElevationDecimals (int decimals)=0
 Sets the precision used in the elevation fields.
virtual void setOriginIntervisibilityElevation (double)=0
 Sets the distance above the origin to place the intervisibility line.
virtual void setOriginIntervisibilityElevationLabel (const DtUnicode &label)=0
 Sets the label indicating the origin's elevation units.
virtual void setEndPointIntervisibilityElevation (double)=0
 Sets the distance above the end point to place the intervisibility line.
virtual void setEndPointIntervisibilityElevationLabel (const DtUnicode &label)=0
 Sets the label indicating the endpoint's elevation units.
virtual void setFanModeSamplingRate (double)=0
 Sets the fan mode sampling rate (in the appropriate unit).
virtual void setFanModeSamplingRateMin (double)=0
 Sets the fan mode min sampling rate (in the appropriate unit).
virtual void setFanModeSamplingRateMax (double)=0
 Sets the fan mode max sampling rate (in the appropriate unit).
virtual void setFanModeSamplingRatePrecision (int decimals)=0
 Sets the fan mode sampling rate precision.
virtual void setFanModeSamplingRateUnitLabel (const DtUnicode &label)=0
 Sets the fan mode sampling rate unit label.
virtual void setEntityFanUpdateRate (double rate)=0
 Sets the entity fan mode update rate.
virtual void setVisibleColor (const QColor &color)=0
 Sets the visible color.
virtual void setBlockedColor (const QColor &color)=0
 Sets the blocked color.
virtual void setCircleColor (const QColor &color)=0
 Sets the blocked color.
virtual void setHatLinesEnabled (bool enabled)=0
 Sets height above terrain lines enabled.
virtual void setHatLinesOnSelectionOnly (bool selOnly)=0
 Set to show height above terrain lines only when the object is selected.
virtual void setEntityFanUpdateRateEnabled (bool enabled)=0
 Shows/hides entity fan upate rate.
virtual void setFanModeSamplingRateEnabled (bool enabled)=0
 Shows/hides fan mode sampling rate.
virtual void setCircleColorEnabled (bool enabled)=0
 Shows/hides circle color.
virtual void setLeftClickMakesObjectsPermanentEnabled (bool enabled)=0
 Shows/hides left click permanent.
virtual void setRangeInfoLabelsEnabled (bool enabled)=0
 Sets whether range info labels are displayed at the endpoints of intervisibility lines.
virtual void setRangeInfoLabelBackgroundOpacity (float opacity)=0
 Sets the value to display on the backgroun opacity slider.
virtual void setRangeInfoLabelBackgroundColor (const QColor &color)=0
 Sets the color to show as the current color on the background color selection button.
virtual void setRangeInfoAltChangeFieldEnabled (bool enabled)=0
 Sets the state of the show altitude change field check box.
virtual void setRangeInfoLocationFieldEnabled (bool enabled)=0
 Sets the state of the show location field check box.
virtual void setRangeInfoHeadingFieldEnabled (bool enabled)=0
 Sets the state of the show heading field check box.
virtual void setRangeInfoRangeFieldEnabled (bool enabled)=0
 Sets the state of the show range field check box.

Public Attributes

User input signals.

Notifies the logic that the user has changed a widget's value.

boost::signal< void(bool)> signal_intervisibilityEnabledChanged
boost::signal< void(bool)> signal_leftClickMakesObjectsPermanentChanged
boost::signal< void(double)> signal_originIntervisibilityElevationChanged
boost::signal< void(double)> signal_endPointIntervisibilityElevationChanged
boost::signal< void(double)> signal_fanModeSamplingRateChanged
boost::signal< void(double)> signal_entityFanUpdateRateChanged
boost::signal< void(QColor)> signal_visibleColorChanged
boost::signal< void(QColor)> signal_blockedColorChanged
boost::signal< void(QColor)> signal_circleColorChanged
boost::signal< void(bool)> signal_hatLinesEnabledChanged
boost::signal< void(bool)> signal_hatLinesOnSelectionOnlyChanged
boost::signal< void(bool)> signal_rangeInfoLabelsEnabledChanged
boost::signal< void(QColor)> signal_rangeInfoLabelBackgroundColorChanged
boost::signal< void(double)> signal_rangeInfoBackgroundOpacityChanged
boost::signal< void(bool)> signal_rangeInfoAltChangeFieldEnabledChanged
boost::signal< void(bool)> signal_rangeInfoLocationFieldEnabledChanged
boost::signal< void(bool)> signal_rangeInfoHeadingFieldEnabledChanged
boost::signal< void(bool)> signal_rangeInfoRangeFieldEnabledChanged

Detailed Description

This is the interface which the intervisibility settings widget will inherit from and the logic will use to talk to the widget.


Constructor & Destructor Documentation

DTOR.


Member Function Documentation

Globally enables or disables intervisibity elements.

When disabled, exisiting elements are hidden, and no new ones may be created.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

When left click is pressed, the object will stay, else a new one will be created at the left click spot, removing the old one.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the precision used in the elevation fields.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the distance above the origin to place the intervisibility line.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the label indicating the origin's elevation units.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the distance above the end point to place the intervisibility line.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the label indicating the endpoint's elevation units.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the fan mode sampling rate (in the appropriate unit).

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the fan mode min sampling rate (in the appropriate unit).

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the fan mode max sampling rate (in the appropriate unit).

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the fan mode sampling rate precision.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the fan mode sampling rate unit label.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setEntityFanUpdateRate ( double  rate) [pure virtual]

Sets the entity fan mode update rate.

Zero (0) default means check as fast as possible. Value is in seconds

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setVisibleColor ( const QColor &  color) [pure virtual]

Sets the visible color.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setBlockedColor ( const QColor &  color) [pure virtual]

Sets the blocked color.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setCircleColor ( const QColor &  color) [pure virtual]

Sets the blocked color.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setHatLinesEnabled ( bool  enabled) [pure virtual]

Sets height above terrain lines enabled.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Set to show height above terrain lines only when the object is selected.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Shows/hides entity fan upate rate.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Shows/hides fan mode sampling rate.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Shows/hides circle color.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Shows/hides left click permanent.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets whether range info labels are displayed at the endpoints of intervisibility lines.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the value to display on the backgroun opacity slider.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::setRangeInfoLabelBackgroundColor ( const QColor &  color) [pure virtual]

Sets the color to show as the current color on the background color selection button.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the state of the show altitude change field check box.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the state of the show location field check box.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the state of the show heading field check box.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

Sets the state of the show range field check box.

Implemented in makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilitySettingsInterface::cancel ( ) [pure virtual]

Member Data Documentation


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)