gwnavruntime/queries/raycangoonsegmentquery.h Source File

raycangoonsegmentquery.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
11 
12 namespace Kaim
13 {
14 
15 class NavHalfEdgeRawPtr;
16 class RawNavTagSubSegment;
17 
22 template<class TraverseLogic>
24 {
25 public:
26  // ------------------------------ Functions -----------------------------
27 
28  virtual void Advance(WorkingMemory* workingMemory)
29  {
30  PerformQuery(workingMemory);
31  m_processStatus = QueryDone;
32  }
33 
35  void PerformQuery(WorkingMemory* workingMemory = nullptr);
36 
37 public: // internal
38  void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
39 };
40 
41 }
42 
44 
45 
46 
47 
QueryProcessStatus m_processStatus
Modified by the query within Advance(). Do not modify.
Definition: iquery.h:231
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: raycangoonsegmentquery.h:28
void PerformQuery(WorkingMemory *workingMemory=nullptr)
If workingMemory param is nullptr, m_database.GetWorkingMemory() will be used.
Definition: raycangoonsegmentquery.inl:11
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
The RayCanGoOnSegmentQuery class tests whether or not a ray (with a width of 0) can pass along a stra...
Definition: raycangoonsegmentquery.h:23
Base class for RayCanGoOnSegmentQuery.
Definition: baseraycangoonsegmentquery.h:39