gwnavruntime/channel/bubblearray.h Source File
Go to the documentation of this file.
18 class DisplayListManager;
19 class BubbleArrayDisplayConfig;
33 void PushBack(
const Bubble& bubble);
47 void SendVisualDebug(
DisplayListManager* displayListManager,
const BubbleArrayDisplayConfig& displayConfig,
const char* listBaseName =
"",
54 KY_INLINE BubbleArray::BubbleArray() {}
55 KY_INLINE BubbleArray::~BubbleArray(){ Clear(); }
57 KY_INLINE
void BubbleArray::Clear() { m_bubbleArray.Clear(); }
58 KY_INLINE
void BubbleArray::Reserve(
KyUInt32 bubbleCount) { m_bubbleArray.Reserve(bubbleCount); }
59 KY_INLINE
void BubbleArray::Resize(
KyUInt32 bubbleCount) { m_bubbleArray.Resize(bubbleCount); }
60 KY_INLINE
void BubbleArray::PushBack(
const Bubble& bubble) { m_bubbleArray.PushBack(bubble); }
61 KY_INLINE
void BubbleArray::Append(
const BubbleArray& other) { m_bubbleArray.Append(other.m_bubbleArray); }
62 KY_INLINE
bool BubbleArray::IsEmpty()
const {
return m_bubbleArray.IsEmpty(); }
63 KY_INLINE
KyUInt32 BubbleArray::GetCount()
const {
return m_bubbleArray.GetCount(); }
64 KY_INLINE Bubble& BubbleArray::At(
KyUInt32 nodeIdx) {
return m_bubbleArray.At(nodeIdx); }
65 KY_INLINE
const Bubble& BubbleArray::At(
KyUInt32 nodeIdx)
const {
return m_bubbleArray.At(nodeIdx); }
66 KY_INLINE Bubble& BubbleArray::operator[](
KyUInt32 nodeIdx) {
return m_bubbleArray[nodeIdx]; }
67 KY_INLINE
const Bubble& BubbleArray::operator[](
KyUInt32 nodeIdx)
const {
return m_bubbleArray[nodeIdx]; }
70 class BubbleArrayPersistentDisplayListIds
73 BubbleArrayPersistentDisplayListIds();
74 ~BubbleArrayPersistentDisplayListIds() {}
76 void Initialize(DisplayListManager* displayListManager);
80 DisplayListManager* m_displayListManager;
87 class BubbleArrayDisplayConfig
90 BubbleArrayDisplayConfig() { SetDefaults(); }
94 Color m_bubbleColor_CCW;
95 Color m_bubbleColor_CW;
96 Color m_bubbleIdxColor;
101 BubbleArrayPersistentDisplayListIds m_persistentDisplayListIds;
Game side: Manages all DisplayListData, send them to the NavigationLab.
Definition: displaylist.h:375
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
This class encapsulate an array of Bubbles.
Definition: bubblearray.h:22
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:162
This class represents a circle with potential rotation limitation.
Definition: bubble.h:31
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define KyUInt32MAXVAL
KyUInt32 max value
Definition: types.h:68
float KyFloat32
float
Definition: types.h:32