VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtSpeedTreeSettingsInterface Class Reference

The DtSpeedTreeSettingsInterface provides the interface of the GUI to the speedtree settings logic. More...

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

Public Member Functions

virtual ~DtSpeedTreeSettingsInterface ()
virtual void setUnitsLabel (const DtUnicode &label)=0
 Sets the label for the units.
virtual void setUnitsDecimals (int decimals)=0
 Set the number of decimals for units.
virtual void setUnitsMaxRange (float range)=0
 Set the maximum range for units.
virtual void enableTrees (bool enable)=0
 Updates the GUI with the performance profile.
virtual void enableBillboards (bool enable)=0
virtual void enableTreeMeshes (bool enable)=0
virtual void setTreeClippingPlane (float farClip)=0
 Updates the GUI with the tree clipping distance.
virtual void setTree3DLodDistances (float nearLod, float farLod)=0
 Updates the GUI with the tree 3D LOD distances.
virtual void setTreeBillboardDistances (float fStart, float fEnd)=0
 Updates the GUI with the tree Billboard distances.
virtual void setAmbientScalar (float val)=0
virtual void setDiffuseScalar (float val)=0
virtual void setSpecularScalar (float val)=0
virtual void setReceiveShadows (bool enable)=0
 Tell the widget if speed trees are set to receive shadows.

Public Attributes

boost::signal< void(float)> signal_ClippingPlaneChanged
 Signal emitted when the user changes the clipping plane.
boost::signal< void(float, float)> signal_3DLodDistancesChanged
 Signal emitted when the user changed the Lod.
boost::signal< void(float, float)> signal_BillboardDistancesChanged
boost::signal< void(bool)> signal_TreesEnabledChanged
boost::signal< void(bool)> signal_BillboardsEnabledChanged
boost::signal< void(bool)> signal_TreeMeshesEnabledChanged
boost::signal< void(float)> signal_AmbientScalarSet
boost::signal< void(float)> signal_DiffuseScalarSet
boost::signal< void(float)> signal_SpecularScalarSet
boost::signal< void(bool)> signal_receiveShadowsChanged

Detailed Description

The DtSpeedTreeSettingsInterface provides the interface of the GUI to the speedtree settings logic.

Constructor & Destructor Documentation

virtual makVrv::DtSpeedTreeSettingsInterface::~DtSpeedTreeSettingsInterface ( )
virtual

Member Function Documentation

virtual void makVrv::DtSpeedTreeSettingsInterface::setUnitsLabel ( const DtUnicode label)
pure virtual

Sets the label for the units.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::setUnitsDecimals ( int  decimals)
pure virtual

Set the number of decimals for units.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::setUnitsMaxRange ( float  range)
pure virtual

Set the maximum range for units.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::enableTrees ( bool  enable)
pure virtual

Updates the GUI with the performance profile.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::enableBillboards ( bool  enable)
pure virtual
virtual void makVrv::DtSpeedTreeSettingsInterface::enableTreeMeshes ( bool  enable)
pure virtual
virtual void makVrv::DtSpeedTreeSettingsInterface::setTreeClippingPlane ( float  farClip)
pure virtual

Updates the GUI with the tree clipping distance.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::setTree3DLodDistances ( float  nearLod,
float  farLod 
)
pure virtual

Updates the GUI with the tree 3D LOD distances.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::setTreeBillboardDistances ( float  fStart,
float  fEnd 
)
pure virtual

Updates the GUI with the tree Billboard distances.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

virtual void makVrv::DtSpeedTreeSettingsInterface::setAmbientScalar ( float  val)
pure virtual
virtual void makVrv::DtSpeedTreeSettingsInterface::setDiffuseScalar ( float  val)
pure virtual
virtual void makVrv::DtSpeedTreeSettingsInterface::setSpecularScalar ( float  val)
pure virtual
virtual void makVrv::DtSpeedTreeSettingsInterface::setReceiveShadows ( bool  enable)
pure virtual

Tell the widget if speed trees are set to receive shadows.

Implemented in makVrv::DtSpeedTreeSettingsWidget.

Member Data Documentation

boost::signal<void (float)> makVrv::DtSpeedTreeSettingsInterface::signal_ClippingPlaneChanged

Signal emitted when the user changes the clipping plane.

Connected to a slot in the logic.

boost::signal<void (float,float)> makVrv::DtSpeedTreeSettingsInterface::signal_3DLodDistancesChanged

Signal emitted when the user changed the Lod.

Connected to a slot in the logic.

boost::signal<void (float,float)> makVrv::DtSpeedTreeSettingsInterface::signal_BillboardDistancesChanged
boost::signal<void (bool)> makVrv::DtSpeedTreeSettingsInterface::signal_TreesEnabledChanged
boost::signal<void (bool)> makVrv::DtSpeedTreeSettingsInterface::signal_BillboardsEnabledChanged
boost::signal<void (bool)> makVrv::DtSpeedTreeSettingsInterface::signal_TreeMeshesEnabledChanged
boost::signal<void (float)> makVrv::DtSpeedTreeSettingsInterface::signal_AmbientScalarSet
boost::signal<void (float)> makVrv::DtSpeedTreeSettingsInterface::signal_DiffuseScalarSet
boost::signal<void (float)> makVrv::DtSpeedTreeSettingsInterface::signal_SpecularScalarSet
boost::signal<void (bool)> makVrv::DtSpeedTreeSettingsInterface::signal_receiveShadowsChanged

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)