VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MassLabelVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
8 
9 namespace makVrv
10 {
11  class DtWidgetLabelAgent;
12  class DtProjectedWidgetModelAgent;
13 }
14 
16 
19 {
20 public:
21 
24  makVrv::DtStateListener& listener, int modelSet);
25 
27  virtual ~MassLabelVisualizer();
28 
31  virtual void createModelAgents();
32 
34  virtual void destroyModelAgents();
35 
37  virtual void updateMass(float mass);
38 
40  virtual const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
41 
44 
45 
46 protected:
47 
51  virtual void setModelDefinitionForAgents();
52 
53 protected:
54 
55  //A pointer to the model which attaches the widget to the scene object.
56  makVrv::DtProjectedWidgetModelAgent* myProjectedModel;
57 
58  //A pointer to the lable which will display text.
59  makVrv::DtWidgetLabelAgent* myLabel;
60 };
61 

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)