VR-Forces 4.0.4 Class Documentation
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtEyepointControlWidget Class Reference

A widget class for managing attachment. More...

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

List of all members.

Public Slots

virtual void toggleScaling (bool checked)
 handle the scaling check box toggled
virtual void toggleConstrain (bool checked)
 handle the constrain check box toggled
virtual void toggleViewControl (bool checked)
 handle the accept view control check box toggled
virtual void toggleTerrainDragging (bool checked)
 handle the terrain dragging check box toggled
virtual void linearSpeedGainSliderChanged (int value)
 handle the linear speed gain slider moved
virtual void rotationSpeedGainSliderChanged (int value)
 handle the rotation speed gain slider moved
virtual void orbitSpeedGainSliderChanged (int value)
 handle the orbit speed gain slider moved
virtual void onModelScaleFactorSliderChanged (int value)
virtual void onViewMagnificationSpinBoxChanged (double value)

Public Member Functions

virtual ~DtEyepointControlWidget ()
 virtual DTOR
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
virtual void setScalingCheckBox (bool checked)
 Set the scaling check box.
virtual void setConstrainCheckBox (bool checked)
 Set the constrain (to terrain) check box.
virtual void enableConstrainCheckBox (bool enabled)
 Enable or disable the constrain (to terrain) check box.
virtual void setViewControlCheckBox (bool checked)
 Set the accept view control check box.
virtual void setTerrainDragCheckBox (bool checked)
 Set the terrain dragging enabled check box.
virtual void setLinearSpeedGainSlider (int gain)
 Set the linear speed gain slider.
virtual void setRotationSpeedGainSlider (int gain)
 Set the rotation speed gain slider.
virtual void setOrbitSpeedGainSlider (int gain)
 Set the orbit speed gain slider.
virtual void setSliderGainPrecision (int precision)
 Set the gain precision for all sliders.
virtual void setModelScaleFactorSlider (int factor)
 Set the model scale factor.
virtual void enableModelScaleFactorSlider (bool enable)
 Enable / disable model scale factor slider.
virtual void setMaxModelScaleFactor (int maxModelScaleFactor)
 Set the model scale slider's maximum value.
virtual void setViewMagnificationSpinBox (double mag)
 Set the value of the view magnification spin box.
virtual void enableViewMagnificationSpinBox (bool enable)
 Enable / disable the view magnification spin box.
virtual QSize sizeHint () const
 QWidget override to provide a size hint.

Protected Member Functions

 DtEyepointControlWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.
void setupGui ()
virtual void keyReleaseEvent (QKeyEvent *event)
 Override this so key release in this widget isn't passed down to main window (which then creates an OSG key event with channel 1, which may not be the current channel.

Protected Attributes

DtEyepointControlWidgetLogicmyLogic
 Pointer to our logic handler.
std::string myClassName
QSlider * myLinearSpeedGainSlider
QSlider * myRotationSpeedGainSlider
QSlider * myOrbitSpeedGainSlider
QCheckBoxmyConstrainCheckBox
QCheckBoxmyScalingCheckBox
QCheckBoxmyViewControlCheckBox
QCheckBoxmyTerrainDraggingCheckBox
DtObserverModeSelectionWidgetmyObserverModeComboBox
QSlider * myModelScaleFactorSlider
QDoubleSpinBox * myViewMagnificationSpinBox

Friends

class DtEyepointControlWidgetCreator
 Let the creator create the page.

Detailed Description

A widget class for managing attachment.


Constructor & Destructor Documentation

virtual DTOR

makVrv::DtEyepointControlWidget::DtEyepointControlWidget ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
) [protected]

Constructor of the page.


Member Function Documentation

virtual QIcon makVrv::DtEyepointControlWidget::icon ( ) [virtual]

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtEyepointControlWidget::title ( ) [virtual]

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtEyepointControlWidget::pageClassName ( ) const [virtual]

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrv::DtEyepointControlWidget::setScalingCheckBox ( bool  checked) [virtual]

Set the scaling check box.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setConstrainCheckBox ( bool  checked) [virtual]

Set the constrain (to terrain) check box.

Implements makVrv::DtEyepointControlWidgetInterface.

Enable or disable the constrain (to terrain) check box.

Implements makVrv::DtEyepointControlWidgetInterface.

Set the accept view control check box.

Implements makVrv::DtEyepointControlWidgetInterface.

Set the terrain dragging enabled check box.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setLinearSpeedGainSlider ( int  gain) [virtual]

Set the linear speed gain slider.

Implements makVrv::DtEyepointControlWidgetInterface.

Set the rotation speed gain slider.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setOrbitSpeedGainSlider ( int  gain) [virtual]

Set the orbit speed gain slider.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setSliderGainPrecision ( int  precision) [virtual]

Set the gain precision for all sliders.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setModelScaleFactorSlider ( int  factor) [virtual]

Set the model scale factor.

Implements makVrv::DtEyepointControlWidgetInterface.

Enable / disable model scale factor slider.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setMaxModelScaleFactor ( int  maxModelScaleFactor) [virtual]

Set the model scale slider's maximum value.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual void makVrv::DtEyepointControlWidget::setViewMagnificationSpinBox ( double  mag) [virtual]

Set the value of the view magnification spin box.

Implements makVrv::DtEyepointControlWidgetInterface.

Enable / disable the view magnification spin box.

Implements makVrv::DtEyepointControlWidgetInterface.

virtual QSize makVrv::DtEyepointControlWidget::sizeHint ( ) const [virtual]

QWidget override to provide a size hint.

virtual void makVrv::DtEyepointControlWidget::toggleScaling ( bool  checked) [virtual, slot]

handle the scaling check box toggled

virtual void makVrv::DtEyepointControlWidget::toggleConstrain ( bool  checked) [virtual, slot]

handle the constrain check box toggled

virtual void makVrv::DtEyepointControlWidget::toggleViewControl ( bool  checked) [virtual, slot]

handle the accept view control check box toggled

virtual void makVrv::DtEyepointControlWidget::toggleTerrainDragging ( bool  checked) [virtual, slot]

handle the terrain dragging check box toggled

virtual void makVrv::DtEyepointControlWidget::linearSpeedGainSliderChanged ( int  value) [virtual, slot]

handle the linear speed gain slider moved

virtual void makVrv::DtEyepointControlWidget::rotationSpeedGainSliderChanged ( int  value) [virtual, slot]

handle the rotation speed gain slider moved

virtual void makVrv::DtEyepointControlWidget::orbitSpeedGainSliderChanged ( int  value) [virtual, slot]

handle the orbit speed gain slider moved

virtual void makVrv::DtEyepointControlWidget::onModelScaleFactorSliderChanged ( int  value) [virtual, slot]
virtual void makVrv::DtEyepointControlWidget::onViewMagnificationSpinBoxChanged ( double  value) [virtual, slot]
virtual void makVrv::DtEyepointControlWidget::activate ( ) [protected, virtual]

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtEyepointControlWidget::deactivate ( ) [protected, virtual]

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrv::DtEyepointControlWidget::keyReleaseEvent ( QKeyEvent *  event) [protected, virtual]

Override this so key release in this widget isn't passed down to main window (which then creates an OSG key event with channel 1, which may not be the current channel.


Friends And Related Function Documentation

friend class DtEyepointControlWidgetCreator [friend]

Let the creator create the page.


Member Data Documentation

Pointer to our logic handler.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)