VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 #include <matrix/vlVector.h>
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  DtSceneObjectAgent* sceneObject, int modelSet );
37 
40 
42  virtual void setVisibleColor(float r, float g, float b, float a);
43 
45  virtual void setBlockedColor(float r, float g, float b, float a);
46 
49  virtual void setStartPoint(const DtVector&);
50 
53  virtual void setEndPoint(const DtVector&);
54 
57  virtual void setStartAttachPoint(DtElementID);
58 
60  virtual void setStartPointOffset(const DtVector&);
61 
64  virtual void setEndAttachPoint(DtElementID);
65 
67  virtual void setEndPointOffset(const DtVector&);
68 
71  virtual void slot_setSelected(bool) override;
72 
74  virtual void resetSpatial();
75 
78  virtual void createModelAgents();
79 
80  protected:
82  virtual void destroyModelAgents();
83 
86  virtual void setModelDefinitionForAgents();
87 
89  virtual DtSegmentedLineModelAgent* createLineAgent() = 0;
90 
91  protected:
93  DtSegmentedLineModelAgent* myLineModelAgent;
94  DtAttachableIntervisibilityUpdaterAgent* myAttachableUpdaterAgent;
95  };
96 }
97 
DtIntervisibilityLineVisualizer display an intervisibility line drawn as geometry in the scene withou...
Definition: DtIntervisibilityLineVisualizer.h:26
Contains makVrv:DtSceneObjectVisualizer class. This class wraps the visualization of scene objects...
The DtIntervisibilityLineStateListener will contain information about intervisibility objectss and si...
Definition: DtIntervisibilityLineStateListener.h:29
DtSegmentedLineModelAgent * myLineModelAgent
Definition: DtIntervisibilityLineVisualizer.h:93
Base class for visualizing generic objects in the scene.
Definition: DtSceneObjectVisualizer.h:24
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtIntervisibilityLineStateListener & myLineListener
Definition: DtIntervisibilityLineVisualizer.h:92
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:25
DtAttachableIntervisibilityUpdaterAgent * myAttachableUpdaterAgent
Definition: DtIntervisibilityLineVisualizer.h:94
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)