VR-Forces 4.5 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) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCigi/vrvCigi.h>
13 
14 #include <vrvCore/DtUniqueID.h>
15 
18 
19 #include <matrix/vlVector.h>
20 
21 namespace makVrv
22 {
23  class DtDe;
24  class DtCigiDriver;
25  class DtCigiConnection;
26 
34  {
35  public:
37 
39  virtual ~DtCigiIntersectionHandler();
40 
41  protected:
44 
47  virtual void slot_onHatHotRequest(DtUniqueID entityId,
48  const DtVector& localPosition, unsigned int hotId,
49  bool hatRequested, unsigned int lastHostFrameNumber);
50 
64  virtual void performHatHotRequest(DtUniqueID entityId,
65  const DtVector& localPosition, unsigned int hotId,
66  bool hatRequested, unsigned int lastHostFrameNumber);
67 
70  virtual void slot_onLineOfSightRequest(DtUniqueID srcId,
71  const DtVector& srcLocation, DtUniqueID dstId,
72  const DtVector& dstLocation, int losId, int hostFrame);
73 
89  virtual void performLineOfSightRequest(DtUniqueID srcId,
90  const DtVector& srcLocation, DtUniqueID dstId,
91  const DtVector& dstLocation, int losId, int hostFrame);
92 
99  virtual void setDatabaseCoordinateFromEntity(DtUniqueID entity,
100  const DtVector& entityCoord, DtVector& databaseCoord);
101 
106  virtual double groundHeight(const DtVector& currentLocal, bool& foundIntersection);
107 
117  virtual void generateLosResponse(int losId, DtUniqueID entityId,
118  bool visible, double range, int responseCount, int hostFrame);
119 
128  virtual void generateHatHotResponse(double height, unsigned int hotId, bool hat,
129  unsigned int lastFrame, bool valid);
130  protected:
134  };
135 
139  {
140  public:
143 
146 
148  static DtCigiIntersectionHandlerCreator& instance( DtDe& de );
149 
151  virtual DtCigiIntersectionHandler* create( DtCigiConnection& connection ) const;
152 
153  protected:
155  };
156 }
157 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)