VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDetonationLineVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
13 
14 #pragma once
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
20  class DtAttachableUpdaterAgent;
21  class Dt3DSegmentedLineModelAgent;
22  class DtProjectedWidgetModelAgent;
23  class DtWidgetAgent;
24 
29  {
30  public:
31 
34  DtStateListener& listener, int modelSet);
35 
37  virtual ~DtDetonationLineVisualizer();
38 
40  virtual void setEnabled(bool b);
41 
43  bool enabled() const;
44 
46  virtual void setParent(DtStateVisualizer*);
47 
49  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
50 
52  static const DtStateVisualizer::TypeInfo& theTypeInfo();
53 
54  protected:
55 
56  virtual void createModelAgents();
57  virtual void destroyModelAgents();
58 
59  virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
60 
61  virtual void setModelDefinitionForAgents();
62  virtual DtVector lineColor() const;
63 
64  protected:
65  double myLifeTime;
66  bool myEnabled;
68  DtProjectedWidgetModelAgent* myProjectedWidgetModelAgent;
69  DtWidgetAgent* myDetonationIconAgent;
70  Dt3DSegmentedLineModelAgent* myLineAgent;
71  DtAttachableUpdaterAgent* myAttachableUpdater;
72  bool myOcclude;
73  };
74 
79 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)