engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS > 模板类 参考

ConstraintGraphRule helper base class - templatized on Constraint Container. 更多...

#include <PBDConstraintRule.h>

+ 类 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS > 继承关系图:

Public 成员函数

virtual void AddToGraph () override
 Add all constraints to the connectivity graph
 
virtual void DisableConstraints (const TSet< TGeometryParticleHandle< FReal, 3 > * > &RemovedParticles) override
 Disable all constraints associated with the specified particles
 
virtual int32 NumConstraints () const override
 The number of constraints in the collection
 
virtual void PrepareIteration (FReal Dt) override
 Called once per iteration before Apply. 更多...
 
virtual void PrepareTick () override
 Called once per frame. 更多...
 
virtual void UnprepareIteration (FReal Dt) override
 Called once per iteration after Apply. 更多...
 
virtual void UnprepareTick () override
 Called once per frame. 更多...
 
virtual void UpdatePositionBasedState (const FReal Dt) override
 Called once per tick to allow constraint containers to create/alter their constraints based on particle position
 
- Public 成员函数 继承自 Chaos::FPBDConstraintGraphRule
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. 更多...
 

详细描述

template<typename T_CONSTRAINTS>
class Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >

ConstraintGraphRule helper base class - templatized on Constraint Container.

成员函数说明

◆ PrepareIteration()

template<typename T_CONSTRAINTS >
virtual void Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >::PrepareIteration ( FReal  Dt)
inlineoverridevirtual

Called once per iteration before Apply.

Can be used to prepare caches etc.

重载 Chaos::FConstraintRule .

◆ PrepareTick()

template<typename T_CONSTRAINTS >
virtual void Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >::PrepareTick ( )
inlineoverridevirtual

Called once per frame.

Can be used to prepare caches etc.

重载 Chaos::FConstraintRule .

◆ UnprepareIteration()

template<typename T_CONSTRAINTS >
virtual void Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >::UnprepareIteration ( FReal  Dt)
inlineoverridevirtual

Called once per iteration after Apply.

Should be used to release any transient stores created in PrepareConstraints.

重载 Chaos::FConstraintRule .

◆ UnprepareTick()

template<typename T_CONSTRAINTS >
virtual void Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >::UnprepareTick ( )
inlineoverridevirtual

Called once per frame.

Should undo whatever is done in PrepareTick (can also free any other transient buffers created after)

重载 Chaos::FConstraintRule .


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