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
makVrv::DtSpeedTreeSettingsLogic Class Reference

The DtSpeedTreeSettingsLogic class provides the logic for how to change the speedtree settings.

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

Public Member Functions

 DtSpeedTreeSettingsLogic (DtDe &de, DtSpeedTreeSettingsInterface &iFace, DtPersistenceControlsInterface &pIFace)
 
 ~DtSpeedTreeSettingsLogic ()
 
virtual void sendSettingsToGui ()
 
virtual void slot_onClippingPlaneChanged (float)
 
virtual void slot_on3DLodDistancesChanged (float, float)
 
virtual void slot_onBillboardDistancesChanged (float, float)
 
virtual void slot_onBillboardFadeOutRangeChanged (float range)
 
virtual void slot_onTreesEnabledChanged (bool enabled)
 
virtual void slot_onBillboardsEnabledChanged (bool enabled)
 
virtual void slot_onTreeMeshesEnabledChanged (bool enabled)
 
virtual void slot_onAmbientScalarSet (float)
 
virtual void slot_onDiffuseScalarSet (float)
 
virtual void slot_onSpecularScalarSet (float)
 
virtual void slot_onReceiveShadowsChanged (bool)
 
virtual void on_import ()
 
virtual void on_export ()
 
virtual void on_importFilePathChosen (const std::string &filePath)
 
virtual void on_exportFilePathChosen (const std::string &filePath)
 
virtual void settingsRestored (const DtSettingsBackup *)
 

Protected Attributes

DtDemyDe
 
DtSpeedTreeSettingsInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceInterface
 

Additional Inherited Members

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

Constructor & Destructor Documentation

makVrv::DtSpeedTreeSettingsLogic::DtSpeedTreeSettingsLogic ( DtDe de,
DtSpeedTreeSettingsInterface iFace,
DtPersistenceControlsInterface pIFace 
)
makVrv::DtSpeedTreeSettingsLogic::~DtSpeedTreeSettingsLogic ( )

Member Function Documentation

virtual void makVrv::DtSpeedTreeSettingsLogic::sendSettingsToGui ( )
virtual

Update the GUI with DtForest settings.

virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onClippingPlaneChanged ( float  )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_on3DLodDistancesChanged ( float  ,
float   
)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onBillboardDistancesChanged ( float  ,
float   
)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onBillboardFadeOutRangeChanged ( float  range)
virtual

signal when the fade out distance for the billboards changes. The Range - Cull distance = start transition dist

virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onTreesEnabledChanged ( bool  enabled)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onBillboardsEnabledChanged ( bool  enabled)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onTreeMeshesEnabledChanged ( bool  enabled)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onAmbientScalarSet ( float  )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onDiffuseScalarSet ( float  )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onSpecularScalarSet ( float  )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::slot_onReceiveShadowsChanged ( bool  )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::on_import ( )
virtual

Persistence slots:

virtual void makVrv::DtSpeedTreeSettingsLogic::on_export ( )
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
virtual
virtual void makVrv::DtSpeedTreeSettingsLogic::settingsRestored ( const DtSettingsBackup )
virtual

Called when settings are restored. Resets gui if the restored object type is of this class.

Member Data Documentation

DtDe& makVrv::DtSpeedTreeSettingsLogic::myDe
protected
DtSpeedTreeSettingsInterface& makVrv::DtSpeedTreeSettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtSpeedTreeSettingsLogic::myPersistenceInterface
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)