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. 更多... | |
ConstraintGraphRule helper base class - templatized on Constraint Container.
|
inlineoverridevirtual |
Called once per iteration before Apply.
Can be used to prepare caches etc.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Called once per iteration after Apply.
Should be used to release any transient stores created in PrepareConstraints.
|
inlineoverridevirtual |
Called once per frame.
Should undo whatever is done in PrepareTick (can also free any other transient buffers created after)