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

A widget for controlling contour settings and controlled by DtTreeRandomizationLogic. More...

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

Public Member Functions

 DtTreeRandomizationWidget (QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR. More...
 
virtual ~DtTreeRandomizationWidget ()
 Virtual DTOR. More...
 
Field value setters.

Sets the values of the widget's corresponding fields.

virtual void setTreeScaleRandomizationEnabled (bool enabled)
 Set the interface's "tree scale randomization enabled" state Called by the logic. More...
 
virtual void setTreeOrientationRandomizationEnabled (bool enabled)
 Set the interface's current "tree orientation randomization enabled" state Called by the logic. More...
 
virtual void setTreeMinScale (double minScale)
 Set the interface's current min scale value Called by the logic. More...
 
virtual void setTreeMaxScale (double maxScale)
 Set the interface's current max scale value Called by the logic. More...
 
Field value getters.

Gets the values of the widget's corresponding fields.

virtual bool treeScaleRandomizationEnabled ()
 Returns the interface's current "tree scale randomization enabled" state. More...
 
virtual bool treeOrientationRandomizationEnabled ()
 Returns the interface's current "tree orientation randomization enabled" state. More...
 
virtual double treeMinScale ()
 Returns the interface's current tree min scale value. More...
 
virtual double treeMaxScale ()
 Returns the interface's current tree max scale value. More...
 

Protected Slots

User input slots.

Receives notification that the user has changed a widget's value.

virtual void onTreeScaleRandomizationEnabledChanged (int enabled)
 Called when the user checks/unchecks "tree scale randomization enabled". More...
 
virtual void onTreeOrientationRandomizationChanged (int enabled)
 Called when the user checks/unchecks "tree orientation randomization enabled". More...
 
virtual void onTreeMinScaleChanged (double value)
 Called when the user changes the tree min scale. More...
 
virtual void onTreeMaxScaleChanged (double value)
 Called when the user changes the tree max scale. More...
 

Protected Member Functions

void setupGui ()
 Sets up the widget's fields. More...
 

Protected Attributes

QVBoxLayout * myGroupLayout
 
QGroupBox * myGroupBox
 
QVBoxLayout * myMainLayout
 
QLabelmyTreeSaveInfoLabel
 
QCheckBoxmyEnableTreeScaleRandomizationCheckBox
 
QLabelmyTreeMinScaleLabel
 
QDoubleSpinBoxmyTreeMinScaleSpinBox
 
QLabelmyTreeMaxScaleLabel
 
QDoubleSpinBoxmyTreeMaxScaleSpinBox
 
QSpacerItem * mySpacerItem
 
QCheckBoxmyEnableTreeOrientationRandomizationCheckBox
 
QSpacerItem * mySpacerItem1
 
QSpacerItem * mySpacerItem2
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtTreeRandomizationInterface
boost::signalslib::signal
< void(bool)> 
signal_treeOrientationRandomizationEnabledChanged
 Signal emitted when the user checks/unchecks "tree orientation randomization enabled". More...
 
boost::signalslib::signal
< void(bool)> 
signal_treeScaleRandomizationEnabledChanged
 Signal emitted when the user checks/unchecks "tree scale randomization enabled". More...
 
boost::signalslib::signal
< void(double)> 
signal_treeMaxScaleChanged
 Signal emitted when the user changes the tree max scale . More...
 
boost::signalslib::signal
< void(double)> 
signal_treeMinScaleChanged
 Signal emitted when the user changes the tree min scale. More...
 

Detailed Description

A widget for controlling contour settings and controlled by DtTreeRandomizationLogic.

Constructor & Destructor Documentation

makVrv::DtTreeRandomizationWidget::DtTreeRandomizationWidget ( QWidget *  parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtTreeRandomizationWidget::~DtTreeRandomizationWidget ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtTreeRandomizationWidget::setTreeScaleRandomizationEnabled ( bool  enabled)
virtual

Set the interface's "tree scale randomization enabled" state Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeOrientationRandomizationEnabled ( bool  enabled)
virtual

Set the interface's current "tree orientation randomization enabled" state Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeMinScale ( double  minScale)
virtual

Set the interface's current min scale value Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeMaxScale ( double  maxScale)
virtual

Set the interface's current max scale value Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual bool makVrv::DtTreeRandomizationWidget::treeScaleRandomizationEnabled ( )
virtual

Returns the interface's current "tree scale randomization enabled" state.

Implements makVrv::DtTreeRandomizationInterface.

virtual bool makVrv::DtTreeRandomizationWidget::treeOrientationRandomizationEnabled ( )
virtual

Returns the interface's current "tree orientation randomization enabled" state.

Implements makVrv::DtTreeRandomizationInterface.

virtual double makVrv::DtTreeRandomizationWidget::treeMinScale ( )
virtual

Returns the interface's current tree min scale value.

Implements makVrv::DtTreeRandomizationInterface.

virtual double makVrv::DtTreeRandomizationWidget::treeMaxScale ( )
virtual

Returns the interface's current tree max scale value.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::onTreeScaleRandomizationEnabledChanged ( int  enabled)
protectedvirtualslot

Called when the user checks/unchecks "tree scale randomization enabled".

virtual void makVrv::DtTreeRandomizationWidget::onTreeOrientationRandomizationChanged ( int  enabled)
protectedvirtualslot

Called when the user checks/unchecks "tree orientation randomization enabled".

virtual void makVrv::DtTreeRandomizationWidget::onTreeMinScaleChanged ( double  value)
protectedvirtualslot

Called when the user changes the tree min scale.

virtual void makVrv::DtTreeRandomizationWidget::onTreeMaxScaleChanged ( double  value)
protectedvirtualslot

Called when the user changes the tree max scale.

void makVrv::DtTreeRandomizationWidget::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

Member Data Documentation

QVBoxLayout* makVrv::DtTreeRandomizationWidget::myGroupLayout
protected
QGroupBox* makVrv::DtTreeRandomizationWidget::myGroupBox
protected
QVBoxLayout* makVrv::DtTreeRandomizationWidget::myMainLayout
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeSaveInfoLabel
protected
QCheckBox* makVrv::DtTreeRandomizationWidget::myEnableTreeScaleRandomizationCheckBox
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeMinScaleLabel
protected
QDoubleSpinBox* makVrv::DtTreeRandomizationWidget::myTreeMinScaleSpinBox
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeMaxScaleLabel
protected
QDoubleSpinBox* makVrv::DtTreeRandomizationWidget::myTreeMaxScaleSpinBox
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem
protected
QCheckBox* makVrv::DtTreeRandomizationWidget::myEnableTreeOrientationRandomizationCheckBox
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem1
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem2
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)