载入中...
搜索中...
未找到
eve::fluids::VolumeFluidContactTracker类 参考final

Explicit bounded contact lifecycle tracker; owns no solver reference. 更多...

#include <VolumeFluid.h>

Public 成员函数

Result< std::vector< VolumeFluidContactEvent > > advance (std::span< const VolumeFluidContact > contacts, float distanceThreshold=.01f)
 Diffs latest contacts against the preceding successful call.
 
void reset ()
 Clears prior keys so the next contacts enter again.
 

详细描述

Explicit bounded contact lifecycle tracker; owns no solver reference.

在文件 VolumeFluid.h 第 276 行定义.

成员函数说明

◆ advance()

Result< std::vector< VolumeFluidContactEvent > > eve::fluids::VolumeFluidContactTracker::advance ( std::span< const VolumeFluidContact >  contacts,
float  distanceThreshold = .01f 
)

Diffs latest contacts against the preceding successful call.

参数
contactsBorrowed latest-step contacts; at most 65536.
distanceThresholdFinite accepted separation in [0,1] meters.
返回
Owning Enter/Stay/Exit events sorted by collider label then actor group.

Contacts are deduplicated by collider/actor like Fluid3D. Invalid input leaves prior state unchanged. No callbacks, locks or GPU work are performed.

在文件 VolumeFluidContactTracker.cpp 第 22 行定义.

引用了 current, eve::fluids::Enter, eve::Diagnostic::error(), events, eve::fluids::Exit, eve::InvalidArgument, previous , 以及 eve::fluids::Stay.

被这些函数引用 eve::fluids::exposeVolumeFluidType().

◆ reset()

void eve::fluids::VolumeFluidContactTracker::reset ( )

Clears prior keys so the next contacts enter again.

在文件 VolumeFluidContactTracker.cpp 第 57 行定义.

被这些函数引用 eve::fluids::exposeVolumeFluidType().


该类的文档由以下文件生成: