VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverModeSelectionWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <vrvCore/DtObserver.h>
14 #include <string>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtObserverModeSelectionWidgetInterface;
20  class DtInputDriver;
21  class DtObserver;
22 
26  {
27 
28  public:
29 
31  static DtObserverModeSelectionWidgetLogic* create(DtDe& de,
33 
36 
38  virtual void setObserverMode( int mode );
39 
40  virtual void slot_activate(DtDe* de);
41  virtual void slot_deactivate(DtDe* de);
42 
43  protected:
44 
47 
49  virtual void setCurrentObserver( DtObserver* observer );
50 
52  virtual void populateWidget();
53 
55  virtual void onObserverAboutToBeDestroyed( DtInputDriver* inputDriver,
56  DtObserver* observer );
57 
59  virtual void onCurrentObserverChanged( DtInputDriver* inputDriver,
60  DtObserver* observer );
61 
63  virtual void onObserverModeChanged( DtObserver* observer, int newObserverMode );
64 
66  virtual void onObserverModeNameChanged( int observerMode );
67 
69  virtual void slot_observerModeAdded( int mode );
70 
72  virtual void slot_observerModeRemoved( int mode );
73 
74  virtual void slot_observerModeModelSetChanged( int mode );
75 
76  virtual void setupObserverModes();
77 
80  virtual void initializeFromObserverMode( int observerMode );
81 
82  protected:
83 
86 
88  };
89 }
Contains makVrv::DtSubjectObserver class.
DtObserver * myCurrentObserver
Definition: DtObserverModeSelectionWidgetLogic.h:87
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
DtDe & myDe
Definition: DtObserverModeSelectionWidgetLogic.h:84
Contains DLL export macros.
DtObserverModeSelectionWidgetInterface * myInterface
Definition: DtObserverModeSelectionWidgetLogic.h:85
Logic to manage the Observer Mode Selection Widget.
Definition: DtObserverModeSelectionWidgetLogic.h:25
A facade for a DtObserverObject.
Definition: DtObserver.h:38
Contains makVrv::DtObserver class.
This class&#39;s main responsibility is to handle keyboard and mouse events from OSG (Qt events are route...
Definition: DtInputDriver.h:43
The interface of the makVrv::DtObserverModeSelectionWidget for the makVrv::DtObserverModeSelectionLog...
Definition: DtObserverModeSelectionWidgetInterface.h:18
const char int mode
Definition: ioapi.h:38
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:76

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)