VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSquawkIndicator.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
17 
18 #include <vrvCore/DtUniqueID.h>
19 
20 #include <matrix/vlVector.h>
21 
22 namespace makVrv
23 {
24 
25  class DtWidgetAgent;
26  class DtSceneObjectAgent;
27  class DtAttachableUpdaterAgent;
28  class DtProjectedWidgetModelAgent;
29 
33  {
34  public:
35 
37  virtual ~DtSquawkIndicator();
38 
41 
44  virtual void setColor( float red, float green, float blue, float alpha = 1.0f );
45 
50  virtual void setAnimationRate( float rate );
51 
53  virtual void animate( double t );
54 
56 
58  void setOffset( const DtVector& offset );
59 
60  protected:
61 
63 
65  DtSquawkIndicator( DtDe& de, int modelSet, int visualType,
66  AttachablePoint transmitLoc );
67 
71  virtual void initialize();
72 
73  protected:
74 
75  DtWidgetAgent* myWidgetAgent;
76  DtAttachableUpdaterAgent* myUpdater;
77  DtProjectedWidgetModelAgent* myProjectedWidgetModelAgent;
78  DtSceneObjectAgent* mySceneObject;
79 
81 
84 
86 
88 
89  };
90 
91 
97  {
98  public:
99 
103  static DtSquawkIndicatorCreator& instance( DtDe& de );
104 
107  DtSquawkIndicator* create( int modelSet, int visualizerType,
109 
110  protected:
111 
114 
115  protected:
116 
118 
119  };
120 
121 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)