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::DtIntersectorSettingsWidget Class Reference

DtIntersectorSettingsWidget implements the DtIntersectorSettingsInterface for Qt. It provides the Qt widgets used to change lighting rendering settings such as lighting scalars.

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

Public Member Functions

 DtIntersectorSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget)
 
virtual ~DtIntersectorSettingsWidget ()
 
virtual void setIntersectorDrawEnabled (bool enabled)
 
virtual void setIntersectorDrawnDuration (float duration)
 
virtual void setFailedIntersectorColor (const DtColorValue &color)
 
virtual void setOddSegmentIntersectorColor (const DtColorValue &color)
 
virtual void setEvenSegmentIntersectorColor (const DtColorValue &color)
 
virtual void setPaperMapIntersectionOverride (bool enabled)
 
- Public Member Functions inherited from makVrv::DtIntersectorSettingsInterface
virtual ~DtIntersectorSettingsInterface ()
 

Protected Slots

virtual void on_intersectorDrawEnabledChanged (int enabled)
 
virtual void on_intersectorDrawnDurationChanged (double duration)
 
virtual void on_failedIntersectorColorValueChanged (const QColor &)
 
virtual void on_oddSegmentIntersectorColorValueChanged (const QColor &)
 
virtual void on_evenIntersectorColorValueChanged (const QColor &)
 
virtual void on_paperMapIntersectionOverrideChanged (int enabled)
 

Protected Member Functions

void setupGui ()
 
void connectToSignals ()
 
void enableIntersectorParameters (bool enabled)
 

Protected Attributes

DtDemyDe
 
QCheckBoxmyIntersectorDrawEnabledCheckbox
 
QLabelmyIntersectorDrawnDurationLabel
 
DtSliderDoubleSpinboxWidgetmyIntersectorDrawnDurationSlider
 
QLabelmyFailedIntersectorColorLabel
 
DtColorPushButtonmyFailedIntersectorColorPushButton
 
QLabelmyOddSegmentIntersectorColorLabel
 
DtColorPushButtonmyOddSegmentIntersectorColorPushButton
 
QLabelmyEvenSegmentIntersectorColorLabel
 
DtColorPushButtonmyEvenSegmentIntersectorColorPushButton
 
QCheckBoxmyPaperMapIntersectionOverride
 

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::setPaperMapIntersectionOverride ( bool  enabled)
virtual

Set whether all default layers should intersect even when not visible.

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

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

virtual void makVrv::DtIntersectorSettingsWidget::on_failedIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

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

virtual void makVrv::DtIntersectorSettingsWidget::on_oddSegmentIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

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

virtual void makVrv::DtIntersectorSettingsWidget::on_evenIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

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

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

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

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
QCheckBox* makVrv::DtIntersectorSettingsWidget::myPaperMapIntersectionOverride
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)