|
| | FPBDStiffness (const FSolverVec2 &InWeightedValue, const TConstArrayView< FRealSingle > &Multipliers=TConstArrayView< FRealSingle >(), int32 ParticleCount=0, int32 TableSize=DefaultTableSize, FSolverReal InParameterFitBase=DefaultParameterFitBase, FSolverReal InMaxStiffness=DefaultPBDMaxStiffness) |
| |
| template<int32 Valence UE_REQUIRES> |
| | FPBDStiffness (const FSolverVec2 &InWeightedValue, const TConstArrayView< FRealSingle > &Multipliers=TConstArrayView< FRealSingle >(), const TConstArrayView< TVector< int32, Valence > > &Constraints=TConstArrayView< TVector< int32, Valence > >(), int32 ParticleOffset=INDEX_NONE, int32 ParticleCount=0, int32 TableSize=DefaultTableSize, FSolverReal InParameterFitBase=DefaultParameterFitBase, FSolverReal MaxStiffness=DefaultPBDMaxStiffness) |
| |
| virtual | ~FPBDStiffness () override=default |
| |
| | FPBDStiffness (const FPBDStiffness &)=default |
| |
| | FPBDStiffness (FPBDStiffness &&)=default |
| |
| FPBDStiffness & | operator= (const FPBDStiffness &)=default |
| |
| FPBDStiffness & | operator= (FPBDStiffness &&)=default |
| |
| void | SetWeightedValue (const FSolverVec2 &InWeightedValue, FSolverReal MaxStiffness=DefaultPBDMaxStiffness) |
| |
| void | ApplyPBDValues (const FSolverReal Dt, const int32 NumIterations) |
| |
| void | ApplyXPBDValues (const FSolverReal MaxStiffnesss) |
| |
| | FPBDWeightMap (const FSolverVec2 &InWeightedValue, const TConstArrayView< FRealSingle > &Multipliers=TConstArrayView< FRealSingle >(), int32 ParticleCount=0, int32 TableSize=16) |
| |
| template<int32 Valence> |
| | FPBDWeightMap (const FSolverVec2 &InWeightedValue, const TConstArrayView< FRealSingle > &Multipliers=TConstArrayView< FRealSingle >(), const TConstArrayView< TVector< int32, Valence > > &Constraints=TConstArrayView< TVector< int32, Valence > >(), int32 ParticleOffset=INDEX_NONE, int32 ParticleCount=0, int32 TableSize=16, typename TEnableIf< Valence >=2 &&Valence<=4 >::Type *=nullptr) |
| |
| virtual | ~FPBDWeightMap ()=default |
| |
| | FPBDWeightMap (const FPBDWeightMap &)=default |
| |
| | FPBDWeightMap (FPBDWeightMap &&)=default |
| |
| FPBDWeightMap & | operator= (const FPBDWeightMap &)=default |
| |
| FPBDWeightMap & | operator= (FPBDWeightMap &&)=default |
| |
| int32 | Num () const |
| |
| bool | HasWeightMap () const |
| |
| void | SetWeightedValue (const FSolverVec2 &InWeightedValue) |
| |
| const FSolverVec2 & | GetWeightedValue () const |
| |
| void | ApplyValues (bool *bOutUpdated=nullptr) |
| |
| FSolverReal | operator[] (int32 Index) const |
| |
| FSolverReal | GetLow () const |
| |
| FSolverReal | GetHigh () const |
| |
| | operator FSolverReal () const |
| |
| FSolverReal | GetValue (int32 Index) const |
| |
| TConstArrayView< uint8 > | GetIndices () const |
| |
| TConstArrayView< FSolverReal > | GetTable () const |
| |
| void | ReorderIndices (const TArray< int32 > &OrigToReorderedIndices) |
| |
Stiffness class for managing real time update to the weight map and low/high value ranges and to exponentiate the stiffness value depending on the iterations and Dt.