载入中...
搜索中...
未找到
VolumeFluid.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "fluids/FluidSdf.h"
#include <array>
#include <cstdint>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#include <memory>
#include <span>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::fluids::VolumeFluidMaterial
 Per-particle material, copied at emission; densities enable multiphase buoyancy. 更多...
 
struct  eve::fluids::VolumeFluidViscosityColorKey
 Transient linear RGBA gradient key at an absolute material viscosity. 更多...
 
struct  eve::fluids::VolumeFluidColorKey
 One strictly ordered [0,1] coordinate and linear RGBA gradient color. 更多...
 
struct  eve::fluids::VolumeFluidSettings
 Meter-space (+Y up) volume-fluid material and solver policy. 更多...
 
struct  eve::fluids::VolumeFluidParticle
 Owning particle value with world position and velocity in SI units. 更多...
 
struct  eve::fluids::VolumeFluidWindZone
 Owning description of one transient ambient or spherical wind zone. 更多...
 
struct  eve::fluids::VolumeFluidCollider
 Owned obstacle sample; the caller updates moving obstacles before stepping. 更多...
 
struct  eve::fluids::VolumeFluidSdfCollider
 Owned sampled mesh/SDF collider with a uniform world transform. 更多...
 
struct  eve::fluids::VolumeFluidHeightFieldCollider
 Owned regular-grid terrain collider matching Fluid3D height-field sample layout. 更多...
 
struct  eve::fluids::VolumeFluidSdfPose
 Transient transform update for one owned SDF collider, identified by stable label. 更多...
 
struct  eve::fluids::VolumeFluidSdfSlice
 Owning normalized SDF slice plus its world-space sample lattice. 更多...
 
struct  eve::fluids::VolumeFluidContact
 Owned contact event; opposite impulse can be applied to the caller's rigid body. 更多...
 
struct  eve::fluids::VolumeFluidContactEvent
 Owning deduplicated actor/collider contact lifecycle event. 更多...
 
class  eve::fluids::VolumeFluidContactTracker
 Explicit bounded contact lifecycle tracker; owns no solver reference. 更多...
 
struct  eve::fluids::VolumeFluidAttachmentReaction
 Opposite impulse produced by a prescribed solid-particle attachment constraint. 更多...
 
struct  eve::fluids::VolumeFluidThermalRule
 One-step contact transfer into user channels x/y; negative rate heats, positive cools. 更多...
 
struct  eve::fluids::VolumeFluidFieldSample
 Owned liquid/gas field sample for diffuse-particle emission and advection. 更多...
 
struct  eve::fluids::VolumeFluidGridCell
 Owning occupied-cell sample for Fluid3DParticleGridDebugger-style visualization. 更多...
 
struct  eve::fluids::VolumeFluidParticleFrame
 Owning local-axis sample for DebugParticleFrames-style visualization. 更多...
 
struct  eve::fluids::VolumeFluidParticleInstance
 One owning mesh-instance transform/color row for Fluid3DInstancedParticleRenderer-style presentation. 更多...
 
struct  eve::fluids::VolumeFluidParticleEvent
 Owning particle lifecycle event captured before the dense pool changes again. 更多...
 
struct  eve::fluids::VolumeFluidParticleEventBatch
 Owning result of one explicit particle lifecycle-event drain. 更多...
 
struct  eve::fluids::VolumeFluidMassProperties
 Owning mass summary for one Fluid3D-compatible actor group. 更多...
 
struct  eve::fluids::VolumeFluidRayHit
 Owning ray hit against one native oriented-ellipsoid volume-fluid particle. 更多...
 
struct  eve::fluids::VolumeFluidDistanceHit
 Owning signed surface-distance result for a native query shape. 更多...
 
struct  eve::fluids::VolumeFluidQueryShape
 Owning transient query description compatible with Fluid3D QueryShape semantics. 更多...
 
struct  eve::fluids::VolumeFluidQueryHit
 Owning result from one entry in a mixed query batch. 更多...
 
struct  eve::fluids::VolumeFluidSimplex
 A point, edge or triangle over snapshot-local particle indices. 更多...
 
struct  eve::fluids::VolumeFluidSimplexHit
 Owning Fluid3D-compatible nearest result for one simplex and query pair. 更多...
 
struct  eve::fluids::VolumeFluidAttachment
 Owned local anchor for a contact-frozen particle; indices refer to its snapshot particle array. 更多...
 
struct  eve::fluids::VolumeFluidStitch
 One Fluid3DStitcher-compatible zero-distance particle-pair constraint. 更多...
 
struct  eve::fluids::VolumeFluidSnapshot
 Canonical version-20 owning state; older codecs migrate collider, attachment, stitch, filter, group, material, shape, topology, height-field, trigger and collision-material fields. 更多...
 
class  eve::fluids::VolumeFluid
 CPU position-based free-volume fluid with a bounded spatial grid. @ownership Owns all particle state; no external objects or callbacks are retained. @thread All methods are simulation-thread affine; concurrent access is forbidden. @reentrancy No callbacks are invoked. Renderers consume copied particle positions. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::fluids
 GLSL compute kernels for the GPU surface-flow solver.
 

枚举

enum class  eve::fluids::VolumeFluidPhase : uint8_t { eve::fluids::Liquid , eve::fluids::Gas , eve::fluids::Granular , eve::fluids::Solid }
 Constitutive phase; solids are world-fixed or follow their owned collider attachment. 更多...
 
enum class  eve::fluids::VolumeFluidMaterialCombineMode : uint8_t { eve::fluids::Average = 0 , eve::fluids::Minimum = 1 , eve::fluids::Multiply = 2 , eve::fluids::Maximum = 3 }
 Fluid3D collision-material coefficient combination, with package integer values. 更多...
 
enum class  eve::fluids::VolumeFluidWindZoneType { eve::fluids::Ambient , eve::fluids::Spherical }
 Shape used by a transient Fluid3D-style wind force zone. 更多...
 
enum class  eve::fluids::VolumeFluidColliderShape { eve::fluids::Sphere , eve::fluids::Box , eve::fluids::Capsule }
 Analytic obstacle geometry. 更多...
 
enum class  eve::fluids::VolumeFluidSdfSliceAxis { eve::fluids::X = 0 , eve::fluids::Y = 1 , eve::fluids::Z = 2 }
 Local axis normal used by an explicit SDF diagnostic slice. 更多...
 
enum class  eve::fluids::VolumeFluidContactEventType : uint8_t { eve::fluids::Enter , eve::fluids::Stay , eve::fluids::Exit }
 Contact lifecycle classification matching Fluid3DContactEventDispatcher. 更多...
 
enum class  eve::fluids::VolumeFluidParticleEventType : uint8_t { eve::fluids::Emitted , eve::fluids::Killed }
 Lifecycle kind matching Fluid3DEmitter OnEmitParticle/OnKillParticle. 更多...
 
enum class  eve::fluids::VolumeFluidQueryType : unsigned { eve::fluids::Sphere = 0 , eve::fluids::Box = 1 , eve::fluids::Ray = 2 }
 Shape kind for one bounded batched particle query. 更多...