VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEllipsoidStateVisualizer.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
11 #include <vrvCore/vrvCore.h>
12 #include <vrvCore/DtAttachableEllipsoidModelAgent.hpp>
16 #include <matrix/vlVector.h>
17 
18 class DtTaitBryan;
19 
20 namespace makVrv
21 {
22  class DtAttachableUpdaterAgent;
23 
28  public DtSceneObjectVisualizer ,
30  {
31  public:
34  DtStateListener& listener, int modelSet);
35 
37  virtual ~DtEllipsoidStateVisualizer();
38 
40  virtual void setDimensions(const DtVector& dim);
41 
43  virtual void setColor(float r,float g,float b,float a);
44 
46  virtual void setFlashing(bool flashing);
47 
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:
72  virtual void setVisible(bool yesNo);
73 
74  virtual void createModelAgents();
75 
76  virtual void destroyModelAgents();
77 
78  virtual void setModelDefinitionForAgents();
79 
80  protected:
81  DtAttachableEllipsoidModelAgent* myEllipsoidModelAgent;
82  DtAttachableUpdaterAgent* myAttachableUpdater;
84  };
85 
90 }

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)