VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCigiIntersectionHandler.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtCigiIntersectionHandler.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
12 
13 #ifndef DtCigiIntersectionHandler_H_
14 #define DtCigiIntersectionHandler_H_
15 
16 #include <vrvCigi/vrvCigi.h>
17 
18 #include <vrvCore/DtUniqueID.h>
19 
21 
22 #include <matrix/vlVector.h>
23 
24 namespace makVrv
25 {
26  class DtDe;
27  class DtCigiDriver;
28  class DtCigiConnection;
29 
37  {
38  public:
41 
43  virtual ~DtCigiIntersectionHandler();
44 
45  protected:
48  virtual void slot_onHatHotRequest(DtUniqueID entityId,
49  const DtVector& localPosition, unsigned int hotId,
50  bool hatRequested, unsigned int lastHostFrameNumber);
51 
65  virtual void performHatHotRequest(DtUniqueID entityId,
66  const DtVector& localPosition, unsigned int hotId,
67  bool hatRequested, unsigned int lastHostFrameNumber);
68 
71  virtual void slot_onLineOfSightRequest(DtUniqueID srcId,
72  const DtVector& srcLocation, DtUniqueID dstId,
73  const DtVector& dstLocation, int losId, int hostFrame);
74 
90  virtual void performLineOfSightRequest(DtUniqueID srcId,
91  const DtVector& srcLocation, DtUniqueID dstId,
92  const DtVector& dstLocation, int losId, int hostFrame);
93 
100  virtual void setDatabaseCoordinateFromEntity(DtUniqueID entity,
101  const DtVector& entityCoord, DtVector& databaseCoord);
102 
107  virtual double groundHeight(const DtVector& currentLocal, bool& foundIntersection);
108 
118  virtual void generateLosResponse(int losId, DtUniqueID entityId,
119  bool visible, double range, int responseCount, int hostFrame);
120 
129  virtual void generateHatHotResponse(double height, unsigned int hotId, bool hat,
130  unsigned int lastFrame, bool valid);
131  protected:
135  };
136 }
137 
138 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)