engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Chaos::FPBDConstraintGraphRule类 参考

Base class for Constraint Rules that use the Contact Graph (which will be most optimized ones). 更多...

#include <PBDConstraintRule.h>

+ 类 Chaos::FPBDConstraintGraphRule 继承关系图:

Public 成员函数

virtual void AddToGraph ()
 Add all constraints to the connectivity graph
 
virtual bool ApplyConstraints (const FReal Dt, int32 Island, const int32 It, const int32 NumIts)
 Apply all corrections for constraints in the specified island. 更多...
 
virtual bool ApplyPushOut (const FReal Dt, int32 Island, const int32 It, const int32 NumIts)
 Apply push out for constraints in the specified island. 更多...
 
virtual void DisableConstraints (const TSet< TGeometryParticleHandle< FReal, 3 > * > &RemovedParticles)
 Disable all constraints associated with the specified particles
 
virtual void InitializeAccelerationStructures ()
 Initialize and performance-acceleration structures from the contact graph. 更多...
 
virtual int32 NumConstraints () const
 The number of constraints in the collection
 
virtual void UpdateAccelerationStructures (const int32 Island)
 Set up the perf-acceleration structures for the specified island. 更多...
 
virtual void UpdatePositionBasedState (const FReal Dt)
 Called once per tick to allow constraint containers to create/alter their constraints based on particle position
 
- Public 成员函数 继承自 Chaos::FConstraintRule
int32 GetPriority () const
 Determines the order in which constraints are resolved. 更多...
 
virtual void PrepareIteration (FReal Dt)
 Called once per iteration before Apply. 更多...
 
virtual void PrepareTick ()
 Called once per frame. 更多...
 
void SetPriority (const int32 InPriority)
 Set the constraint resolution priority. 更多...
 
virtual void UnprepareIteration (FReal Dt)
 Called once per iteration after Apply. 更多...
 
virtual void UnprepareTick ()
 Called once per frame. 更多...
 

详细描述

Base class for Constraint Rules that use the Contact Graph (which will be most optimized ones).

The graph is shared among many/all constraint rules and is held external to the Graph rule itself. Each edge in the graph can be mapped back to a constraint controlled by the rule. To support this, each rule is assigned an ID which is stored alongside the constraint index in the graph.

参见
TPBDConstraintGraphRuleImpl

成员函数说明

◆ ApplyConstraints()

virtual bool Chaos::FPBDConstraintGraphRule::ApplyConstraints ( const FReal  Dt,
int32  Island,
const int32  It,
const int32  NumIts 
)
inlinevirtual

◆ ApplyPushOut()

virtual bool Chaos::FPBDConstraintGraphRule::ApplyPushOut ( const FReal  Dt,
int32  Island,
const int32  It,
const int32  NumIts 
)
inlinevirtual

◆ InitializeAccelerationStructures()

virtual void Chaos::FPBDConstraintGraphRule::InitializeAccelerationStructures ( )
inlinevirtual

◆ UpdateAccelerationStructures()

virtual void Chaos::FPBDConstraintGraphRule::UpdateAccelerationStructures ( const int32  Island)
inlinevirtual

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