载入中...
搜索中...
未找到

#include <CrowdInternal.h>

类

struct  AdvanceGuard
 
struct  AvoidanceNeighbor
 
struct  ContactDelta
 
struct  ContactPair
 
struct  FlowCacheEntry
 
struct  MotionBackup
 
struct  PreferredFlow
 
struct  RegistryEntry
 
struct  SchedulerFailure
 

Public 类型

using TieKey = CrowdTieKey
 

Public 成员函数

void dispatchWork (std::size_t items, const std::function< void(std::size_t, std::size_t)> &body)
 
void applyAgentUpdate (const AgentUpdate &update, std::size_t slot)
 
 Impl ()
 
void reserveAgentAppend ()
 
void appendAgentIdentity (int denseIndex)
 
void eraseAgentIdentity (int denseIndex)
 
void clearAgentIdentities ()
 
int resolveAgent (AgentRef reference) const noexcept
 
Result< std::vector< FlowCacheEntry > > stageFlowCache (std::uint64_t budget, std::uint64_t bytes, size_t count) const
 Stage cache metadata and deterministic unleased evictions without live mutation. @ownership Returns owning metadata, retaining immutable fields. @thread Owner thread only. @cost Bounded scan/copy of at most 10000 entries, amortized per cache publication/configuration.
 
FlowLease leaseFor (FlowCacheEntry &entry)
 
bool isFlowLeaseCurrent (const FlowLease &lease) const noexcept
 
bool validId (int id) const
 
bool isMovementCompatible (size_t index) const
 
int navigationMismatchCount () const noexcept
 
const CrowdField * navigationField (size_t index) const noexcept
 Observe the selected compatible built field, or null when unavailable. @ownership Borrowed read-only pointer; never delete or retain across frames/tasks. @lifetime Valid only in the current owner-thread phase until lease/default-field mutation or Crowd destruction. @thread Owner thread only. @reentrancy No callbacks.
 
bool canContact (size_t a, size_t b) const
 
bool canAvoid (size_t a, size_t b) const
 
void spendPreferredWork (std::int64_t amount)
 
void preparePreferredNeighbors ()
 
void preparePreferredVelocities (float dt)
 
void rebuildGrid ()
 
template<typename Fn >
void forEachNeighbor (float qx, float qy, float radius, Fn &&fn, StepReport *partitionReport=nullptr) const
 
void stepAgents (float dt)
 
void prepareAvoidanceNeighbors ()
 
void selectAvoidanceVelocity (size_t index, float dt, float &vx, float &vy)
 
float resolveOverlapsPass ()
 
void resolveWalls ()
 

静态 Public 成员函数

static std::uint64_t retainedFlowBytes (const CrowdField &value)
 
static bool isFlowKeyBefore (const FlowCacheEntry &a, const FlowCacheEntry &b)
 

Public 属性

CrowdExecution execution = CrowdExecution::Serial
 
std::shared_ptr< CrowdWorkScheduler > workScheduler
 
std::uint64_t owner
 
std::vector< RegistryEntry > registry
 
std::vector< std::uint32_t > denseToRegistry
 
std::vector< std::uint32_t > freeRegistry
 
CrowdField field
 
NavigationSurfaceStamp surfaceStamp
 
std::vector< FlowCacheEntry > flowCache
 
std::uint64_t flowCacheBudget = 64 * 1024 * 1024
 
std::uint64_t nextFlowGeneration = 1
 
struct eve::crowd::Crowd::Impl::MotionBackup rollback
 
SimulationTick tick
 
Duration elapsed
 
std::optional< ClockAuthority > clock
 
AdvanceBudget activeBudget
 
bool budgetActive = false
 
float defaultSpeed = 120.f
 
float defaultRadius = 6.f
 
float defaultTurnRate = 6.f
 
float arriveRadius = 64.f
 
float sepRadius = 28.f
 
float perceiveRadius = 64.f
 
float sepWeight = 1.f
 
float alignWeight = 0.f
 
float cohesionWeight = 0.f
 
float wanderWeight = 0.f
 
float goalWeight = 1.f
 
bool resolveOverlaps = true
 
bool clampToField = true
 
int maxAgents = 100000
 
float simTime = 0.f
 
AvoidanceSettings avoidance
 
std::int64_t avoidanceChecks = 0
 
int avoidanceTruncations = 0
 
StepReport workReport
 
float avoidanceMaxSpeed = 0.f
 
