VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions
makVrv::DtRenderSettingsLogic Class Reference

This is the logic for the render settings widget. More...

Public Member Functions

 DtRenderSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtRenderSettingsInterface &widget)
 CTOR.
 ~DtRenderSettingsLogic ()
 DTOR.

Protected Member Functions

void sendSettingsToGui ()
 Set up the gui with the current Render settings.
void updateChannelProjectionResizePolicy ()
 /brief Called by CTOR. Sets up values in the widget.
Boost slots
void slot_wireframeEnabled (bool enabled)
 Called when wireframe mode is changed by the gui.
void slot_showPerformanceOverlay (bool show)
 Called when the performance overlay is changed by the gui.
void slot_channelProjectionResizePolicySet (DtChannelConfiguration::ProjectionResizePolicy policy)
 Called when the channel projection resize policy is chanaged in the gui.
void slot_shadowsSet (bool show)
 Called when the global shadow setting is changed by the gui.
void slot_shadowQualitySet (int val)
 Called when the global shadow method is changed by the gui.
void slot_entitiesCastsShadowsSet (bool show)
 Called when the entity shadow setting is changed by the gui.
void slot_propsCastsShadowsSet (bool show)
 Called when the prop shadow setting is changed by the gui.
void slot_terrainCastsShadowsSet (bool show)
 Called when the terrain shadow setting is changed by the gui.
void slot_planViewGeocentricOccludedTransparencyChanged (int scale)
 Called when the terrain shadow setting is changed by the gui.
void slot_planViewGeocentricOccludedTransparencySet (float value)
 Called when the terrain shadow setting is changed in the system.
void slot_ddsFlipSet (bool flip)
 Called when the dds flip setting is changed by the gui.
void slot_terrainScalingEnabledSet (bool enabled)
 Called when the enable terrain scaling setting is changed by the gui.
void slot_terrainScaleFactorSet (double scaleFactor)
 Called when the terrain scale factor setting is changed by the gui.
void slot_clearTrackHistoriesOnTerrainScaleChangedSet (bool clear)
 Called when the clear track histories when terrain scale checkbox is changed by the gui.
void slot_activeStatsSetChanged (const std::string &activeSetName)
 Called by the gui when the active performance stats set is changed.

Persistence slots

DtSignalConnectionManager myConnections
 Called when settings are restored.
DtRenderSettingsInterfacemyInterface
 Called when settings are restored.
DtPersistenceControlsInterfacemyPersistenceControls
 Called when settings are restored.
DtDemyDe
 Called when settings are restored.
void on_import ()
 Called when settings are restored.
void on_export ()
 Called when settings are restored.
void on_importFilePathChosen (const std::string &filePath)
 Called when settings are restored.
void on_exportFilePathChosen (const std::string &filePath)
 Called when settings are restored.
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored.

Detailed Description

This is the logic for the render settings widget.

Constructor & Destructor Documentation

makVrv::DtRenderSettingsLogic::DtRenderSettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtRenderSettingsInterface widget 
)

CTOR.

makVrv::DtRenderSettingsLogic::~DtRenderSettingsLogic ( )

DTOR.

Member Function Documentation

void makVrv::DtRenderSettingsLogic::sendSettingsToGui ( )
protected

Set up the gui with the current Render settings.

void makVrv::DtRenderSettingsLogic::updateChannelProjectionResizePolicy ( )
protected

/brief Called by CTOR. Sets up values in the widget.

void makVrv::DtRenderSettingsLogic::slot_wireframeEnabled ( bool  enabled)
protected

Called when wireframe mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_showPerformanceOverlay ( bool  show)
protected

Called when the performance overlay is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_channelProjectionResizePolicySet ( DtChannelConfiguration::ProjectionResizePolicy  policy)
protected

Called when the channel projection resize policy is chanaged in the gui.

void makVrv::DtRenderSettingsLogic::slot_shadowsSet ( bool  show)
protected

Called when the global shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_shadowQualitySet ( int  val)
protected

Called when the global shadow method is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_entitiesCastsShadowsSet ( bool  show)
protected

Called when the entity shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_propsCastsShadowsSet ( bool  show)
protected

Called when the prop shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_terrainCastsShadowsSet ( bool  show)
protected

Called when the terrain shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_planViewGeocentricOccludedTransparencyChanged ( int  scale)
protected

Called when the terrain shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_planViewGeocentricOccludedTransparencySet ( float  value)
protected

Called when the terrain shadow setting is changed in the system.

void makVrv::DtRenderSettingsLogic::slot_ddsFlipSet ( bool  flip)
protected

Called when the dds flip setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_terrainScalingEnabledSet ( bool  enabled)
protected

Called when the enable terrain scaling setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_terrainScaleFactorSet ( double  scaleFactor)
protected

Called when the terrain scale factor setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_clearTrackHistoriesOnTerrainScaleChangedSet ( bool  clear)
protected

Called when the clear track histories when terrain scale checkbox is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_activeStatsSetChanged ( const std::string &  activeSetName)
protected

Called by the gui when the active performance stats set is changed.

void makVrv::DtRenderSettingsLogic::on_import ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_export ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

virtual void makVrv::DtRenderSettingsLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

Called when settings are restored.

Resets gui if the restored object type is of this class

Member Data Documentation

DtSignalConnectionManager makVrv::DtRenderSettingsLogic::myConnections
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtRenderSettingsInterface& makVrv::DtRenderSettingsLogic::myInterface
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtPersistenceControlsInterface& makVrv::DtRenderSettingsLogic::myPersistenceControls
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtDe& makVrv::DtRenderSettingsLogic::myDe
protected

Called when settings are restored.

Resets gui if the restored object type is of this class


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)