VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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/DtProjectedWidgetModelAgent.hpp>
16 #include <vrvCore/DtWidgetLabelAgent.hpp>
18 
19 class DtVector;
20 
21 namespace makVrv
22 {
23  class DtAttachableUpdaterAgent;
24 
30  {
31  public:
34  DtStateListener& listener, int modelSet);
35 
37  virtual ~Dt3DTextStateVisualizer();
38 
41  virtual void setLocation(const DtVector& loc);
42 
44  virtual void setColor(float r,float g,float b,float a);
45 
47  virtual void setFlashing(bool flashing);
48 
50  virtual void setText(const std::string& str);
51 
57  virtual void setAttached(DtUniqueID id, int vtx, double percentage);
58 
60  virtual void setHostId(const std::string& id, int vtx, double percentage);
61 
63  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
64 
66  static const DtStateVisualizer::TypeInfo& theTypeInfo();
67 
68  protected:
72  virtual void setVisible(bool yesNo);
73 
75  virtual void createModelAgents();
76 
84  virtual void destroyModelAgents();
85 
87  virtual void setModelDefinitionForAgents();
88 
89  protected:
90  DtWidgetLabelAgent* myTextWidgetAgent;
91  DtProjectedWidgetModelAgent* myTextModelAgent;
92  DtAttachableUpdaterAgent* myAttachableUpdater;
94  std::string myTextFont;
96  };
97 
102 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)