VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtIntervisibilityLineVisualizer.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 
12 #include <vrvCore/vrvCore.h>
14 
15 class DtVector;
16 
17 namespace makVrv
18 {
19  class DtIntervisibilityLineStateListener;
20  class DtSegmentedLineModelAgent;
21  class DtAttachableIntervisibilityUpdaterAgent;
22 
28  {
29  public:
32  DtStateListener& listener, int modelSet);
33 
36 
38  virtual void setVisibleColor(float r, float g, float b, float a);
39 
41  virtual void setBlockedColor(float r, float g, float b, float a);
42 
45  virtual void setStartPoint(const DtVector&);
46 
49  virtual void setEndPoint(const DtVector&);
50 
53  virtual void setStartAttachPoint(DtElementID);
54 
56  virtual void setStartPointOffset(const DtVector&);
57 
60  virtual void setEndAttachPoint(DtElementID);
61 
63  virtual void setEndPointOffset(const DtVector&);
64 
66  virtual void setSelected( bool b );
67 
69  virtual void resetSpatial();
70 
73  virtual void createModelAgents();
74 
75  protected:
77  virtual void destroyModelAgents();
78 
81  virtual void setModelDefinitionForAgents();
82 
84  virtual DtSegmentedLineModelAgent* createLineAgent() = 0;
85 
86  protected:
88  DtSegmentedLineModelAgent* myLineModelAgent;
89  DtAttachableIntervisibilityUpdaterAgent* myAttachableUpdaterAgent;
90  };
91 }
92 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)