9 #ifndef Navigation_InsidePosFromOutsidePosQuery_H
10 #define Navigation_InsidePosFromOutsidePosQuery_H
37 template<
class TraverseLogic>
38 class InsidePosFromOutsidePosQuery :
public BaseInsidePosFromOutsidePosQuery
80 virtual void Advance(WorkingMemory* workingMemory);
90 InsidePosFromOutsidePosQueryMode GetQueryMode()
const;
91 const Vec3f& GetInputPos()
const;
92 const Vec3f& GetInsidePos()
const;
93 const Vec2f& GetCastDirection()
const;
98 const PositionSpatializationRange& GetPositionSpatializationRange()
const;
101 void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
121 #endif //Navigation_InsidePosFromOutsidePosQuery_H
InsidePosFromOutsidePosQueryResult
Enumerates the possible results of an InsidePosFromOutsidePosQuery.
Definition: baseinsideposfromoutsideposquery.h:26
void SetPositionSpatializationRange(const PositionSpatializationRange &positionSpatializationRange)
Write accessor for m_positionSpatializationRange.
Definition: insideposfromoutsideposquery.inl:38
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
void PerformQuery(WorkingMemory *workingMemory=0)
Performs the query.
Definition: insideposfromoutsideposquery.inl:117
void SetHorizontalTolerance(KyFloat32 horizontalTolerance)
Write accessor for m_horizontalTolerance.
Definition: insideposfromoutsideposquery.inl:33
#define KY_NULL
Null value.
Definition: types.h:247
void BindToDatabase(Database *database)
Binds the query with the specified Database, clears all the inputs and outputs and sets all other par...
Definition: insideposfromoutsideposquery.inl:17
This class is a runtime container for all NavData that represents the world from the point of view of...
Definition: database.h:64
This class defines a two-dimensional vector whose coordinates are stored using floating-point numbers...
Definition: vec2f.h:24
Definition: gamekitcrowddispersion.h:20
void SetDistFromObstacle(KyFloat32 distFromObstacle)
Write accessor for m_distFromObstacle.
Definition: insideposfromoutsideposquery.inl:43
Utilities for dealing with NavData coordinates, which are expressed in a world space based on integer...
Definition: worldintegerpos.h:21
Each instance of this class uniquely identifies a single NavTriangle in a NavFloor.
Definition: navtriangleptr.h:22
void Initialize()
Should be called by the derived class before trying to perform the query or to push it in a QueryQueu...
Definition: iquery.h:372
The InsidePosFromOutsidePosQuery class finds a valid position inside the boundaries of the NavMesh...
Definition: insideposfromoutsideposquery.h:42
Each instance of this class uniquely identifies a singleNavHalfEdge in a NavFloor.
Definition: navhalfedgerawptr.h:34
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: insideposfromoutsideposquery.inl:109
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23