VR-Forces 4.1.1 Class Documentation
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 class DtVector;
23 
24 namespace makVrv
25 {
26  class DtDe;
27  class DtCigiDriver;
28  class DtCigiConnection;
29 
37  {
38  public:
41  DtCigiConnection& connection, bool usingThread);
42 
44  virtual ~DtCigiIntersectionHandler();
45 
46  protected:
49  virtual void slot_onHatHotRequest(DtUniqueID entityId,
50  const DtVector& localPosition, unsigned int hotId,
51  bool hatRequested, unsigned int lastHostFrameNumber);
52 
66  virtual void performHatHotRequest(DtUniqueID entityId,
67  const DtVector& localPosition, unsigned int hotId,
68  bool hatRequested, unsigned int lastHostFrameNumber);
69 
72  virtual void slot_onLineOfSightRequest(DtUniqueID srcId,
73  const DtVector& srcLocation, DtUniqueID dstId,
74  const DtVector& dstLocation, int losId, int hostFrame);
75 
91  virtual void performLineOfSightRequest(DtUniqueID srcId,
92  const DtVector& srcLocation, DtUniqueID dstId,
93  const DtVector& dstLocation, int losId, int hostFrame);
94 
101  virtual void setDatabaseCoordinateFromEntity(DtUniqueID entity,
102  const DtVector& entityCoord, DtVector& databaseCoord);
103 
108  virtual double groundHeight(const DtVector& currentLocal, bool& foundIntersection);
109 
110  protected:
115  };
116 }
117 
118 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)