VR-Forces 4.10 Class Documentation
 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 
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 
DtIntervisibilityLineVisualizer display an intervisibility line drawn as geometry in the scene withou...
Definition: DtIntervisibilityLineVisualizer.h:26
Contains makVrv:DtSceneObjectVisualizer class.
The DtIntervisibilityLineStateListener will contain information about intervisibility objectss and si...
Definition: DtIntervisibilityLineStateListener.h:29
DtSegmentedLineModelAgent * myLineModelAgent
Definition: DtIntervisibilityLineVisualizer.h:88
Base class for visualizing generic objects in the scene.
Definition: DtSceneObjectVisualizer.h:24
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:34
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtIntervisibilityLineStateListener & myLineListener
Definition: DtIntervisibilityLineVisualizer.h:87
The DtStateListener is an abstract class.
Definition: DtStateListener.h:21
DtAttachableIntervisibilityUpdaterAgent * myAttachableUpdaterAgent
Definition: DtIntervisibilityLineVisualizer.h:89
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)