VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfOsgOverlayManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
17 namespace makVrf
18 {
19  class DtMapFocusHandlerManager;
20 
24  {
25  public:
26 
29 
30  virtual bool processWidgetEvent( makVrv::DtElementID id, const makVrv::DtMouseEvent &ev,
31  makVrv::DtChannel& channel ) override;
32  virtual bool handleMouseEvent(const makVrv::DtMouseEvent& ev, makVrv::DtChannel& channel) override;
33  virtual void resetProcessedId();
34 
36  virtual bool lastEventWasMultiSelection() const;
37  virtual void setLastEventWasMultiSelection(bool);
38 
39  boost::signals2::signal<void ( makVrv::DtElementID id, const makVrv::DtMouseEvent &ev, makVrv::DtChannel& channel) > signal_processMouseEvent;
40 
41  protected:
45  };
46 
48  {
49  public:
51  virtual makVrv::DtOverlayManager* create(makVrv::DtDe& de) override;
52  };
53 
57  {
58  public:
60  virtual ~DtVrfWidgetPicker();
61 
63  virtual bool signalEvents();
64 
65  protected:
67  };
68 
70 }
Contains makVrv::DtOsgOverlayManager class.
The OSG overlay manager managers 2D graphical overlays.
Definition: DtOsgOverlayManager.h:40
Creator class for the DtOsgOverlayManager instance.
Definition: DtOsgOverlayManager.h:215
Variadic templated creator class for creating a custom version of a DtVirtualBaseClassCreator This cl...
Definition: DtVirtualBaseClassCustomCreator.h:25
Contains the makVrv::DtWidgetPicker class declaration.
Override of Vantage class to provide functionality that VR-Forces needs for cursor changing in object...
Definition: vrfOsgOverlayManager.h:23
makVrv::DtUniqueID myLastProcessedId
Definition: vrfOsgOverlayManager.h:43
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
This class encapsulates a mouse button event.
Definition: DtMouseEvent.h:19
The abstract Channel Class.
Definition: DtChannel.h:35
The overlay resource provider class provides resources for overlay drawing classes.
Definition: DtOverlayResourceProvider.h:28
makVrv::DtUniqueID myProcessedId
Definition: vrfOsgOverlayManager.h:42
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Abstract base class for managing the overlays.
Definition: DtOverlayManager.h:31
makVrv::DtVirtualBaseClassCustomCreator< DtVrfWidgetPicker, makVrv::DtWidgetPickerCreator, makVrv::DtOverlayResourceProvider & > DtVrfWidgetPickerCreator
Definition: vrfOsgOverlayManager.h:69
DtMapFocusHandlerManager & myMapFocusHandlerManager
Definition: vrfOsgOverlayManager.h:66
bool myLastEventWasMultiSelection
Definition: vrfOsgOverlayManager.h:44
boost::signals2::signal< void(makVrv::DtElementID id, const makVrv::DtMouseEvent &ev, makVrv::DtChannel &channel) > signal_processMouseEvent
Definition: vrfOsgOverlayManager.h:39
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
This will manage the map focus handler to allow for the setting of the cursor based on a given id and...
Definition: mapFocusHandlerManager.h:30
Create a subclass of the widget picker to be able to disallow enter signal from being sent if in pick...
Definition: vrfOsgOverlayManager.h:56
Definition: vrfOsgOverlayManager.h:47
The picker class which allocates and does picking operations on widgets.
Definition: DtWidgetPicker.h:53

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)