![]() |
VR-Forces 4.10 Class Documentation
|
The interface for the props widget. More...

Public Types | |
| typedef std::set< DtUniqueID > | UniqueIdSet |
Public Member Functions | |
| virtual | ~DtPropsInterface () |
| DTOR. More... | |
| virtual void | addPropType (std::string propType)=0 |
| Add a prop type to the gui propType must be unique. More... | |
| virtual void | removePropType (std::string propType)=0 |
| Remove a prop type from the gui propType must be unique. More... | |
| virtual void | addProp (const std::string &propName, const std::string &propType, DtUniqueID id)=0 |
| Add a prop to the gui The pair (propName, propType) must be unique. More... | |
| virtual void | removeProp (const std::string &propName, const std::string &propType, DtUniqueID id)=0 |
| Remove a prop from the gui The pair (propName, propType) must be unique. More... | |
| virtual void | setOpacity (int opacity)=0 |
| Set the opacity in the gui. More... | |
| virtual void | setVisibility (int visibility)=0 |
| Set the visibility in the gui. More... | |
| virtual void | setPropType (const std::string &propType)=0 |
| Set the prop type in the gui. More... | |
| virtual void | setModelDefinition (const std::string &modelDef)=0 |
| Set the model definition in the gui. More... | |
| virtual void | setPropSelected (DtUniqueID id, bool selected)=0 |
| Set a prop item to be selected or unselected. More... | |
| virtual void | setPropsSelected (const UniqueIdSet &)=0 |
| Set a group of props selected. More... | |
| virtual void | setPropsDeselected (const UniqueIdSet &)=0 |
| Set a group of props deselected. More... | |
| virtual void | setPosition (double x, double y, double z)=0 |
| Set the position in the gui. More... | |
| virtual void | setPositionUnits (const DtUnicode &units)=0 |
| Set the position units in the gui. More... | |
| virtual void | setPositionPrecisions (int distDecimals, int altDecimals)=0 |
| Set the position precision in the gui. More... | |
| virtual void | setOrientation (const double yaw, const double pitch, const double roll)=0 |
| Set the orientation in the gui. More... | |
| virtual void | setOrientationUnits (const DtUnicode &units)=0 |
| Set the orientation units in the gui. More... | |
| virtual void | setOrientationPrecision (int decimals)=0 |
| Set the orientation precision in the gui. More... | |
| virtual void | setValidSchemas (const std::vector< std::string > &schemaNames)=0 |
| Set the valid schema types for props. More... | |
Public Attributes | |
| boost::signalslib::signal < void(const UniqueIdSet &)> | signal_selectionChanged |
| Emitted when the user has selected a prop tree item. More... | |
| boost::signalslib::signal< void()> | signal_removePropsBtnClicked |
| Emitted when the user has clicked the remove props button. More... | |
| boost::signalslib::signal < void(int)> | signal_opacityChanged |
| Emitted when the user has changed the opacity. More... | |
| boost::signalslib::signal < void(int)> | signal_visibilityChanged |
| Emitted when the user has changed the visibility. More... | |
| boost::signalslib::signal < void(const std::string &)> | signal_propTypeChanged |
| Emitted when the user has changed the prop type. More... | |
| boost::signalslib::signal < void(const std::string &)> | signal_modelDefinitionChanged |
| Emitted when the user has changed the Model Definition. More... | |
| boost::signalslib::signal < void(double, double, double)> | signal_orientationChanged |
| Emitted when the user has changed the orientation. More... | |
| boost::signalslib::signal < void(double, double, double)> | signal_positionChanged |
| Emitted when the user has changed the orientation. More... | |
The interface for the props widget.
| typedef std::set<DtUniqueID> makVrv::DtPropsInterface::UniqueIdSet |
|
virtual |
DTOR.
|
pure virtual |
Add a prop type to the gui propType must be unique.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Remove a prop type from the gui propType must be unique.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Add a prop to the gui The pair (propName, propType) must be unique.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Remove a prop from the gui The pair (propName, propType) must be unique.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the opacity in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the visibility in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the prop type in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the model definition in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set a prop item to be selected or unselected.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set a group of props selected.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set a group of props deselected.
Implemented in makVrv::DtPropsWidget.
Set the position in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the position units in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the position precision in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the orientation in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the orientation units in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the orientation precision in the gui.
Implemented in makVrv::DtPropsWidget.
|
pure virtual |
Set the valid schema types for props.
Implemented in makVrv::DtPropsWidget.
| boost::signalslib::signal<void (const UniqueIdSet&)> makVrv::DtPropsInterface::signal_selectionChanged |
Emitted when the user has selected a prop tree item.
| boost::signalslib::signal<void ()> makVrv::DtPropsInterface::signal_removePropsBtnClicked |
Emitted when the user has clicked the remove props button.
| boost::signalslib::signal<void (int)> makVrv::DtPropsInterface::signal_opacityChanged |
Emitted when the user has changed the opacity.
| boost::signalslib::signal<void (int)> makVrv::DtPropsInterface::signal_visibilityChanged |
Emitted when the user has changed the visibility.
| boost::signalslib::signal<void (const std::string&)> makVrv::DtPropsInterface::signal_propTypeChanged |
Emitted when the user has changed the prop type.
| boost::signalslib::signal<void (const std::string&)> makVrv::DtPropsInterface::signal_modelDefinitionChanged |
Emitted when the user has changed the Model Definition.
| boost::signalslib::signal<void (double, double, double)> makVrv::DtPropsInterface::signal_orientationChanged |
Emitted when the user has changed the orientation.
| boost::signalslib::signal<void (double, double, double)> makVrv::DtPropsInterface::signal_positionChanged |
Emitted when the user has changed the orientation.