![]() |
VR-Forces 4.3.1 Class Documentation
|

Public Member Functions | |
| DtVrfPropsWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtVrfPropsWidget () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtPropsWidget | |
| DtPropsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtPropsWidget () |
| DTOR. | |
| virtual void | addPropType (std::string propType) |
| Add a prop type to the gui propType must be unique. | |
| virtual void | removePropType (std::string propType) |
| Remove a prop type from the guiz propType must be unique. | |
| virtual void | addProp (const std::string &propName, const std::string &propType, DtUniqueID id) |
| Add a prop to the gui The pair (propName, propType) must be unique. | |
| virtual void | removeProp (const std::string &propName, const std::string &propType, DtUniqueID id) |
| Remove a prop from the gui The pair (propName, propType) must be unique. | |
| virtual void | setOpacity (int opacity) |
| Set the opacity in the gui. | |
| virtual void | setVisibility (int visibility) |
| Set the visibility in the gui. | |
| virtual void | setPropType (const std::string &propType) |
| Set the prop type in the gui. | |
| virtual void | setModelDefinition (const std::string &modelDef) |
| Set the model definition in the gui. | |
| virtual void | setPropSelected (DtUniqueID id, bool selected) |
| Set a prop item to be selected or unselected. | |
| virtual void | setPropsSelected (const DtPropsInterface::UniqueIdSet &ids) |
| Set several prop items to be selected. | |
| virtual void | setPropsDeselected (const DtPropsInterface::UniqueIdSet &ids) |
| Set several prop item to be unselected. | |
| virtual void | setValidSchemas (const std::vector< std::string > &schemaNames) |
| Set the names of the valid schemas for prop model defs. | |
| virtual void | setPosition (double x, double y, double z) |
| Set the position in the gui. | |
| virtual void | setPositionUnits (const DtUnicode &units) |
| Set the position units in the gui. | |
| virtual void | setPositionPrecisions (int distDecimals, int altDecimals) |
| Set the position precision in the gui. | |
| virtual void | setOrientation (const double yaw, const double pitch, const double roll) |
| Set the orientation in the gui. | |
| virtual void | setOrientationUnits (const DtUnicode &units) |
| Set the orientation units in the gui. | |
| virtual void | setOrientationPrecision (int decimals) |
| Set the orientation precision in the gui. | |
| void | clear () |
| Clears widget. | |
Public Member Functions inherited from makVrv::DtPropsInterface | |
| virtual | ~DtPropsInterface () |
| DTOR. | |
Protected Slots | |
| virtual void | onRemoveButtonClicked () |
Protected Slots inherited from makVrv::DtPropsWidget | |
| void | onSelectionChanged () |
| Called when the prop tree selection is changed. | |
| void | onRemovePropsBtnClicked () |
| Called when the remove props button is clicked. | |
| void | onOpacityChanged (int opacity) |
| Called when the opacity slider is changed. | |
| void | onVisibilityChanged (int visibilty) |
| Called when the visibility checkbox is toggled. | |
| void | onPropTypeComboChanged (int index) |
| Called when the prop type combo box is changed. | |
| void | onModelDefComboChanged (int index) |
| Called when the model definition combo box is changed. | |
| void | onPositionChanged () |
| Called when the orientation of the prop is changed. | |
| void | onOrientationChanged () |
| Called when the orientation of the prop is changed. | |
| void | onRightClicked (QTreeWidgetItem *, QMouseEvent *, int col) |
| Determines the item that was clicked on and displays a context menu. | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPropsInterface | |
| typedef std::set< DtUniqueID > | UniqueIdSet |
Public Attributes inherited from makVrv::DtPropsInterface | |
| boost::signal< void(const UniqueIdSet &)> | signal_selectionChanged |
| Emitted when the user has selected a prop tree item. | |
| boost::signal< void()> | signal_removePropsBtnClicked |
| Emitted when the user has clicked the remove props button. | |
| boost::signal< void(int)> | signal_opacityChanged |
| Emitted when the user has changed the opacity. | |
| boost::signal< void(int)> | signal_visibilityChanged |
| Emitted when the user has changed the visibility. | |
| boost::signal< void(const std::string &)> | signal_propTypeChanged |
| Emitted when the user has changed the prop type. | |
| boost::signal< void(const std::string &)> | signal_modelDefinitionChanged |
| Emitted when the user has changed the Model Definition. | |
| boost::signal< void(double, double, double)> | signal_orientationChanged |
| Emitted when the user has changed the orientation. | |
| boost::signal< void(double, double, double)> | signal_positionChanged |
| Emitted when the user has changed the orientation. | |
Protected Types inherited from makVrv::DtPropsWidget | |
| typedef boost::unordered_map < DtUniqueID, QTreeWidgetItem * > | UniqueItemMap |
| typedef boost::unordered_map < std::string, QTreeWidgetItem * > | ItemMap |
Protected Member Functions inherited from makVrv::DtPropsWidget | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| QTreeWidgetItem * | findPropTypeItem (const std::string &propType) |
| Return the QTreeWidgetItem* for propType; null otherwise. | |
| QTreeWidgetItem * | findPropItem (DtUniqueID name) |
| Return the QTreeWidgetItem* for prop; null otherwise. | |
| void | setItemName (QTreeWidgetItem *item, const std::string &name) |
| Set the name field in a tree widget item. | |
| QString | itemName (const QTreeWidgetItem *item) |
| Get the name field in a tree widget item. | |
| void | setItemPropType (QTreeWidgetItem *item, const std::string &propType) |
| Set the prop type field in a tree widget item. | |
| QString | itemPropType (const QTreeWidgetItem *item) |
| Get the prop type field in a tree widgget item. | |
| void | setItemUniqueID (QTreeWidgetItem *item, DtUniqueID id) |
| Set the unique id field of the tree item. | |
| DtUniqueID | itemUniqueID (const QTreeWidgetItem *item) |
| Get the unique id field of the tree item. | |
| bool | isItemProp (QTreeWidgetItem *item) |
| Check whether a tree item is a prop type or a prop. | |
| void | setStateStuffEnabled (bool bEnable) |
| Enabled/ disable state gui stuff. | |
Protected Attributes inherited from makVrv::DtPropsWidget | |
| DtDe & | myDe |
| DtTreeWidget * | myTreeWidget |
| QPushButton * | myRemovePropsBtn |
| DtPropTypeComboBox * | myPropTypeCombo |
| DtModelDefinitionComboBox * | myModelDefCombo |
| QCheckBox * | myVisibleCheckbox |
| QLabel * | opacityLabel |
| QSlider * | myOpacitySlider |
| ItemMap | myPropTypeItems |
| UniqueItemMap | myPropItems |
| QLabel * | myXLabel |
| QLabel * | myYLabel |
| QLabel * | myZLabel |
| QDoubleSpinBox * | myXSpinbox |
| QDoubleSpinBox * | myYSpinbox |
| QDoubleSpinBox * | myZSpinbox |
| QLabel * | myYawLabel |
| QLabel * | myPitchLabel |
| QLabel * | myRollLabel |
| QDoubleSpinBox * | myYawSpinbox |
| QDoubleSpinBox * | myPitchSpinbox |
| QDoubleSpinBox * | myRollSpinbox |
| makVrf::DtVrfPropsWidget::DtVrfPropsWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtualslot |