VR-Forces 4.1 Class Documentation
DtCuboidStateVisualizer.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
12 #include <vrvCore/DtAttachableCuboidModelAgent.hpp>
15 
16 class DtVector;
17 class DtTaitBryan;
18 
19 namespace makVrv
20 {
21  class DtAttachableDeadReckonUpdaterAgent;
22 
29  {
30  public:
33  DtStateListener& listener, int modelSet);
34 
36  virtual ~DtCuboidStateVisualizer();
37 
39  virtual void setDimensions(const DtVector& dim);
40 
42  virtual void setColor(float r,float g,float b,float a);
43 
45  virtual void setFlashing(bool flashing);
46 
49  virtual void setPosition(const DtVector& pos);
50 
52  virtual void setOrientation(const DtTaitBryan& orientation);
53 
59  virtual void setAttached(DtUniqueID id, int vtx, double percentage);
60 
62  virtual void setHostId(const std::string& id, int vtx, double percentage);
63 
65  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
66 
68  static const DtStateVisualizer::TypeInfo& theTypeInfo();
69 
70  protected:
71  virtual void setVisible(bool yesNo);
72 
73  virtual void createModelAgents();
74 
75  virtual void destroyModelAgents();
76 
77  virtual void setModelDefinitionForAgents();
78 
79  protected:
80  DtAttachableCuboidModelAgent* myCuboidModelAgent;
81  DtAttachableDeadReckonUpdaterAgent* myAttachedUpdaterAgent;
83  };
84 
89 }
90 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)