![]() |
VR-Forces 4.6.1 Class Documentation
|
Simple widget that, if a location is set, will see if there is an entity under that location, and, if there is will set the name of the entity into the widget as something that could be embarked upon. More...

Classes | |
| struct | ScribeBoxInfo |
| current highlight information of selected embarkable object More... | |
Public Member Functions | |
| DtEmbarkationWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| CTOR. | |
| virtual | ~DtEmbarkationWidget () |
| virtual void | setLocation (const DtVector &) |
| Check to see if there is anything to embark on here at any of the locations. Locations are in local database coordinates. | |
| virtual void | enable () |
| Whether or not the widget will update in response to setLocation sets. | |
| virtual void | disable () |
| virtual void | setCheckCanEmbarkOn (bool) |
| Sets whether or not to check if this object the point is over can be embarked on. Default is false (i.e always embark) | |
| virtual bool | checkCanEmbarkOn () const |
| virtual void | setIdsToIgnore (const std::vector< makVrv::DtUniqueID > &) |
| The ids to ignore when doing the embark test. | |
| virtual const std::vector < makVrv::DtUniqueID > & | idsToIgnore () const |
| virtual void | setEmbarkInSlotIfAvailableVisible (bool b) |
| virtual void | setEmbarkedOn (makVrv::DtUniqueID) |
| Sets to specifically embark on the given object id. | |
| virtual void | setStayEmbarkedIfEmbarked (bool) |
| Set to true if this object should always stay embarked on the original object, regardless of where it moves to. | |
| bool | stayEmbarkedIfEmbarked () const |
Public Attributes | |
| boost::signal< void(makVrv::DtUniqueID, bool)> | signal_embarkInformationChanged |
| QCheckBox * | myEnableAutomaticEmbarkation |
| QLabel * | myEmbarkOn |
| QCheckBox * | myEmbarkInSlotIfAvailable |
Protected Types | |
| typedef std::map < makVrv::DtUniqueID, std::vector< ScribeBoxInfo > > | ScribeBoxHighlightInfo |
Protected Slots | |
| virtual void | onEmbarkOnChanged () |
| virtual void | onEmbarkInSlotIfAvailableChanged () |
Protected Member Functions | |
| virtual void | setHighlight (makVrv::DtUniqueID, bool) |
| Sets whether or not to highlight. | |
| virtual void | setCurrentObserver (makVrv::DtObserver *observer) |
| virtual void | onCurrentObserverChanged (makVrv::DtInputDriver *driver, makVrv::DtObserver *observer) |
| virtual void | onObserverModeChanged (makVrv::DtObserver *observer, int mode) |
| virtual void | restoreOriginalHighlightInformation () |
| virtual makVrv::DtOsgScribeBoxModel * | scribeBoxModelFor (makVrv::DtUniqueID displayId) |
| Returns the scribe box mode (if exists) for the current display id. | |
Simple widget that, if a location is set, will see if there is an entity under that location, and, if there is will set the name of the entity into the widget as something that could be embarked upon.
|
protected |
| makVrf::DtEmbarkationWidget::DtEmbarkationWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
CTOR.
|
virtual |
|
virtual |
Check to see if there is anything to embark on here at any of the locations. Locations are in local database coordinates.
|
virtual |
Whether or not the widget will update in response to setLocation sets.
|
virtual |
|
virtual |
Sets whether or not to check if this object the point is over can be embarked on. Default is false (i.e always embark)
|
virtual |
|
virtual |
The ids to ignore when doing the embark test.
|
virtual |
|
virtual |
|
virtual |
Sets to specifically embark on the given object id.
If the object id IS NOT the same as whatever this widget thinks it should be embarked on, the automatic embarkation will be turned off
|
virtual |
Set to true if this object should always stay embarked on the original object, regardless of where it moves to.
This can be used for environmentals that can trail behind embarked objects
|
inline |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Sets whether or not to highlight.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns the scribe box mode (if exists) for the current display id.
| boost::signal<void (makVrv::DtUniqueID, bool)> makVrf::DtEmbarkationWidget::signal_embarkInformationChanged |
| QCheckBox* makVrf::DtEmbarkationWidget::myEnableAutomaticEmbarkation |
| QLabel* makVrf::DtEmbarkationWidget::myEmbarkOn |
| QCheckBox* makVrf::DtEmbarkationWidget::myEmbarkInSlotIfAvailable |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |