VR-Forces 4.6 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.
virtual void slot_onClippingPlaneChanged (float)
virtual void slot_on3DLodDistancesChanged (float, float)
virtual void slot_onBillboardDistancesChanged (float, float)
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:
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.

Protected Attributes

DtDemyDe
DtSpeedTreeSettingsInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceInterface

Additional Inherited Members

- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 CTOR.
virtual ~DtSignalConnectionManager ()
 DTOR.
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal.
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal.
int numberOfConnections () const
 Get the number of connections.
void disconnectSignals ()
 Disconnect all signals.
bool blockConnections (bool blocked)
 Blocks/unblocks connections.
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections.
bool connectionsBlocked () const
 check whether connections are blocked.
bool connectionBlocked (int index) const
 check whether connections are blocked.

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_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 Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)