float avoidanceMaxRadius = 0.f
 
std::vector< std::vector< AvoidanceNeighbor > > predictionNeighbors
 Per-step avoidance neighbor scratch space. @cost Linear in checked neighbors and bounded by avoidance work limits.
 
std::vector< float > xs
 SOA agent storage, indexed by compact slot id. @cost Linear in agent count; mutation keeps all owned vectors aligned.
 
std::vector< float > ys
 
std::vector< float > headings
 
std::vector< float > vxs
 
std::vector< float > vys
 
std::vector< float > speeds
 
std::vector< float > nextVxs
 
std::vector< float > nextVys
 
std::vector< float > correctionXs
 
std::vector< float > correctionYs
 
std::vector< float > preferredVxs
 
std::vector< float > preferredVys
 
std::vector< float > arriveFactors
 
std::vector< float > radii
 
std::vector< float > maxSpeeds
 
std::vector< float > maxAccels
 
std::vector< float > turnRates
 
std::vector< int32_t > actions
 
std::vector< int32_t > datas
 
std::vector< int32_t > avoidancePriorities
 
std::vector< uint8_t > hasTargets
 
std::vector< InteractionPolicy > interactions
 
std::vector< MovementBinding > movements
 
std::vector< FlowLease > flows
 
std::vector< float > targetXs
 
std::vector< float > targetYs
 
std::vector< float > wanderPhases
 
std::vector< std::string > stableIds
 
std::vector< TieKey > tieKeys
 
std::unordered_map< std::uint64_t, int > namedTieKeys
 
std::uint64_t nextAnonymousTieKey = 1
 
std::unordered_map< std::string, int > namedAgents
 
CrowdSpatialIndex spatialIndex
 
std::vector< ContactPair > contactPairs
 
std::vector< ContactDelta > contactDeltas
 
std::vector< std::size_t > incidentStarts
 
std::vector< std::size_t > incidentPairs
 
std::vector< std::size_t > pairCounts
 
std::vector< std::size_t > pairStarts
 
std::vector< std::size_t > preferredCounts
 
std::vector< std::size_t > preferredStarts
 
std::vector< int > preferredNeighbors
 
std::vector< PreferredFlow > preferredFlows
 

详细描述

在文件 CrowdInternal.h 第 74 行定义.

成员类型定义说明

◆ TieKey

构造及析构函数说明

◆ Impl()

eve::crowd::Crowd::Impl::Impl ( )

在文件 CrowdRegistry.cpp 第 21 行定义.

成员函数说明

◆ appendAgentIdentity()

void eve::crowd::Crowd::Impl::appendAgentIdentity ( int  denseIndex)

在文件 CrowdRegistry.cpp 第 72 行定义.

引用了 index , 以及 registry.

◆ applyAgentUpdate()

◆ canAvoid()

bool eve::crowd::Crowd::Impl::canAvoid ( size_t  a,
size_t  b 
) const
inline

在文件 CrowdInternal.h 第 231 行定义.

引用了 a, b , 以及 interactions.

被这些函数引用 prepareAvoidanceNeighbors().

◆ canContact()

bool eve::crowd::Crowd::Impl::canContact ( size_t  a,
size_t  b 
) const
inline

在文件 CrowdInternal.h 第 227 行定义.

引用了 a, b , 以及 interactions.

被这些函数引用 prepareAvoidanceNeighbors() , 以及 resolveOverlapsPass().

◆ clearAgentIdentities()

void eve::crowd::Crowd::Impl::clearAgentIdentities ( )

在文件 CrowdRegistry.cpp 第 102 行定义.

◆ dispatchWork()

void eve::crowd::Crowd::Impl::dispatchWork ( std::size_t  items,
const std::function< void(std::size_t, std::size_t)> &  body 
)

◆ eraseAgentIdentity()

void eve::crowd::Crowd::Impl::eraseAgentIdentity ( int  denseIndex)

◆ forEachNeighbor()

template<typename Fn >
void eve::crowd::Crowd::Impl::forEachNeighbor ( float  qx,
float  qy,
float  radius,
Fn &&  fn,
StepReport *  partitionReport = nullptr 
) const
inline

◆ isFlowKeyBefore()

bool eve::crowd::Crowd::Impl::isFlowKeyBefore ( const FlowCacheEntry &  a,
const FlowCacheEntry &  b 
)
static

在文件 CrowdFlowCache.cpp 第 44 行定义.

