VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtExperimentalFeaturesLogic Class Reference

/brief A DtExperimentalFeaturesLogic object provides the logic for a widget acts as a utility for new features such as controlling/configuring Breaking Waves, Terrain Magnification Scale, Terrain Magnification High LOD angle, etc.

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

Public Member Functions

 DtExperimentalFeaturesLogic (DtDe &de, DtExperimentalFeaturesInterface &bwIface)
 
virtual ~DtExperimentalFeaturesLogic ()
 
virtual void updateGui ()
 

Protected Member Functions

Slots for when settings are changed by the GUI.
virtual void slot_onBreakingWaveAmplitudeChanged (float)
 
void slot_terrainMagnificationScaleFactorChanged (double factor)
 
void slot_terrainMagnificationHighLodAngleChanged (double radians)
 
void slot_instancingCullDistanceChanged (double dist)
 
void slot_instancingCullDistEnableChanged (bool enabled)
 
void slot_metaflightPagingDistScaleChanged (double dist)
 
void slot_metaflightPagingDistScaleEnableChanged (bool enabled)
 
void slot_indirectDistScaleChanged (double scale)
 
void slot_indirectDistScaleEnableChanged (bool enabled)
 
Non-virtual functions to update the GUI.
void sendSettingsToGui ()
 

Protected Attributes

DtDemyDe
 
DtExperimentalFeaturesInterfacemyIface
 

Private Member Functions

 DtExperimentalFeaturesLogic (const DtExperimentalFeaturesLogic &other)
 
DtExperimentalFeaturesLogicoperator= (const DtExperimentalFeaturesLogic &other)
 
- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 
virtual ~DtSignalConnectionManager ()
 
void manageConnection (const boost::signalslib::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 
bool blockConnections (bool blocked)
 
int numberOfConnections () const
 
void disconnectSignals ()
 
bool connectionsBlocked () const
 

Additional Inherited Members

- Private Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 
- Private Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib::shared_connection_block * > 
mySharedConnectionsBlockManager
 

Constructor & Destructor Documentation

makVrv::DtExperimentalFeaturesLogic::DtExperimentalFeaturesLogic ( DtDe de,
DtExperimentalFeaturesInterface bwIface 
)

Constructor.

virtual makVrv::DtExperimentalFeaturesLogic::~DtExperimentalFeaturesLogic ( )
virtual

Destructor.

makVrv::DtExperimentalFeaturesLogic::DtExperimentalFeaturesLogic ( const DtExperimentalFeaturesLogic other)
private

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtExperimentalFeaturesLogic& makVrv::DtExperimentalFeaturesLogic::operator= ( const DtExperimentalFeaturesLogic other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtExperimentalFeaturesLogic::updateGui ( )
virtual

Update the GUI with system settings.

virtual void makVrv::DtExperimentalFeaturesLogic::slot_onBreakingWaveAmplitudeChanged ( float  )
protectedvirtual

Breaking wave amplitude was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_terrainMagnificationScaleFactorChanged ( double  factor)
protected

Terrain magnification was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_terrainMagnificationHighLodAngleChanged ( double  radians)
protected

For terrains under magnification, the angle within which high LOD tiles will be used was changed by the user. A smaller number results in fewer high LOD tiles and saves memory. A larger number will prevent cracks between tiles by bringing in more nearby high LOD tiles but will use more memory.

void makVrv::DtExperimentalFeaturesLogic::slot_instancingCullDistanceChanged ( double  dist)
protected

Instancing cull distance was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_instancingCullDistEnableChanged ( bool  enabled)
protected

Whether to use the instancing cull distance in the instancing manager was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_metaflightPagingDistScaleChanged ( double  dist)
protected

Set the paging distance scale for metaflight Paging distance scale for metaflight was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_metaflightPagingDistScaleEnableChanged ( bool  enabled)
protected

Whether the paging distance scale for metaflight was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_indirectDistScaleChanged ( double  scale)
protected

Set the lod distance scale for indirect rendering was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::slot_indirectDistScaleEnableChanged ( bool  enabled)
protected

Whether enable/disable of the lod distance scale for indirect rendering was changed by the user.

void makVrv::DtExperimentalFeaturesLogic::sendSettingsToGui ( )
protected

Member Data Documentation

DtDe& makVrv::DtExperimentalFeaturesLogic::myDe
protected
DtExperimentalFeaturesInterface& makVrv::DtExperimentalFeaturesLogic::myIface
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)