![]() |
VR-Forces Developer's Guide
|
Functionality added to allow developers to more easily get information about currently selected items.

Static Public Member Functions | |
| static DtVrfSelectionHandler & | instance (makVrv::DtDe &de) |
Public Attributes | |
| boost::signals2::signal< void(const makVrv::DtSelectionManager::IdSet &selected)> | signal_currentSelectionChanged |
| boost::signals2::signal< void(const DtVector &)> | signal_lastDatabaseLocationSet |
| boost::signals2::signal< void(makVrv::DtElementID)> | signal_showInformationFor |
| boost::signals2::signal< void()> | signal_selectionPushed |
| boost::signals2::signal< void()> | signal_selectionPopped |
| boost::signals2::signal< void()> | signal_selectionAboutToBePopped |
Protected Types | |
| typedef std::vector < makVrv::DtSelectionManager::IdSet > | Selections |
Protected Member Functions | |
| virtual bool | canBoxSelectEntity (const makVrv::DtUniqueID &id) const |
| virtual void | slot_onCurrentSelectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected) |
| virtual void | slot_deInitialized (makVrv::DtDe &) |
| virtual void | slot_onAttributesChanged (const makVrv::DtElementAttributeManager::EntryAttributesList &signalList) |
| virtual void | completeAggregateSelectionChange (makVrv::DtSelectionManager::IdSet deselect, makVrv::DtSelectionManager::IdSet select) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSelectionManager::IdSet | myLastSelection |
| makVrv::DtSignalConnectionManager | myConnections |
| DtVector | myLastDatabaseLocation |
| bool | myAllowNonVrfItemsToBeManipulated |
| bool | myBlockAggregateSelectionChanges |
| std::set< makVrv::DtUniqueID > | myEntityUniqueIDNotBoxSelectable |
| std::vector< DtEntityType > | myEntityTypeNotBoxSelectable |
| Selections | mySelections |
| makVrv::DtSelectionManager::IdSet | mySelectionsInScreenBox |
| boost::signals2::scoped_connection | mySelectionChangedConnection |
|
protected |
| makVrf::DtVrfSelectionHandler::DtVrfSelectionHandler | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
static |
Returns instance of the DtVrfSelectionHandler.
|
virtual |
Calls down to DtVrfTaskSetManager, DtVrfFormationRequestor and DtEmbeddedEntitiesListRequestor to request information for current selection.
|
virtual |
Converts the list of names to unique ids.
|
virtual |
|
virtual |
Returns a list of the currently selected names.
|
virtual |
|
virtual |
Returns a list of the currently selected as marking text.
|
virtual |
|
virtual |
Returns a list of the currently selected sim entries.
|
virtual |
Returns true if every item in the current selection has the extended data keyword with the give value.
|
virtual |
Selects all objects that match the given names.
|
virtual |
Returns true if all objects in set are VRF simulated.
|
virtual |
Returns true if any of the selected objects is a clutter object.
|
virtual |
Returns true if any of the selected objects are remotely attached.
|
virtual |
Returns true if all objects are in the same session. If there is no session information for an object then it will be considered in this session.
|
virtual |
Returns true if specified object is VRF simulated.
|
virtual |
Returns true if specified object is remotely attached to a VRF back-end.
|
virtual |
Returns true if specified object is a clutter object.
|
virtual |
Returns true if object is in the same VRF session.
|
virtual |
Selects all the items found within the bounding box as defined by the screen. z coordinate is meaningless. If resetCurrentSelection is false, keeps selection and adds new items to it. Using the supplied ID set, will merge in selection by inverting selected items (i.e. if one would be selected in the screen box, and it is selected in the supplied selection box, it will be deselected), or add new items.
|
virtual |
Returns true if the current item is withing the supplied screen bounds.
|
virtual |
Sets the last database location. Will also signal the last database location has been changed.
|
virtual |
Returns the last database location set.
|
virtual |
Set to true to allow non-Vrf items to be manipulated (act as simulated by vrf). Default is false.
|
virtual |
|
virtual |
Set whether or not to change aggregate selections when expanded/collapsed. Default is true.
|
virtual |
|
virtual |
If items are selected and there are no attachments will zoom to the extents comprised of those elements. If there is an attachment will reset the camera to that attachment. If nothing is selected and their are no attachments will reset to center of terrain.
|
virtual |
Zooms to the extents of the ids given.
|
virtual |
Zooms to the extent of the object with the given ID.
|
virtual |
Move the camera to the origin of all the objects given the current zoom/orientation.
|
virtual |
Move the camera to the origin of the objects given the current zoom/orientation.
|
virtual |
Given a geocentric center and a radius, zoom to the extents at the center that will show that radius.
|
virtual |
| bool makVrf::DtVrfSelectionHandler::blockAggregateSelectionChanges | ( | ) | const |
|
virtual |
Simply emits the signal to show information for the given item. If no one is connected to this signal then information will not be shown.
|
virtual |
Add/remove object ids or types for box selection. Entity types will match the pattern supplied. By default local weather objects are not box selectable.
|
virtual |
Add/remove object ids or types for box selection. Entity types will match the pattern supplied. By default local weather objects are not box selectable.
|
virtual |
Add/remove object ids or types for box selection. Entity types will match the pattern supplied. By default local weather objects are not box selectable.
|
virtual |
Add/remove object ids or types for box selection. Entity types will match the pattern supplied. By default local weather objects are not box selectable.
|
virtual |
Pushes (and optionally clears) the current selection.
|
virtual |
If it has any pushed selections.
|
virtual |
Number of pushed selections.
|
virtual |
Pops the last pushed selection.
|
virtual |
Clears the currently push selections with restoring.
|
virtual |
|
virtual |
|
virtual |
Whether or not this object can have its altitude adjusted in an editor. Base on entity type information et.domain() == 2 || //! Air et.domain() == 4 || //! Subsurface et.domain() == 9 || //! Munition et.domain() == 5 || //! space et.kind() == 16 //! Point Or the .entity file has the gui keyword "canbeairborne".
|
protectedvirtual |
Whether or not the entity can be box selected. By default weather areas cannot be box selected.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (const makVrv::DtSelectionManager::IdSet& selected)> makVrf::DtVrfSelectionHandler::signal_currentSelectionChanged |
| boost::signals2::signal<void (const DtVector&)> makVrf::DtVrfSelectionHandler::signal_lastDatabaseLocationSet |
| boost::signals2::signal<void (makVrv::DtElementID)> makVrf::DtVrfSelectionHandler::signal_showInformationFor |
| boost::signals2::signal<void ()> makVrf::DtVrfSelectionHandler::signal_selectionPushed |
| boost::signals2::signal<void ()> makVrf::DtVrfSelectionHandler::signal_selectionPopped |
| boost::signals2::signal<void ()> makVrf::DtVrfSelectionHandler::signal_selectionAboutToBePopped |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |