gwnavruntime/pathfollower/iavoidancefilter.h Source File

iavoidancefilter.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 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 // primary contact: MUBI - secondary contact: LAPA
8 #ifndef Navigation_IAvoidanceFilter_H
9 #define Navigation_IAvoidanceFilter_H
10 
13 
14 namespace Kaim
15 {
16 
17 class SpatializedCylinder;
18 class Bot;
19 
22 {
25 };
26 
27 
29 class IAvoidanceFilter: public RefCountBase<IAvoidanceFilter, MemStat_PathFollowing>
30 {
32 
33 public:
34  // ---------------------------------- Public Member Functions ----------------------------------
35 
36  IAvoidanceFilter() {}
37  virtual ~IAvoidanceFilter() {}
38 
39  virtual AvoidanceFilterResult Filter(const Bot& referenceBot, const SpatializedCylinder& obstacle) = 0;
40 };
41 
42 } // namespace Kaim
43 
44 #endif // Navigation_IAvoidanceFilter_H
This class is the world element that represent an active character in Gameware Navigation.
Definition: bot.h:150
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
AvoidanceFilterResult
Enumerated the possible results of a call toIAvoidanceFilter::Filter.
Definition: iavoidancefilter.h:21
Definition: gamekitcrowddispersion.h:20
Take the collider into account for Avoidance.
Definition: iavoidancefilter.h:24
Interface class for potential collider filtering classes.
Definition: iavoidancefilter.h:29
Internal representation of world elements, using a vertical cylinder shape.
Definition: spatializedcylinder.h:56
Ignore the collider for Avoidance.
Definition: iavoidancefilter.h:23