VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgSensorViewOverlay.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 
13 #include <vrvOsg/vrvOsg.h>
16 
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtOsgObserverObject;
22  class DtOverlayRenderer;
23 
33  {
34  public:
36 
38  virtual ~DtOsgSensorViewOverlay();
39 
41  virtual void initialize(const std::string& windowName, const std::string& channelName);
42 
44  virtual void update(const std::string& observerName,
45  const DtSensorFieldOfViewData& state);
46 
47  protected:
48 
52  DtOsgSensorViewOverlaySectionCreators& sectionCreators);
53 
54  protected:
55 
56  std::string myWindowName;
57  std::string myChannelName;
58 
61 
63  std::list<DtOsgSensorViewOverlaySection*> myOverlaySections;
64 
65  };
66 
73  {
74  public:
75 
79  static void registerInstance(DtDe& de,
80  DtOsgSensorViewOverlaySectionCreators* sectionCreators = 0);
81 
83  static const DtOsgSensorViewOverlaySectionCreators& defaultOverlaySectionCreators();
84 
87  virtual const DtOsgSensorViewOverlaySectionCreators& overlaySectionCreators() const;
88 
91  virtual void setOverlaySectionCreators(const DtOsgSensorViewOverlaySectionCreators&);
92 
94  virtual DtSensorViewOverlay* create(DtDe& de);
95 
96  protected:
97 
101  };
102 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)