![]() |
VR-Forces 5.0.1 Developer's Guide
|
The OSG overlay manager managers 2D graphical overlays.

Static Public Member Functions | |
| static DtOverlayRenderer * | overlayRenderer2DNormalized (DtDe &de, std::string displayName, std::string windowName, std::string channelName) |
| static DtWidgetPicker * | widgetPicker2DNormalized (DtDe &de, std::string displayName, std::string windowName, std::string channelName) |
Static Public Member Functions inherited from makVrv::DtOverlayManager | |
| static DefaultOverlays | modelSetToOverlay (unsigned int modelSet) |
Protected Types | |
| typedef std::unordered_map < DtChannel *, unsigned int > | ChannelSpecificOverlayMap |
| typedef std::unordered_map < DtChannel *, std::map< int, unsigned int > > | ChannelModelSetOverlayMap |
| typedef std::unordered_map < unsigned int, DtPickableOverlay * > | OverlayMap |
| typedef std::unordered_map < DtChannel *, std::set < unsigned int > > | ChannelOverlayMap |
Protected Member Functions | |
| virtual void | handleIfActiveContextChanged (DtChannel ¤tChannel) |
| virtual void | slot_channelToBeDestroyed (DtChannel *) |
| virtual unsigned int | allocateChannelSpecificLayerId () |
| virtual void | deallocateChannelSpecificLayerId (unsigned int layerId) |
| virtual void | destroyChannelSpecificOverlayLayer (ChannelSpecificOverlayMap &map, DtChannel *channel) |
| virtual DtOverlayRenderer & | overlayRenderer (ChannelSpecificOverlayMap &map, DtChannel *channel) |
| virtual DtWidgetPicker & | widgetPicker (ChannelSpecificOverlayMap &map, DtChannel *channel) |
| virtual void | destroyChannelModelSetOverlayLayers (DtChannel *) |
Static Protected Attributes | |
| static std::string | myDataPath |
Additional Inherited Members | |
Public Types inherited from makVrv::DtOverlayManager | |
| enum | DefaultOverlays { InvalidOverlay = 0, ModelSet_3D_Overlay, ModelSet_3D_XR_Overlay, ModelSet_3D_Sensor_Overlay, ModelSet_3D_Icons_Overlay, ModelSet_3D_Images_Overlay, ModelSet_2D_Icons_Overlay, ModelSet_2D_Images_Overlay, ModelSet_UserStart, ModelSet_UserEnd = ModelSet_UserStart + 16, Channel_SpecificStart, Channel_SpecificEnd = Channel_SpecificStart + 128, RemoteDisplayOverlay, RemoteDisplayWorldOverlay, SensorViewOverlay, UserStart } |
Public Attributes inherited from makVrv::DtOverlayManager | |
| boost::signalslib::signal < void(DtChannel *channel, DefaultOverlays overlay)> | signal_overlayAboutToBeRendered |
|
protected |
|
protected |
|
protected |
|
protected |
| makVrv::DtOsgOverlayManager::DtOsgOverlayManager | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed
|
delete |
not allowed
|
delete |
not allowed
|
overridevirtual |
Render.
Implements makVrv::DtOverlayManager.
|
overridevirtual |
Release any resources.
Implements makVrv::DtOverlayManager.
|
overridevirtual |
Enable an overlay on a channel.
Implements makVrv::DtOverlayManager.
|
overridevirtual |
Handle a mouse event returns true if the event was consumed. returns false if it was not.
Implements makVrv::DtOverlayManager.
Reimplemented in makVrf::DtVrfOsgOverlayManager.
|
overridevirtual |
Clear and destroy an overlay layer.
Implements makVrv::DtOverlayManager.
|
overridevirtual |
Get whether an overlay layer is visible.
Implements makVrv::DtOverlayManager.
|
overridevirtual |
Set whether an overlay layer is visible.
| Input | |
| visible | true if to show the layer, false if to hide the layer. |
Implements makVrv::DtOverlayManager.
|
virtual |
Process event on the element.
|
virtual |
Get the resource provider.
|
virtual |
Get the renderer for any layer.
|
virtual |
Get the renderer for a channel-specific layer. This overlay will return a layer where the camera maintains a fixed position.
|
virtual |
|
virtual |
|
static |
|
virtual |
Get the renderer for a channel-specific layer. This overlay will return a layer where the camera is the current eye position in the channel.
|
virtual |
Enables the model set on the channel to display or not. If the model set channel combination does not exist, will create a renderer on the model set/channel combination before enabling if "enabled" is true.
|
virtual |
Get the widget picker for any layer.
|
virtual |
Get the widget picker for a channel-specific layer. Uses fixed position camera.
|
virtual |
|
virtual |
|
static |
|
virtual |
Get the widget picker for a channel-specific layer. Uses eye position camera.
whether any of the overlays have something to render for this channel
|
protectedvirtual |
|
protectedvirtual |
Remove channel-specific overlay, if one exists.
|
protectedvirtual |
Get an unused channel specific layer id; throws exception if none are left.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Get the renderer for a channel-specific layer.
|
protectedvirtual |
Get the widget picker for a channel-specific layer. Uses fixed camera position for the channel.
|
protectedvirtual |
Destroys the supplied channel and model set overlay layer. Called when a channel is destroyed.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |