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

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

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

Public Member Functions

virtual ~DtRenderSettingsInterface ()
 DTOR.
Initializer/Setters for the widgets.
virtual void setDrawableColorization (bool enabled)=0
 Set initial state of drawable colorization checkbox.
virtual void setWireframeEnabled (bool enabled)=0
 Set the wire-frame enabled state.
virtual void setPerformanceOverlayShown (bool shown)=0
 Set the performance overlay widget.
virtual void setProfilerOverlayShown (bool shown)=0
 Set the function profiler overlay widget.
virtual void setImguiOverlayShown (bool shown)=0
 Set the developer debug overlay widget.
virtual void setChannelProjectionResizePolicy (DtChannelConfiguration::ProjectionResizePolicy policy)=0
 Set the channelProjectionResizePolicy.
virtual void setSymbolTransparency (int scale)=0
 Set value for transparency of occluded icons.
virtual void setTerrainScalingEnabled (bool enabled)=0
 Set the current state of terrain scaling.
virtual void setTerrainScaleFactor (double scaleFactor)=0
 Set the terrain scale factor.
virtual void setTerrainScalingAllowed (bool allowed)=0
 Indicate whether terrain scaling is currently allowed.
virtual void setClearTrackHistoriesOnTerrainScaleChanged (bool clear)=0
 Set the clear track histories option checkbox.
virtual void setUseAutofocus (bool useAutofocus)=0
 Set whether to use autofocus for depth of field.
virtual void setFocalDepth (double focalDepth)=0
 Set the focal depth for depth of field.
virtual void setFocalRange (double focalRange)=0
 Set the focal range for depth of field.
virtual void setWaterOnScreenSize (double size)=0
virtual void setCrepuscularRaysEnabled (bool state)=0
 Set the crepuscular rays (sun rays) state.
virtual void setComponentVisualizationMode (int state)=0
virtual void setDistanceUnitLabels (const DtUnicode &unitLabel)=0
 Set a label extension to use for all distance-related labels.
virtual void setDistanceDecimals (int decimals)=0
 Set the number of decimal places to use for all distance-related items.
virtual void setMaxFocalRange (float distance)=0
 Set the maximum for focal range widget.
virtual void setMaxFocalDepth (float distance)=0
 Set the maximum for focal depth widget.
virtual void setAtcGlobalModelEnable (bool state)=0
 turns on/off the Alpha to Coverage for models which don't have it set in their model definition
virtual void setAtcGlobalTerrainEnable (bool state)=0
 turns on/off the Alpha to Coverage for terrain patches which don't have it set in the .mtf file
virtual void setAtcEnableDither (bool state)=0
 turns on/off the dither shader for the objects which are using alpha to coverage.

Public Attributes

Signals emitted when settings are changed by user.
boost::signal< void(void)> signal_reloadShader
boost::signal< void(bool)> signal_wireframeSet
boost::signal< void(bool)> signal_showPerformanceOverlaySet
boost::signal< void(bool)> signal_showProfilerOverlaySet
boost::signal< void(bool)> signal_showImguiOverlaySet
boost::signal< void(DtChannelConfiguration::ProjectionResizePolicy)> signal_channelProjectionResizePolicySet
boost::signal< void(int)> signal_symbolTransparencyChanged
boost::signal< void(const
std::string &)> 
signal_activeStatsChanged
boost::signal< void(bool)> signal_terrainScalingEnabledChanged
boost::signal< void(double)> signal_terrainScaleFactorChanged
boost::signal< void(bool)> signal_clearTrackHistoriesOnTerrainScaleChanged
boost::signal< void(bool)> signal_dofUseAutofocusChanged
boost::signal< void(double)> signal_dofFocalDepthChanged
boost::signal< void(double)> signal_dofFocalRangeChanged
boost::signal< void(double)> signal_waterOnScreenSizeChanged
boost::signal< void(bool)> signal_crepuscularRaysEnabledChanged
boost::signal< void(bool)> signal_atcGlobalTerrainEnableChanged
boost::signal< void(bool)> signal_atcGlobalModelEnableChanged
boost::signal< void(bool)> signal_atcEnableDitherChanged
boost::signal< void(int)> signal_componentVisualizationComboChanged
boost::signal< void(bool)> signal_colorizeDrawablesChanged
boost::signal< void(void)> signal_refreshColorizedDrawables

Detailed Description

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

Constructor & Destructor Documentation

virtual makVrv::DtRenderSettingsInterface::~DtRenderSettingsInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtRenderSettingsInterface::setDrawableColorization ( bool  enabled)
pure virtual

Set initial state of drawable colorization checkbox.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setWireframeEnabled ( bool  enabled)
pure virtual

Set the wire-frame enabled state.

Parameters
[in]enabledis the enabled/disabled state for wire-frame.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setPerformanceOverlayShown ( bool  shown)
pure virtual

Set the performance overlay widget.

Parameters
[in]shownis the show/hide state for displaying the overlay.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setProfilerOverlayShown ( bool  shown)
pure virtual

Set the function profiler overlay widget.

Parameters
[in]shownis the show/hide state for displaying the overlay.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setImguiOverlayShown ( bool  shown)
pure virtual

Set the developer debug overlay widget.

Parameters
[in]shownis the show/hide state for displaying the overlay.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setChannelProjectionResizePolicy ( DtChannelConfiguration::ProjectionResizePolicy  policy)
pure virtual

Set the channelProjectionResizePolicy.

Parameters
[in]policydescribes how to resize channel projections.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setSymbolTransparency ( int  scale)
pure virtual

Set value for transparency of occluded icons.

Parameters
[in]scaleis the transparency value (0 - 32).

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setTerrainScalingEnabled ( bool  enabled)
pure virtual

Set the current state of terrain scaling.

Parameters
[in]enabledis the enabled/disabled state for terrain scaling.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setTerrainScaleFactor ( double  scaleFactor)
pure virtual

Set the terrain scale factor.

Parameters
[in]scaleFactoris the multiplier for scaling terrain.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setTerrainScalingAllowed ( bool  allowed)
pure virtual

Indicate whether terrain scaling is currently allowed.

If not, the terrain scaling enabled and terrain scale factor widgets will be grayed out.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setClearTrackHistoriesOnTerrainScaleChanged ( bool  clear)
pure virtual

Set the clear track histories option checkbox.

Parameters
[in]clearis the enabled/disabled state for clearing histories.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setUseAutofocus ( bool  useAutofocus)
pure virtual

Set whether to use autofocus for depth of field.

Parameters
[in]useAutofocusis the bool for whether to have the camera focus on the object in the center of the screen for depth of field.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setFocalDepth ( double  focalDepth)
pure virtual

Set the focal depth for depth of field.

Parameters
[in]focalDepthis the focal distance for depth of field

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setFocalRange ( double  focalRange)
pure virtual

Set the focal range for depth of field.

Parameters
[in]focalRangeis the distance before and after the focalDepth which is in focus

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setWaterOnScreenSize ( double  size)
pure virtual
virtual void makVrv::DtRenderSettingsInterface::setCrepuscularRaysEnabled ( bool  state)
pure virtual

Set the crepuscular rays (sun rays) state.

Parameters
[in]stateis the enabled/disabled state for crepuscular rays.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setComponentVisualizationMode ( int  state)
pure virtual
virtual void makVrv::DtRenderSettingsInterface::setDistanceUnitLabels ( const DtUnicode unitLabel)
pure virtual

Set a label extension to use for all distance-related labels.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setDistanceDecimals ( int  decimals)
pure virtual

Set the number of decimal places to use for all distance-related items.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setMaxFocalRange ( float  distance)
pure virtual

Set the maximum for focal range widget.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setMaxFocalDepth ( float  distance)
pure virtual

Set the maximum for focal depth widget.

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setAtcGlobalModelEnable ( bool  state)
pure virtual

turns on/off the Alpha to Coverage for models which don't have it set in their model definition

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setAtcGlobalTerrainEnable ( bool  state)
pure virtual

turns on/off the Alpha to Coverage for terrain patches which don't have it set in the .mtf file

Implemented in makVrv::DtRenderSettingsWidget.

virtual void makVrv::DtRenderSettingsInterface::setAtcEnableDither ( bool  state)
pure virtual

turns on/off the dither shader for the objects which are using alpha to coverage.

Implemented in makVrv::DtRenderSettingsWidget.

Member Data Documentation

boost::signal<void(void)> makVrv::DtRenderSettingsInterface::signal_reloadShader
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_wireframeSet
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_showPerformanceOverlaySet
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_showProfilerOverlaySet
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_showImguiOverlaySet
boost::signal<void(DtChannelConfiguration::ProjectionResizePolicy)> makVrv::DtRenderSettingsInterface::signal_channelProjectionResizePolicySet
boost::signal<void(int)> makVrv::DtRenderSettingsInterface::signal_symbolTransparencyChanged
boost::signal<void(const std::string&)> makVrv::DtRenderSettingsInterface::signal_activeStatsChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_terrainScalingEnabledChanged
boost::signal<void(double)> makVrv::DtRenderSettingsInterface::signal_terrainScaleFactorChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_clearTrackHistoriesOnTerrainScaleChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_dofUseAutofocusChanged
boost::signal<void(double)> makVrv::DtRenderSettingsInterface::signal_dofFocalDepthChanged
boost::signal<void(double)> makVrv::DtRenderSettingsInterface::signal_dofFocalRangeChanged
boost::signal<void(double)> makVrv::DtRenderSettingsInterface::signal_waterOnScreenSizeChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_crepuscularRaysEnabledChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_atcGlobalTerrainEnableChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_atcGlobalModelEnableChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_atcEnableDitherChanged
boost::signal<void(int)> makVrv::DtRenderSettingsInterface::signal_componentVisualizationComboChanged
boost::signal<void(bool)> makVrv::DtRenderSettingsInterface::signal_colorizeDrawablesChanged
boost::signal<void(void)> makVrv::DtRenderSettingsInterface::signal_refreshColorizedDrawables

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)