![]() |
VR-Forces 4.8 Class Documentation
|
Will show a map scale given the overserver position and screen DPI. More...

Public Member Functions | |
| DtMapInformationOverlayInstance (makVrv::DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtMapInformationOverlayInstance () |
| DTOR. More... | |
| virtual void | setModelDefinition (const std::string &modelDefinition) |
| Set the model definition; note that this (potentially) includes all the other parameters enumeration below. More... | |
| virtual void | setVisible (bool isVisible) |
| Set the grid line visibility state. More... | |
| bool | visible () const |
| virtual void | setChannel (makVrv::DtChannel *) |
| virtual void | setOrigin (int left, int bottom) |
| Sets the origin of where this overlay should be displayed in screen space. More... | |
| virtual void | setGeometry (int left, int bottom, int width, int height) |
| Sets the geometry of the object. More... | |
| virtual void | updateDisplay () |
| Sets flag to update display on next tick. More... | |
| virtual void | setGroup (float) |
| Sets the overlay group to put the items on. More... | |
| virtual void | destroyVisuals ()=0 |
| Overrides needed to be implemented by subclasses. More... | |
| virtual void | createVisuals ()=0 |
| Create any visuals needed for the overlay. More... | |
| virtual void | channelUpdated ()=0 |
| Called when the channel is updated. More... | |
| virtual void | getSize (int &width, int &height)=0 |
| Returns the size of the overlay take by this class. More... | |
Public Attributes | |
| boost::signals2::signal< void()> | signal_needsUpdate |
| Emit this signal when an update/layout change is needed. More... | |
Protected Member Functions | |
| virtual void | setupFont () |
| virtual DtGuiEventProcessor & | guiEventProcessor () const |
| virtual void | slot_windowPixelRatioChanged (float pixelRatio) |
| Reloads fonts on map scale when high dpi scaling changes screens. More... | |
| virtual void | reloadTextFonts () |
| Subclasses should re implement this function to reset the font on any allocated text items to support runtime font size changes. More... | |
Private Member Functions | |
| DtMapInformationOverlayInstance (const DtMapInformationOverlayInstance &orig) | |
| Unimplemented copy constructor. More... | |
| DtMapInformationOverlayInstance & | operator= (const DtMapInformationOverlayInstance &rhs) |
| Unimplemented assignment operator. More... | |
Will show a map scale given the overserver position and screen DPI.
| makVrf::DtMapInformationOverlayInstance::DtMapInformationOverlayInstance | ( | makVrv::DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Unimplemented copy constructor.
|
virtual |
Set the model definition; note that this (potentially) includes all the other parameters enumeration below.
|
virtual |
Set the grid line visibility state.
|
inline |
|
virtual |
Reimplemented in makVrf::DtMouseMapBullseyePositionInstance.
Sets the origin of where this overlay should be displayed in screen space.
|
virtual |
Sets the geometry of the object.
|
virtual |
Sets flag to update display on next tick.
|
virtual |
Sets the overlay group to put the items on.
Reimplemented in makVrf::DtMapScaleInstance, makVrf::DtMouseMapBullseyePositionInstance, and makVrf::DtMouseMapPositionInstance.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reloads fonts on map scale when high dpi scaling changes screens.
|
inlineprotectedvirtual |
Subclasses should re implement this function to reset the font on any allocated text items to support runtime font size changes.
Reimplemented in makVrf::DtMouseMapPositionInstance, and makVrf::DtMapScaleInstance.
|
pure virtual |
Overrides needed to be implemented by subclasses.
Destroy any visuals created for the overlay
Implemented in makVrf::DtMouseMapBullseyePositionInstance, makVrf::DtMouseMapPositionInstance, and makVrf::DtMapScaleInstance.
|
pure virtual |
Create any visuals needed for the overlay.
Implemented in makVrf::DtMouseMapBullseyePositionInstance, makVrf::DtMouseMapPositionInstance, and makVrf::DtMapScaleInstance.
|
pure virtual |
Called when the channel is updated.
Implemented in makVrf::DtMouseMapBullseyePositionInstance, makVrf::DtMouseMapPositionInstance, and makVrf::DtMapScaleInstance.
|
pure virtual |
Returns the size of the overlay take by this class.
Implemented in makVrf::DtMouseMapPositionInstance, makVrf::DtMapScaleInstance, and makVrf::DtMouseMapBullseyePositionInstance.
|
private |
Unimplemented assignment operator.
| boost::signals2::signal<void ()> makVrf::DtMapInformationOverlayInstance::signal_needsUpdate |
Emit this signal when an update/layout change is needed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |