28 template<
class TraverseLogic>
72 virtual void Advance(WorkingMemory* workingMemory);
75 void PerformQuery(WorkingMemory* workingMemory =
nullptr);
80 const Vec3f& GetStartPos()
const;
81 const Vec3f& GetSegmentStartPos()
const;
82 const Vec3f& GetSegmentEndPos()
const;
83 const Vec3f& GetArrivalPos()
const;
93 void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
95 void SetSegmentStartIntegerPos(
const WorldIntegerPos& segmentStartIntegerPos);
96 void SetSegmentEndIntegerPos(
const WorldIntegerPos& segmentEndIntegerPos);
104 CompositeSubSegment& subSegment, ScopedDynamicOutput& scopedDynamicOutput);
This class gather the data encountered along some query process.
Definition: querydynamicoutput.h:57
void SetDynamicOutputMode(DynamicOutputMode savingMode)
Write accessor for m_dynamicOutputMode.
Definition: raycastonsegmentquery.inl:38
Vertical range (above, below) that represents the altitude tolerance for a position to be inside the ...
Definition: positionspatializationrange.h:17
RayCastOnSegmentQueryResult
Enumerates the possible results of a RayCastOnSegmentQuery.
Definition: baseraycastonsegmentquery.h:27
2d vector using KyInt64
Definition: vec2ll.h:18
void SetPositionSpatializationRange(const PositionSpatializationRange &positionSpatializationRange)
Write accessor for m_positionSpatializationRange.
Definition: raycastonsegmentquery.inl:33
void SetQueryDynamicOutput(QueryDynamicOutput *queryDynamicOutput)
Write accessor for m_queryDynamicOutput.
Definition: raycastonsegmentquery.inl:43
DynamicOutputMode
Enumerates possible ways of storing collected data by a query in a QueryDynamicOutput object...
Definition: querydynamicoutput.h:21
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: raycastonsegmentquery.inl:26
This class is a runtime container for all NavData that represents the world from the point of view of...
Definition: database.h:57
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
void BindToDatabase(Database *database)
Binds the query with the specified Database, clears all the inputs and outputs and sets all other par...
Definition: raycastonsegmentquery.inl:14
void PerformQuery(WorkingMemory *workingMemory=nullptr)
If workingMemory param is nullptr, m_database.GetWorkingMemory() will be used.
Definition: raycastonsegmentquery.inl:97
Base class for RayCastOnSegmentQuery.
Definition: baseraycastonsegmentquery.h:45
Utilities for dealing with NavData coordinates, which are expressed in a world space based on integer...
Definition: worldintegerpos.h:19
This class is an helper used internally by the Queries to factorize Code that is used in many Queries...
Definition: queryutils.h:28
Each instance of this class uniquely identifies a single NavTriangle in a NavFloor.
Definition: navtriangleptr.h:17
The RayCastOnSegmentQuery class tests whether a ray (with a width of 0) can be cast from a starting p...
Definition: raycastonsegmentquery.h:29
void Initialize()
Should be called by the derived class prior to perform the query or to push it in a QueryQueue...
Definition: iquery.h:220
Each instance of this class uniquely identifies a single NavHalfEdge in a NavFloor.
Definition: navhalfedgerawptr.h:23
float KyFloat32
float
Definition: types.h:32
3d vector using 32bits floating points.
Definition: vec3f.h:16