gwnavruntime/queries/tagvolumesfromposquery.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_TagVolumesFromPosQuery_H
10 #define Navigation_TagVolumesFromPosQuery_H
23 template <
class T>
class WorkingMemArray;
41 class TagVolumesFromPosQuery :
public IAtomicQuery
44 static QueryType GetStaticType() {
return TypeTagVolumesFromPos; }
45 virtual QueryType GetType()
const {
return TypeTagVolumesFromPos; }
49 TagVolumesFromPosQuery();
50 virtual ~TagVolumesFromPosQuery() {}
57 void BindToDatabase(Database* database);
69 void SetQueryDynamicOutput(QueryDynamicOutput* queryDynamicOutput);
73 void SetPositionSpatializationRange(
const PositionSpatializationRange& positionSpatializationRange);
77 virtual void Advance(WorkingMemory* workingMemory);
82 void PerformQuery(WorkingMemory* workingMemory =
KY_NULL);
87 const Vec3f& GetInputPos()
const;
88 QueryDynamicOutput* GetQueryDynamicOutput()
const;
90 const PositionSpatializationRange& GetPositionSpatializationRange()
const;
93 void SetInputIntegerPos(
const WorldIntegerPos& integerPos);
94 const WorldIntegerPos& GetInputIntegerPos()
const;
95 void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
99 void GetTagVolumesFromPos(WorkingMemory* workingMemory);
102 WorldIntegerPos m_inputIntegerPos;
110 Ptr<QueryDynamicOutput> m_queryDynamicOutput;
112 PositionSpatializationRange m_positionSpatializationRange;
123 #endif //Navigation_TagVolumesFromPosQuery_H
Indicates that the point provided is outside the navigable boundaries of the NavMesh.
Definition: tagvolumesfromposquery.h:32
Indicates that insufficient working memory caused the query to stop.
Definition: tagvolumesfromposquery.h:33
#define KY_NULL
Null value.
Definition: types.h:247
Indicates the query has not yet been initialized.
Definition: tagvolumesfromposquery.h:29
QueryType
Enumerates all the type of query.
Definition: iquery.h:29
TagVolumesFromPosQueryResult
Enumerates the possible results of a TagVolumesFromPosQuery.
Definition: tagvolumesfromposquery.h:27
Definition: gamekitcrowddispersion.h:20
Indicates that the query was completed successfully; a triangle was found.
Definition: tagvolumesfromposquery.h:35
Indicates that the query has not yet been initialized.
Definition: iquery.h:346
Indicates the query has not yet been launched.
Definition: tagvolumesfromposquery.h:30
Indicates that the query has not yet been launched.
Definition: iquery.h:347
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