gwnavruntime/pathfollower/iavoidancefilter.h Source File

iavoidancefilter.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 SpatializedCylinder;
16 class Bot;
17 
20 {
23 };
24 
25 
27 class IAvoidanceFilter: public RefCountBase<IAvoidanceFilter, MemStat_PathFollowing>
28 {
30 
31 public:
32  // ------------------------------ Functions -----------------------------
33 
34  IAvoidanceFilter() {}
35  virtual ~IAvoidanceFilter() {}
36 
37  virtual AvoidanceFilterResult Filter(const Bot& referenceBot, const SpatializedCylinder& obstacle) = 0;
38 };
39 
40 } // namespace Kaim
41 
This class is the world element that represent an active character in Autodesk Navigation.
Definition: bot.h:128
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
AvoidanceFilterResult
Enumerated the possible results of a call toIAvoidanceFilter::Filter.
Definition: iavoidancefilter.h:19
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
Take the collider into account for Avoidance.
Definition: iavoidancefilter.h:22
Interface class for potential collider filtering classes.
Definition: iavoidancefilter.h:27
Internal representation of world elements, using a vertical cylinder shape.
Definition: spatializedcylinder.h:44
Ignore the collider for Avoidance.
Definition: iavoidancefilter.h:21