VR-Forces 4.2 Class Documentation
DtSymbolFacade1.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <exampleSymbolFacade1.h>
13 
14 #include <vrvCore/DtElementEntry.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <boost/signal.hpp>
18 
19 class DtVector;
20 
21 namespace makVrv
22 {
23  class DtSceneObjectAgent;
24  class DtWidgetLabelAgent;
25  class DtAgentManagerInterface;
26  class DtProjectedWidgetModelAgent;
27 }
28 
29 namespace makVrv
30 {
31 
32  namespace exampleSymbolFacade1
33  {
34 
42  {
43  public:
44 
46  DtSymbolFacade( makVrv::DtAgentManagerInterface& sceneInterface,
47  makVrv::DtElementID id );
48 
50  virtual ~DtSymbolFacade();
51 
52 
55 
57  virtual makVrv::DtElementID elementId() const;
58 
60  virtual makVrv::DtWidgetLabelAgent& widgetLabelAgent();
61 
63  virtual void setPosition( const DtVector& pos );
64 
66 
67 
69  static makVrv::DtElementEntry::ElementType elementType();
70 
71  protected:
72 
73  // Sets up the sceneobject and widget agents for displaying the symbol.
74  // Non-virtual (Called from CTOR).
75  void initialize();
76 
77  protected:
78 
79  makVrv::DtElementID myElementId;
80 
81  makVrv::DtSceneObjectAgent* mySceneObjectAgent;
82  makVrv::DtProjectedWidgetModelAgent* myProjectedWidgetModelAgent;
83  makVrv::DtWidgetLabelAgent* myWidgetLabelAgent;
84 
85  };
86 
87  }
88 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)