引用了 a, b , 以及 s.

◆ isFlowLeaseCurrent()

bool eve::crowd::Crowd::Impl::isFlowLeaseCurrent ( const FlowLease &  lease) const
inlinenoexcept

◆ isMovementCompatible()

bool eve::crowd::Crowd::Impl::isMovementCompatible ( size_t  index) const
inline

◆ leaseFor()

◆ navigationField()

const CrowdField * eve::crowd::Crowd::Impl::navigationField ( size_t  index) const
inlinenoexcept

Observe the selected compatible built field, or null when unavailable. @ownership Borrowed read-only pointer; never delete or retain across frames/tasks. @lifetime Valid only in the current owner-thread phase until lease/default-field mutation or Crowd destruction. @thread Owner thread only. @reentrancy No callbacks.

在文件 CrowdInternal.h 第 221 行定义.

引用了 field, flows, index, eve::crowd::CrowdField::isBuilt() , 以及 isMovementCompatible().

◆ navigationMismatchCount()

int eve::crowd::Crowd::Impl::navigationMismatchCount ( ) const
inlinenoexcept

在文件 CrowdInternal.h 第 209 行定义.

引用了 actions, count, eve::crowd::Flow, index , 以及 isMovementCompatible().

◆ prepareAvoidanceNeighbors()

◆ preparePreferredNeighbors()

void eve::crowd::Crowd::Impl::preparePreferredNeighbors ( )

在文件 CrowdPreferred.cpp 第 12 行定义.

引用了 actions, cursor, dx, dy, EV_ASSERT , 以及 n.

◆ preparePreferredVelocities()

void eve::crowd::Crowd::Impl::preparePreferredVelocities ( float  dt)

◆ rebuildGrid()

◆ reserveAgentAppend()

void eve::crowd::Crowd::Impl::reserveAgentAppend ( )

◆ resolveAgent()

int eve::crowd::Crowd::Impl::resolveAgent ( AgentRef  reference) const
noexcept

在文件 CrowdRegistry.cpp 第 106 行定义.

引用了 owner, reference , 以及 registry.

◆ resolveOverlapsPass()

◆ resolveWalls()

void eve::crowd::Crowd::Impl::resolveWalls ( )

在文件 CrowdSimulation.cpp 第 99 行定义.

引用了 dx, dy, height, radii , 以及 width.

◆ retainedFlowBytes()

std::uint64_t eve::crowd::Crowd::Impl::retainedFlowBytes ( const CrowdField &  value)
static

在文件 CrowdFlowCache.cpp 第 38 行定义.

引用了 value.

被这些函数引用 eve::crowd::Crowd::acquireFlowField().

◆ selectAvoidanceVelocity()

◆ spendPreferredWork()

void eve::crowd::Crowd::Impl::spendPreferredWork ( std::int64_t  amount)

◆ stageFlowCache()

Result< std::vector< Crowd::Impl::FlowCacheEntry > > eve::crowd::Crowd::Impl::stageFlowCache ( std::uint64_t  budget,
std::uint64_t  bytes,
size_t  count 
) const

Stage cache metadata and deterministic unleased evictions without live mutation. @ownership Returns owning metadata, retaining immutable fields. @thread Owner thread only. @cost Bounded scan/copy of at most 10000 entries, amortized per cache publication/configuration.

在文件 CrowdFlowCache.cpp 第 53 行定义.

引用了 bytes, count , 以及 eve::PreconditionViolation.

◆ stepAgents()

void eve::crowd::Crowd::Impl::stepAgents ( float  dt)

在文件 CrowdSimulation.cpp 第 23 行定义.

引用了 actions, dt, first, n , 以及 radii.

◆ validId()

bool eve::crowd::Crowd::Impl::validId ( int  id) const
inline

在文件 CrowdInternal.h 第 198 行定义.

引用了 actions.

类成员变量说明

◆ actions

std::vector<int32_t> eve::crowd::Crowd::Impl::actions

◆ activeBudget

◆ alignWeight

float eve::crowd::Crowd::Impl::alignWeight = 0.f

在文件 CrowdInternal.h 第 139 行定义.

◆ arriveFactors

std::vector<float> eve::crowd::Crowd::Impl::arriveFactors

在文件 CrowdInternal.h 第 169 行定义.

◆ arriveRadius

float eve::crowd::Crowd::Impl::arriveRadius = 64.f

