gwnavruntime/pathfollower/collidercollectorconfig.h Source File

collidercollectorconfig.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: LAPA - secondary contact: GUAL
8 #ifndef Navigation_ColliderCollectorConfig_H
9 #define Navigation_ColliderCollectorConfig_H
10 
11 
13 
14 
15 namespace Kaim
16 {
17 
20 {
22 
23 public:
25 
27  void SetDefaults()
28  {
32  }
33 
34  bool operator==(const ColliderCollectorConfig& other) const
35  {
39  }
40 
41  bool operator!=(const ColliderCollectorConfig& other) const
42  {
43  return !operator==(other);
44  }
45 
46 public:
47  // ---------------------------------- Potential Collider Collection Parameters ----------------------------------
48 
52 
56 
60 };
61 
62 inline void SwapEndianness(Endianness::Target e, ColliderCollectorConfig& self)
63 {
64  SwapEndianness(e, self.m_colliderCollectorRadius);
65  SwapEndianness(e, self.m_colliderCollectorHalfHeight);
66  SwapEndianness(e, self.m_colliderCollectorFramesBetweenUpdates);
67 }
68 
69 
70 } // namespace Kaim
71 
72 #endif // Navigation_ColliderCollectorConfig_H
Class that configures how the Bot collects colliders (other bots, obstacles) around.
Definition: collidercollectorconfig.h:19
KyUInt32 m_colliderCollectorFramesBetweenUpdates
Defines the number of frames between two consecutive collection of potential colliders.
Definition: collidercollectorconfig.h:65
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
KyFloat32 m_colliderCollectorRadius
Defines the radius around the Bot in which potential colliders will be collected. ...
Definition: collidercollectorconfig.h:57
void SetDefaults()
Sets all members to their default value.
Definition: collidercollectorconfig.h:28
KyFloat32 m_colliderCollectorHalfHeight
Defines the height above and below the Bot altitude in which potential colliders will be collected...
Definition: collidercollectorconfig.h:61
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43