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

DtIntersectorSettingsWidget implements the DtIntersectorSettingsInterface for Qt. More...

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

Public Member Functions

 DtIntersectorSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget)
 CTOR. More...
 
virtual ~DtIntersectorSettingsWidget ()
 DTOR. More...
 
virtual void setIntersectorDrawEnabled (bool enabled)
 Set whether intersectors are visualized. More...
 
virtual void setIntersectorDrawnDuration (float duration)
 Set the duration that each drawn intersector exists. More...
 
virtual void setFailedIntersectorColor (const DtColorValue &color)
 Set the color to draw failed intersectors. More...
 
virtual void setOddSegmentIntersectorColor (const DtColorValue &color)
 Set the color to draw the odd-numbered segments of successful intersectors. More...
 
virtual void setEvenSegmentIntersectorColor (const DtColorValue &color)
 Set the color to draw the even- numbered segments of successful intersectors. More...
 
- Public Member Functions inherited from makVrv::DtIntersectorSettingsInterface
virtual ~DtIntersectorSettingsInterface ()
 DTOR. More...
 

Protected Slots

virtual void on_intersectorDrawEnabledChanged (int enabled)
 Slots used to communicate between the widget and its Qt sub-widgets. More...
 
virtual void on_intersectorDrawnDurationChanged (double duration)
 
virtual void on_failedIntersectorColorValueChanged (const QColor &)
 
virtual void on_oddSegmentIntersectorColorValueChanged (const QColor &)
 
virtual void on_evenIntersectorColorValueChanged (const QColor &)
 

Protected Member Functions

void setupGui ()
 Sets up the widget's fields. More...
 
void connectToSignals ()
 Connects widget signals to slots. More...
 
void enableIntersectorParameters (bool enabled)
 Enable / disable the intersector parameter widgets based on the draw state. More...
 

Protected Attributes

DtDemyDe
 
QCheckBoxmyIntersectorDrawEnabledCheckbox
 
QLabelmyIntersectorDrawnDurationLabel
 
DtSliderDoubleSpinboxWidgetmyIntersectorDrawnDurationSlider
 
QLabelmyFailedIntersectorColorLabel
 
DtColorPushButtonmyFailedIntersectorColorPushButton
 
QLabelmyOddSegmentIntersectorColorLabel
 
DtColorPushButtonmyOddSegmentIntersectorColorPushButton
 
QLabelmyEvenSegmentIntersectorColorLabel
 
DtColorPushButtonmyEvenSegmentIntersectorColorPushButton
 

Detailed Description

DtIntersectorSettingsWidget implements the DtIntersectorSettingsInterface for Qt.

It provides the Qt widgets used to change lighting rendering settings such as lighting scalars

Constructor & Destructor Documentation

makVrv::DtIntersectorSettingsWidget::DtIntersectorSettingsWidget ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  flags = Qt::Widget 
)

CTOR.

virtual makVrv::DtIntersectorSettingsWidget::~DtIntersectorSettingsWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtIntersectorSettingsWidget::setIntersectorDrawEnabled ( bool  enabled)
virtual

Set whether intersectors are visualized.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setIntersectorDrawnDuration ( float  duration)
virtual

Set the duration that each drawn intersector exists.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setFailedIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw failed intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setOddSegmentIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw the odd-numbered segments of successful intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setEvenSegmentIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw the even- numbered segments of successful intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::on_intersectorDrawEnabledChanged ( int  enabled)
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

virtual void makVrv::DtIntersectorSettingsWidget::on_intersectorDrawnDurationChanged ( double  duration)
protectedvirtualslot
virtual void makVrv::DtIntersectorSettingsWidget::on_failedIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot
virtual void makVrv::DtIntersectorSettingsWidget::on_oddSegmentIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot
virtual void makVrv::DtIntersectorSettingsWidget::on_evenIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot
void makVrv::DtIntersectorSettingsWidget::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

void makVrv::DtIntersectorSettingsWidget::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

void makVrv::DtIntersectorSettingsWidget::enableIntersectorParameters ( bool  enabled)
protected

Enable / disable the intersector parameter widgets based on the draw state.

Member Data Documentation

DtDe& makVrv::DtIntersectorSettingsWidget::myDe
protected
QCheckBox* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawEnabledCheckbox
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawnDurationLabel
protected
DtSliderDoubleSpinboxWidget* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawnDurationSlider
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myFailedIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myFailedIntersectorColorPushButton
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myOddSegmentIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myOddSegmentIntersectorColorPushButton
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myEvenSegmentIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myEvenSegmentIntersectorColorPushButton
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)