在文件 CrowdInternal.h 第 135 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ avoidance

AvoidanceSettings eve::crowd::Crowd::Impl::avoidance

在文件 CrowdInternal.h 第 147 行定义.

被这些函数引用 prepareAvoidanceNeighbors() , 以及 selectAvoidanceVelocity().

◆ avoidanceChecks

std::int64_t eve::crowd::Crowd::Impl::avoidanceChecks = 0

在文件 CrowdInternal.h 第 148 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ avoidanceMaxRadius

float eve::crowd::Crowd::Impl::avoidanceMaxRadius = 0.f

在文件 CrowdInternal.h 第 151 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ avoidanceMaxSpeed

float eve::crowd::Crowd::Impl::avoidanceMaxSpeed = 0.f

在文件 CrowdInternal.h 第 151 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ avoidancePriorities

std::vector<int32_t> eve::crowd::Crowd::Impl::avoidancePriorities

在文件 CrowdInternal.h 第 171 行定义.

被这些函数引用 resolveOverlapsPass() , 以及 selectAvoidanceVelocity().

◆ avoidanceTruncations

int eve::crowd::Crowd::Impl::avoidanceTruncations = 0

◆ budgetActive

◆ clampToField

bool eve::crowd::Crowd::Impl::clampToField = true

在文件 CrowdInternal.h 第 144 行定义.

被这些函数引用 selectAvoidanceVelocity().

◆ clock

std::optional<ClockAuthority> eve::crowd::Crowd::Impl::clock

在文件 CrowdInternal.h 第 128 行定义.

◆ cohesionWeight

float eve::crowd::Crowd::Impl::cohesionWeight = 0.f

在文件 CrowdInternal.h 第 140 行定义.

◆ contactDeltas

std::vector<ContactDelta> eve::crowd::Crowd::Impl::contactDeltas

在文件 CrowdInternal.h 第 194 行定义.

被这些函数引用 resolveOverlapsPass() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ contactPairs

std::vector<ContactPair> eve::crowd::Crowd::Impl::contactPairs

在文件 CrowdInternal.h 第 193 行定义.

被这些函数引用 resolveOverlapsPass() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ correctionXs

std::vector<float> eve::crowd::Crowd::Impl::correctionXs

在文件 CrowdInternal.h 第 168 行定义.

被这些函数引用 resolveOverlapsPass().

◆ correctionYs

std::vector<float> eve::crowd::Crowd::Impl::correctionYs

在文件 CrowdInternal.h 第 168 行定义.

被这些函数引用 resolveOverlapsPass().

◆ datas

std::vector<int32_t> eve::crowd::Crowd::Impl::datas

在文件 CrowdInternal.h 第 171 行定义.

◆ defaultRadius

float eve::crowd::Crowd::Impl::defaultRadius = 6.f

在文件 CrowdInternal.h 第 133 行定义.

◆ defaultSpeed

float eve::crowd::Crowd::Impl::defaultSpeed = 120.f

在文件 CrowdInternal.h 第 132 行定义.

◆ defaultTurnRate

float eve::crowd::Crowd::Impl::defaultTurnRate = 6.f

在文件 CrowdInternal.h 第 134 行定义.

◆ denseToRegistry

std::vector<std::uint32_t> eve::crowd::Crowd::Impl::denseToRegistry

在文件 CrowdInternal.h 第 91 行定义.

◆ elapsed

Duration eve::crowd::Crowd::Impl::elapsed

在文件 CrowdInternal.h 第 127 行定义.

◆ execution

CrowdExecution eve::crowd::Crowd::Impl::execution = CrowdExecution::Serial

在文件 CrowdInternal.h 第 78 行定义.

被这些函数引用 dispatchWork() , 以及 prepareAvoidanceNeighbors().

◆ field

CrowdField eve::crowd::Crowd::Impl::field

◆ flowCache

std::vector<FlowCacheEntry> eve::crowd::Crowd::Impl::flowCache

在文件 CrowdInternal.h 第 116 行定义.

◆ flowCacheBudget

std::uint64_t eve::crowd::Crowd::Impl::flowCacheBudget = 64 * 1024 * 1024

在文件 CrowdInternal.h 第 117 行定义.

◆ flows

std::vector<FlowLease> eve::crowd::Crowd::Impl::flows

在文件 CrowdInternal.h 第 175 行定义.

被这些函数引用 isMovementCompatible() , 以及 navigationField().

