Island-based constraint rule. 更多...
#include <PBDConstraintRule.h>
类 Chaos::TPBDConstraintIslandRule< T_CONSTRAINTS > 继承关系图:Public 成员函数 | |
| virtual bool | ApplyConstraints (const FReal Dt, int32 Island, const int32 It, const int32 NumIts) override |
| Apply all corrections for constraints in the specified island. 更多... | |
| virtual bool | ApplyPushOut (const FReal Dt, int32 Island, const int32 It, const int32 NumIts) override |
| Apply push out for constraints in the specified island. 更多... | |
| virtual void | InitializeAccelerationStructures () override |
| Initialize and performance-acceleration structures from the contact graph. 更多... | |
| virtual void | UpdateAccelerationStructures (const int32 Island) override |
| Set up the perf-acceleration structures for the specified island. 更多... | |
Public 成员函数 继承自 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS > | |
| 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 | |
| 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. 更多... | |
Island-based constraint rule.
All constraints in an island are updated in single-threaded a loop. Islands may be updated in parallel.
|
inlineoverridevirtual |
Apply all corrections for constraints in the specified island.
Return true if more iterations are needed.
|
inlineoverridevirtual |
Apply push out for constraints in the specified island.
Return true if more iterations are needed.
|
inlineoverridevirtual |
Initialize and performance-acceleration structures from the contact graph.
Called once per evolution update
|
inlineoverridevirtual |
Set up the perf-acceleration structures for the specified island.
May be called in parallel for islands