VR-Forces 4.1.1 Class Documentation
Dt3DTextStateVisualizer.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>
15 #include <vrvCore/Dt3DTextModelAgent.hpp>
17 
18 class DtVector;
19 
20 namespace makVrv
21 {
22  class DtAttachableUpdaterAgent;
23 
29  {
30  public:
33  DtStateListener& listener, int modelSet);
34 
36  virtual ~Dt3DTextStateVisualizer();
37 
40  virtual void setLocation(const DtVector& loc);
41 
43  virtual void setColor(float r,float g,float b,float a);
44 
46  virtual void setFlashing(bool flashing);
47 
49  virtual void setText(const std::string& str);
50 
56  virtual void setAttached(DtUniqueID id, int vtx, double percentage);
57 
59  virtual void setHostId(const std::string& id, int vtx, double percentage);
60 
62  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
63 
65  static const DtStateVisualizer::TypeInfo& theTypeInfo();
66 
67  protected:
71  virtual void setVisible(bool yesNo);
72 
74  virtual void createModelAgents();
75 
83  virtual void destroyModelAgents();
84 
86  virtual void setModelDefinitionForAgents();
87 
88  protected:
89  Dt3DTextModelAgent* myTextModelAgent;
90  DtAttachableUpdaterAgent* myAttachableUpdater;
92  };
93 
98 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)