VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEntityTrackHistoryVisualizer.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 
13 
14 namespace makVrv
15 {
16 
17  class DtRibbonModelAgent;
18  class DtTrackHistoryUpdaterAgent;
19 
25  {
26  public:
27 
30  DtStateListener& listener, int modelSet );
31 
34 
36  virtual void setTrackHistoryEnabled( bool );
37 
39  bool trackHistoryEnabled() const;
40 
42  virtual bool active() const;
43 
45  virtual void setColor( float r, float g, float b, float alpha );
46 
48  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
49 
51  static const DtStateVisualizer::TypeInfo& theTypeInfo();
52 
53  protected:
54 
57  void setEmbarked( bool b );
58 
61  virtual void updateActivity();
62 
64  virtual void createModelAgents();
65 
67  virtual void destroyModelAgents();
68 
70  virtual void updateColor();
71 
73  virtual void setModelDefinitionForAgents();
74 
76  virtual void setVisualizerDefinition( const DtVisualizerDefinition& visDef );
77 
81 
82  virtual void slot_trackHistoryRibbonSpacingChanged( float spacing );
83  virtual void slot_trackHistoryRibbonLengthChanged( int maxSamples );
84  virtual void slot_trackHistoryRibbonInfiniteChanged( bool isInfinite );
85  virtual void slot_listenerHostGlobalIdSet( const std::string& hostId );
86 
88 
89  protected:
90 
91  DtRibbonModelAgent* myTrackHistory;
92  DtTrackHistoryUpdaterAgent* myTrackHistoryUpdater;
97  bool myEmbarked;
99  bool myColorSet;
100  float myColor[4];
101 
102  };
103 
104 
108 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)