The DtPropsLogic controls the state of props via a dialog page.
|
| void | populate () |
| |
| void | slot_propTypeAdded (const std::string &propType) |
| |
| void | slot_propTypeRemoved (const std::string &propType) |
| |
| void | slot_propCreated (DtProp &prop) |
| |
| void | slot_propDestroyed (const DtProp &prop) |
| |
| void | slot_selectionChanged (const DtPropsInterface::UniqueIdSet &idSet) |
| |
| void | updateGuiWithSelectedProp () |
| |
| void | updatePositionAndUnits () |
| |
| void | updateOrientationAndUnits () |
| |
| void | slot_removePropsBtnClicked () |
| |
| void | slot_opacityChanged (int opacity) |
| |
| void | slot_visibilityChanged (int visibility) |
| |
| void | slot_propTypeChanged (const std::string &propType) |
| |
| void | slot_modelDefinitionChanged (const std::string &modelDef) |
| |
| void | slot_externalSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected) |
| |
| void | slot_positionChanged (const double x, const double y, const double z) |
| |
| void | slot_orientationChanged (const double yaw, const double pitch, const double roll) |
| |
| void | slot_displayUnitChanged (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName) |
| |
| int | selectedOpacity () |
| |
| int | selectedVisibility () |
| |
| std::string | selectedPropType () |
| |
| std::string | selectedModelDefinition () |
| |
| bool | getSelectedOrientation (double &xOut, double &yOut, double &zOut) |
| |
| bool | getSelectedPosition (double &xOut, double &yOut, double &zOut) |
| |
| makVrv::DtPropsLogic::~DtPropsLogic |
( |
| ) |
|
| void makVrv::DtPropsLogic::populate |
( |
| ) |
|
|
protected |
Fills the gui with props and prop types.
| void makVrv::DtPropsLogic::slot_propTypeAdded |
( |
const std::string & |
propType | ) |
|
|
protected |
Called when the prop type manager creates a new prop type.
| void makVrv::DtPropsLogic::slot_propTypeRemoved |
( |
const std::string & |
propType | ) |
|
|
protected |
Called when the prop type manager removes a prop type.
| void makVrv::DtPropsLogic::slot_propCreated |
( |
DtProp & |
prop | ) |
|
|
protected |
Called when a new prop is created.
| void makVrv::DtPropsLogic::slot_propDestroyed |
( |
const DtProp & |
prop | ) |
|
|
protected |
Called when a new prop is destoyed.
Called when a user changes selection of props.
| void makVrv::DtPropsLogic::updateGuiWithSelectedProp |
( |
| ) |
|
|
protected |
Update the GUI the selected prop settings.
| void makVrv::DtPropsLogic::updatePositionAndUnits |
( |
| ) |
|
|
protected |
Update the prop position fields and unit label.
| void makVrv::DtPropsLogic::updateOrientationAndUnits |
( |
| ) |
|
|
protected |
Update the prop orientation fields and unit label.
| void makVrv::DtPropsLogic::slot_removePropsBtnClicked |
( |
| ) |
|
|
protected |
Called when the user has clicked the remove props button.
| void makVrv::DtPropsLogic::slot_opacityChanged |
( |
int |
opacity | ) |
|
|
protected |
Called when the user has changed the opacity.
| void makVrv::DtPropsLogic::slot_visibilityChanged |
( |
int |
visibility | ) |
|
|
protected |
Called when the user has changed the visibility.
| void makVrv::DtPropsLogic::slot_propTypeChanged |
( |
const std::string & |
propType | ) |
|
|
protected |
Called when the user has changed the prop type.
| void makVrv::DtPropsLogic::slot_modelDefinitionChanged |
( |
const std::string & |
modelDef | ) |
|
|
protected |
Called when the user has changed the Model Definition.
Called when selection changes in the selection manager.
| void makVrv::DtPropsLogic::slot_positionChanged |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z |
|
) |
| |
|
protected |
Called when the user changes the position of a prop.
| void makVrv::DtPropsLogic::slot_orientationChanged |
( |
const double |
yaw, |
|
|
const double |
pitch, |
|
|
const double |
roll |
|
) |
| |
|
protected |
Called when the user changes the orientation of a prop.
| void makVrv::DtPropsLogic::slot_displayUnitChanged |
( |
const DtUnicode & |
displayUnitCollectionName, |
|
|
const DtUnicode & |
displayUnitName |
|
) |
| |
|
protected |
Called when the user changes the display unit used for props.
- Parameters
-
| const | DtUnicode& displayUnitCollectionName The name of the collection the 'display unit' is a part of |
| const | DtUnicode& displayUnitName The name of the 'display unit' |
| int makVrv::DtPropsLogic::selectedOpacity |
( |
| ) |
|
|
protected |
Return the opacity for the selected prop ids. Returns 0 if the values isn't the same for all selected ids.
| int makVrv::DtPropsLogic::selectedVisibility |
( |
| ) |
|
|
protected |
Return the visibility for the selected prop ids. Returns 0 if the no selected id's are visible. Returns 1 if the some selected id's are visible. Returns 2 if the all selected id's are visible.
| std::string makVrv::DtPropsLogic::selectedPropType |
( |
| ) |
|
|
protected |
Returns the propType for the selected ids or the empty string if the values isn't the same for all selected ids.
| std::string makVrv::DtPropsLogic::selectedModelDefinition |
( |
| ) |
|
|
protected |
Returns the model definition for the selected ids or the empty string if the values isn't the same for all selected ids.
Returns true if the orientation for selected id's is the same and returns those values in x, y, z. False otherwise and returns zero's. Values are returned in degrees.
Returns true if the orientation for selected id's is the same and returns those values in x, y, z. False otherwise and returns zero's.
| DtDe& makVrv::DtPropsLogic::myDe |
|
protected |
| bool makVrv::DtPropsLogic::myUpdatingSelectionManager |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrvCoreQt/DtPropsLogic.h