VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCuboidStateVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
12 #include <vrvCore/DtAttachableCuboidModelAgent.hpp>
15 
16 class DtTaitBryan;
17 
18 namespace makVrv
19 {
20  class DtAttachableUpdaterAgent;
21 
28  {
29  public:
32  DtStateListener& listener, int modelSet);
33 
35  virtual ~DtCuboidStateVisualizer();
36 
38  virtual void setDimensions(const DtVector& dim);
39 
41  virtual void setColor(float r,float g,float b,float a);
42 
44  virtual void setFlashing(bool flashing);
45 
48  virtual void setPosition(const DtVector& pos);
49 
51  virtual void setOrientation(const DtTaitBryan& orientation);
52 
58  virtual void setAttached(DtUniqueID id, int vtx, double percentage);
59 
61  virtual void setHostId(const std::string& id, int vtx, double percentage);
62 
64  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
65 
67  static const DtStateVisualizer::TypeInfo& theTypeInfo();
68 
69  protected:
70  virtual void setVisible(bool yesNo);
71 
72  virtual void createModelAgents();
73 
74  virtual void destroyModelAgents();
75 
76  virtual void setModelDefinitionForAgents();
77 
78  protected:
79  DtAttachableCuboidModelAgent* myCuboidModelAgent;
80  DtAttachableUpdaterAgent* myAttachedUpdaterAgent;
82  };
83 
88 }
89 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)