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

Immutable owning render-only union of convex dry volumes. No body handles, callbacks, physics mutation or retained input pointers. Rebuild after vessel pose or render-origin changes. Empty means no masking. Concurrent reads are safe. 更多...

#include <OceanHullMask.h>

Public 成员函数

std::span< const glm::vec4 > rows () const
 Borrow packed render-space halfspaces until frame destruction/move. Each volume has seventeen vec4 rows: plane count then up to sixteen normalized planes. Plane equation is dot(xyz, renderPoint) <= w; unused rows are zero.
 
glm::dvec3 origin () const
 World origin subtracted before float projection.
 
unsigned size () const
 Number of dry volumes; at most 32.
 
EVENGINE_API_DOMAINS bool contains (glm::dvec3 worldPoint) const
 Reference fragment classification; nonfinite points are outside, boundary is inside. @cost At most 512 halfspace tests, no allocation; diagnostics/tests rather than buoyancy queries.
 

友元

class OceanHullMaskBuilder
 

详细描述

Immutable owning render-only union of convex dry volumes. No body handles, callbacks, physics mutation or retained input pointers. Rebuild after vessel pose or render-origin changes. Empty means no masking. Concurrent reads are safe.

在文件 OceanHullMask.h 第 28 行定义.

成员函数说明

◆ contains()

bool eve::fluids::OceanHullMaskFrame::contains ( glm::dvec3  worldPoint) const

Reference fragment classification; nonfinite points are outside, boundary is inside. @cost At most 512 halfspace tests, no allocation; diagnostics/tests rather than buoyancy queries.

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

引用了 count, finite, first, inside, point, relative , 以及 eve::fluids::ocean_script::vector().

◆ origin()

glm::dvec3 eve::fluids::OceanHullMaskFrame::origin ( ) const
inline

World origin subtracted before float projection.

在文件 OceanHullMask.h 第 36 行定义.

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

◆ rows()

std::span< const glm::vec4 > eve::fluids::OceanHullMaskFrame::rows ( ) const
inline

Borrow packed render-space halfspaces until frame destruction/move. Each volume has seventeen vec4 rows: plane count then up to sixteen normalized planes. Plane equation is dot(xyz, renderPoint) <= w; unused rows are zero.

在文件 OceanHullMask.h 第 34 行定义.

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

◆ size()

unsigned eve::fluids::OceanHullMaskFrame::size ( ) const
inline

Number of dry volumes; at most 32.

在文件 OceanHullMask.h 第 38 行定义.

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

友元及相关函数文档

◆ OceanHullMaskBuilder

在文件 OceanHullMask.h 第 45 行定义.


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