VR-Forces 4.8 Class Documentation
 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. More...

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

Public Member Functions

 DtSpeedTreeSettingsLogic (DtDe &de, DtSpeedTreeSettingsInterface &iFace, DtPersistenceControlsInterface &pIFace)
 
 ~DtSpeedTreeSettingsLogic ()
 
virtual void sendSettingsToGui ()
 Update the GUI with DtForest settings. More...
 
virtual void slot_onClippingPlaneChanged (float)
 
virtual void slot_on3DLodDistancesChanged (float, float)
 
virtual void slot_onBillboardDistancesChanged (float, float)
 
virtual void slot_onBillboardFadeOutRangeChanged (float range)
 signal when the fade out distance for the billboards changes. The Range - Cull distance = start transition dist More...
 
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 ()
 Persistence slots: More...
 
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 *)
 Called when settings are restored. More...
 

Protected Attributes

DtDemyDe
 
DtSpeedTreeSettingsInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceInterface
 

Additional Inherited Members

- Private Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 A collection of signals. More...
 
typedef std::vector
< boost::signalslib2::connection > 
Connections2
 
- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 CTOR. More...
 
virtual ~DtSignalConnectionManager ()
 DTOR. More...
 
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
void manageConnection (const boost::signalslib2::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
DtSignalConnectionManageroperator+= (const boost::signalslib2::connection &conn)
 
bool blockConnections (bool blocked)
 Blocks/unblocks connections. More...
 
int numberOfConnections () const
 Get the number of connections. More...
 
void disconnectSignals ()
 Disconnect all signals. More...
 
bool connectionsBlocked () const
 check whether connections are blocked. More...
 
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections. More...
 
bool connectionBlocked (int index) const
 check whether connections are blocked. More...
 
- Private Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 The connected signals. More...
 
Connections2 myConnections2
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib2::shared_connection_block * > 
mySharedConnectionsBlockManager
 blocking Connections manager for signal2 connection More...
 

Detailed Description

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

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)