◆ freeRegistry

std::vector<std::uint32_t> eve::crowd::Crowd::Impl::freeRegistry

在文件 CrowdInternal.h 第 91 行定义.

◆ goalWeight

float eve::crowd::Crowd::Impl::goalWeight = 1.f

在文件 CrowdInternal.h 第 142 行定义.

◆ hasTargets

std::vector<uint8_t> eve::crowd::Crowd::Impl::hasTargets

在文件 CrowdInternal.h 第 172 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ headings

std::vector<float> eve::crowd::Crowd::Impl::headings

◆ incidentPairs

std::vector<std::size_t> eve::crowd::Crowd::Impl::incidentPairs

在文件 CrowdInternal.h 第 195 行定义.

被这些函数引用 resolveOverlapsPass() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ incidentStarts

std::vector<std::size_t> eve::crowd::Crowd::Impl::incidentStarts

在文件 CrowdInternal.h 第 195 行定义.

被这些函数引用 resolveOverlapsPass() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ interactions

std::vector<InteractionPolicy> eve::crowd::Crowd::Impl::interactions

在文件 CrowdInternal.h 第 173 行定义.

被这些函数引用 canAvoid(), canContact(), prepareAvoidanceNeighbors() , 以及 resolveOverlapsPass().

◆ maxAccels

std::vector<float> eve::crowd::Crowd::Impl::maxAccels

在文件 CrowdInternal.h 第 170 行定义.

被这些函数引用 selectAvoidanceVelocity().

◆ maxAgents

int eve::crowd::Crowd::Impl::maxAgents = 100000

在文件 CrowdInternal.h 第 145 行定义.

◆ maxSpeeds

std::vector<float> eve::crowd::Crowd::Impl::maxSpeeds

在文件 CrowdInternal.h 第 170 行定义.

被这些函数引用 prepareAvoidanceNeighbors() , 以及 selectAvoidanceVelocity().

◆ movements

std::vector<MovementBinding> eve::crowd::Crowd::Impl::movements

在文件 CrowdInternal.h 第 174 行定义.

被这些函数引用 isMovementCompatible().

◆ namedAgents

std::unordered_map<std::string, int> eve::crowd::Crowd::Impl::namedAgents

在文件 CrowdInternal.h 第 183 行定义.

◆ namedTieKeys

std::unordered_map<std::uint64_t, int> eve::crowd::Crowd::Impl::namedTieKeys

在文件 CrowdInternal.h 第 181 行定义.

◆ nextAnonymousTieKey

std::uint64_t eve::crowd::Crowd::Impl::nextAnonymousTieKey = 1

在文件 CrowdInternal.h 第 182 行定义.

◆ nextFlowGeneration

std::uint64_t eve::crowd::Crowd::Impl::nextFlowGeneration = 1

在文件 CrowdInternal.h 第 117 行定义.

◆ nextVxs

std::vector<float> eve::crowd::Crowd::Impl::nextVxs

在文件 CrowdInternal.h 第 168 行定义.

◆ nextVys

std::vector<float> eve::crowd::Crowd::Impl::nextVys

在文件 CrowdInternal.h 第 168 行定义.

◆ owner

std::uint64_t eve::crowd::Crowd::Impl::owner

在文件 CrowdInternal.h 第 89 行定义.

被这些函数引用 isFlowLeaseCurrent().

◆ pairCounts

std::vector<std::size_t> eve::crowd::Crowd::Impl::pairCounts

在文件 CrowdInternal.h 第 196 行定义.

被这些函数引用 resolveOverlapsPass().

◆ pairStarts

std::vector<std::size_t> eve::crowd::Crowd::Impl::pairStarts

在文件 CrowdInternal.h 第 196 行定义.

被这些函数引用 resolveOverlapsPass().

◆ perceiveRadius

float eve::crowd::Crowd::Impl::perceiveRadius = 64.f

在文件 CrowdInternal.h 第 137 行定义.

◆ predictionNeighbors

std::vector<std::vector<AvoidanceNeighbor> > eve::crowd::Crowd::Impl::predictionNeighbors

Per-step avoidance neighbor scratch space. @cost Linear in checked neighbors and bounded by avoidance work limits.

在文件 CrowdInternal.h 第 160 行定义.

被这些函数引用 prepareAvoidanceNeighbors(), selectAvoidanceVelocity() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ preferredCounts

std::vector<std::size_t> eve::crowd::Crowd::Impl::preferredCounts

