VR-Forces 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 Member Functions | Protected Attributes
makVrv::DtTreeRandomizationWidget Class Reference

A widget for controlling contour settings and controlled by DtTreeRandomizationLogic.

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

Public Member Functions

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

Sets the values of the widget's corresponding fields.

virtual void setTreeScaleRandomizationEnabled (bool enabled)
 
virtual void setTreeOrientationRandomizationEnabled (bool enabled)
 
virtual void setTreeMinScale (double minScale)
 
virtual void setTreeMaxScale (double maxScale)
 
Field value getters.

Gets the values of the widget's corresponding fields.

virtual bool treeScaleRandomizationEnabled ()
 
virtual bool treeOrientationRandomizationEnabled ()
 
virtual double treeMinScale ()
 
virtual double treeMaxScale ()
 

Protected Slots

User input slots.

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

virtual void onTreeScaleRandomizationEnabledChanged (int enabled)
 
virtual void onTreeOrientationRandomizationChanged (int enabled)
 
virtual void onTreeMinScaleChanged (double value)
 
virtual void onTreeMaxScaleChanged (double value)
 

Protected Member Functions

void setupGui ()
 

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
 
boost::signalslib::signal
< void(bool)> 
signal_treeScaleRandomizationEnabledChanged
 
boost::signalslib::signal
< void(double)> 
signal_treeMaxScaleChanged
 
boost::signalslib::signal
< void(double)> 
signal_treeMinScaleChanged
 

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)