![]() |
VR-Forces 4.0.4 Class Documentation
|
UI Element for specifying a body orientation on an entity. More...

Public Member Functions | |
| DtUiOrientationElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| Constructor. | |
| virtual | ~DtUiOrientationElement () |
| Destructor. | |
| DtUiOrientationElement (const DtUiOrientationElement &orig) | |
| Copy constructor. | |
| DtUiOrientationElement & | operator= (const DtUiOrientationElement &orig) |
| Assignment operator. | |
| virtual QWidget * | createLabelWidget (QWidget *parent) |
| Create and return the label widget for this element. | |
| virtual QWidget * | createControls (QWidget *) |
| Creates and returns the non-label part of the element. | |
| virtual void | setFromParameters (DtReaderWriter *parentRw) |
Protected Member Functions | |
| virtual void | elementChanged () |
| virtual void | decorateElement () |
| Sets element decoration depending on the isModified state of the element. | |
| virtual void | setModifiedFont (QLabel *l, bool modified) |
| virtual void | setOrientation (DtRwTaitBryan *sourceOrient) |
| virtual DtUiElement * | clone () |
Protected Attributes | |
| QDoubleValidator * | myValidator |
| DtRwInt | myDecimals |
| QLabel * | myFiLabel |
| QLabel * | myThetaLabel |
| QLabel * | myPsiLabel |
| QLineEdit * | myFiLineEdit |
| QLineEdit * | myThetaLineEdit |
| Rotation around x axis(pitch) | |
| QLineEdit * | myPsiLineEdit |
| Rotation around y axis(roll) | |
| double | myPsiDiff |
| Rotation around Z axis(yaw) | |
| double | myThetaDiff |
| double | myFiDiff |
UI Element for specifying a body orientation on an entity.
Fills is a DtTaitBryan.
| DtUiOrientationElement::DtUiOrientationElement | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
Constructor.
| virtual DtUiOrientationElement::~DtUiOrientationElement | ( | ) | [virtual] |
Destructor.
| DtUiOrientationElement::DtUiOrientationElement | ( | const DtUiOrientationElement & | orig | ) |
Copy constructor.
| DtUiOrientationElement& DtUiOrientationElement::operator= | ( | const DtUiOrientationElement & | orig | ) |
Assignment operator.
| virtual QWidget* DtUiOrientationElement::createLabelWidget | ( | QWidget * | parent | ) | [inline, virtual] |
Create and return the label widget for this element.
May return NULL if not special label element is needed.
Reimplemented from DtUiElement.
| virtual QWidget* DtUiOrientationElement::createControls | ( | QWidget * | parent | ) | [virtual] |
Creates and returns the non-label part of the element.
Reimplemented from DtUiFrameElement.
| virtual void DtUiOrientationElement::setFromParameters | ( | DtReaderWriter * | parentRw | ) | [virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiOrientationElement::elementChanged | ( | ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiOrientationElement::decorateElement | ( | ) | [protected, virtual] |
Sets element decoration depending on the isModified state of the element.
This version changes myLabel font.
Reimplemented from DtUiFrameElement.
| virtual void DtUiOrientationElement::setModifiedFont | ( | QLabel * | l, |
| bool | modified | ||
| ) | [protected, virtual] |
| virtual void DtUiOrientationElement::setOrientation | ( | DtRwTaitBryan * | sourceOrient | ) | [protected, virtual] |
| virtual DtUiElement* DtUiOrientationElement::clone | ( | ) | [protected, virtual] |
Reimplemented from DtUiFrameElement.
QDoubleValidator* DtUiOrientationElement::myValidator [protected] |
DtRwInt DtUiOrientationElement::myDecimals [protected] |
QLabel* DtUiOrientationElement::myFiLabel [protected] |
QLabel* DtUiOrientationElement::myThetaLabel [protected] |
QLabel* DtUiOrientationElement::myPsiLabel [protected] |
QLineEdit* DtUiOrientationElement::myFiLineEdit [protected] |
QLineEdit* DtUiOrientationElement::myThetaLineEdit [protected] |
Rotation around x axis(pitch)
QLineEdit* DtUiOrientationElement::myPsiLineEdit [protected] |
Rotation around y axis(roll)
double DtUiOrientationElement::myPsiDiff [protected] |
Rotation around Z axis(yaw)
double DtUiOrientationElement::myThetaDiff [protected] |
double DtUiOrientationElement::myFiDiff [protected] |