在文件 CrowdInternal.h 第 236 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ preferredFlows

std::vector<PreferredFlow> eve::crowd::Crowd::Impl::preferredFlows

在文件 CrowdInternal.h 第 241 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ preferredNeighbors

std::vector<int> eve::crowd::Crowd::Impl::preferredNeighbors

在文件 CrowdInternal.h 第 237 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ preferredStarts

std::vector<std::size_t> eve::crowd::Crowd::Impl::preferredStarts

在文件 CrowdInternal.h 第 236 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ preferredVxs

std::vector<float> eve::crowd::Crowd::Impl::preferredVxs

在文件 CrowdInternal.h 第 169 行定义.

被这些函数引用 selectAvoidanceVelocity().

◆ preferredVys

std::vector<float> eve::crowd::Crowd::Impl::preferredVys

在文件 CrowdInternal.h 第 169 行定义.

被这些函数引用 selectAvoidanceVelocity().

◆ radii

std::vector<float> eve::crowd::Crowd::Impl::radii

◆ registry

std::vector<RegistryEntry> eve::crowd::Crowd::Impl::registry

在文件 CrowdInternal.h 第 90 行定义.

◆ resolveOverlaps

bool eve::crowd::Crowd::Impl::resolveOverlaps = true

在文件 CrowdInternal.h 第 143 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ rollback

◆ sepRadius

float eve::crowd::Crowd::Impl::sepRadius = 28.f

在文件 CrowdInternal.h 第 136 行定义.

◆ sepWeight

float eve::crowd::Crowd::Impl::sepWeight = 1.f

在文件 CrowdInternal.h 第 138 行定义.

◆ simTime

float eve::crowd::Crowd::Impl::simTime = 0.f

在文件 CrowdInternal.h 第 146 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ spatialIndex

CrowdSpatialIndex eve::crowd::Crowd::Impl::spatialIndex

◆ speeds

std::vector<float> eve::crowd::Crowd::Impl::speeds

◆ stableIds

std::vector<std::string> eve::crowd::Crowd::Impl::stableIds

在文件 CrowdInternal.h 第 178 行定义.

◆ surfaceStamp

NavigationSurfaceStamp eve::crowd::Crowd::Impl::surfaceStamp

在文件 CrowdInternal.h 第 98 行定义.

被这些函数引用 isMovementCompatible().

◆ targetXs

std::vector<float> eve::crowd::Crowd::Impl::targetXs

在文件 CrowdInternal.h 第 176 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ targetYs

std::vector<float> eve::crowd::Crowd::Impl::targetYs

在文件 CrowdInternal.h 第 176 行定义.

被这些函数引用 prepareAvoidanceNeighbors().

◆ tick

SimulationTick eve::crowd::Crowd::Impl::tick

在文件 CrowdInternal.h 第 126 行定义.

◆ tieKeys

std::vector<TieKey> eve::crowd::Crowd::Impl::tieKeys

在文件 CrowdInternal.h 第 180 行定义.

被这些函数引用 prepareAvoidanceNeighbors(), rebuildGrid() , 以及 resolveOverlapsPass().

◆ turnRates

std::vector<float> eve::crowd::Crowd::Impl::turnRates

在文件 CrowdInternal.h 第 170 行定义.

◆ vxs

◆ vys

◆ wanderPhases

std::vector<float> eve::crowd::Crowd::Impl::wanderPhases

◆ wanderWeight

float eve::crowd::Crowd::Impl::wanderWeight = 0.f

在文件 CrowdInternal.h 第 141 行定义.

◆ workReport

◆ workScheduler

std::shared_ptr<CrowdWorkScheduler> eve::crowd::Crowd::Impl::workScheduler

在文件 CrowdInternal.h 第 79 行定义.

被这些函数引用 dispatchWork().

◆ xs

std::vector<float> eve::crowd::Crowd::Impl::xs

SOA agent storage, indexed by compact slot id. @cost Linear in agent count; mutation keeps all owned vectors aligned.

在文件 CrowdInternal.h 第 167 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::AdvanceGuard::AdvanceGuard(), forEachNeighbor(), prepareAvoidanceNeighbors(), rebuildGrid(), resolveOverlapsPass(), selectAvoidanceVelocity() , 以及 eve::crowd::Crowd::Impl::AdvanceGuard::~AdvanceGuard().

◆ ys


该结构体的文档由以下文件生成: