#include <SIM_SolverPop.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_S (SIM_NAME_POPPATH, PopPath) | |
| GETSET_DATA_FUNCS_B (SIM_NAME_MAKEPOINTSPARTICLES, MakePointsParticles) | |
| GETSET_DATA_FUNCS_B (SIM_NAME_INHERITVELOCITY, InheritVelocity) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_GENERATOR, Generator) | |
| GETSET_DATA_FUNCS_F (SIM_NAME_LIFESPAN, Lifespan) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDESTOP, CollideStop) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDEKILL, CollideKill) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDECONTINUE, CollideContinue) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDESTICK, CollideStick) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDEBOUNCE, CollideBounce) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_INITIALSTATE, InitialState) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_RANDOMSEED, RandomSeed) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_OVERSAMPLE, OverSample) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_MAXPARTICLES, MaxParticles) | |
| GETSET_DATA_FUNCS_B (SIM_NAME_REMOVEUNUSED, RemoveUnused) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_PATH1, Path1) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_PATH2, Path2) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_PATH3, Path3) | |
| GETSET_DATA_FUNCS_S (SIM_NAME_PATH4, Path4) | |
| GET_DATA_FUNC_S ("geo", GeometryName) | |
| GET_DATA_FUNC_B ("doreapparticles", DoReapParticles) | |
| GET_DATA_FUNC_B ("doapplyrules", DoApplyRules) | |
| GET_DATA_FUNC_B ("suppresspos", SuppressPos) | |
| GET_DATA_FUNC_B ("suppressvel", SuppressVel) | |
| GET_DATA_FUNC_B ("suppressup", SuppressUp) | |
| GET_DATA_FUNC_B ("suppressage", SuppressAge) | |
| GET_DATA_FUNC_B ("suppressrot", SuppressRot) | |
| GET_DATA_FUNC_B ("suppressangvel", SuppressAngVel) | |
| GET_DATA_FUNC_B ("doprepparticles", DoPrepParticles) | |
| GET_DATA_FUNC_B ("docookpop", DoCookPOP) | |
| GET_DATA_FUNC_B ("docookfirst", DoCookFirst) | |
| GET_DATA_FUNC_B ("doimpacts", DoImpacts) | |
| GET_DATA_FUNC_B ("dodopforces", DoDopForces) | |
Protected Member Functions | |
| SIM_SolverPop (const SIM_DataFactory *factory) | |
| virtual | ~SIM_SolverPop () |
| virtual SIM_Result | solveSingleObjectSubclass (SIM_Engine &engine, SIM_Object &object, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep, bool newobject) |
| virtual int | getRequestedCacheSubclass () |
| virtual void | getImpulseMassMatrixSubclass (const SIM_Object &object, const UT_Vector3 &impulseworldpos, UT_DMatrix3 &immatrix) const |
| virtual void | getPointImpulseMassMatrixSubclass (const SIM_Object &object, int ptnum, UT_DMatrix3 &immatrix) const |
| virtual void | getDefaultColliderLabelSubclass (const SIM_Object &object, UT_String &label) const |
| Gets the default collider label for an object using this solver. | |
| virtual void | getDefaultColliderSubclass (const SIM_Object &object, const UT_String &colliderlabel, UT_String &collidertype, bool &colliderreverseobjectroles) const |
Definition at line 46 of file SIM_SolverPop.h.
| SIM_SolverPop::SIM_SolverPop | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual SIM_SolverPop::~SIM_SolverPop | ( | ) | [protected, virtual] |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "dodopforces" | , | |
| DoDopForces | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "doimpacts" | , | |
| DoImpacts | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "docookfirst" | , | |
| DoCookFirst | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "docookpop" | , | |
| DoCookPOP | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "doprepparticles" | , | |
| DoPrepParticles | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppressangvel" | , | |
| SuppressAngVel | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppressrot" | , | |
| SuppressRot | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppressage" | , | |
| SuppressAge | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppressup" | , | |
| SuppressUp | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppressvel" | , | |
| SuppressVel | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "suppresspos" | , | |
| SuppressPos | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "doapplyrules" | , | |
| DoApplyRules | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_B | ( | "doreapparticles" | , | |
| DoReapParticles | ||||
| ) |
| SIM_SolverPop::GET_DATA_FUNC_S | ( | "geo" | , | |
| GeometryName | ||||
| ) |
| virtual void SIM_SolverPop::getDefaultColliderLabelSubclass | ( | const SIM_Object & | object, | |
| UT_String & | label | |||
| ) | const [protected, virtual] |
| virtual void SIM_SolverPop::getDefaultColliderSubclass | ( | const SIM_Object & | object, | |
| const UT_String & | colliderlabel, | |||
| UT_String & | collidertype, | |||
| bool & | colliderreverseobjectroles | |||
| ) | const [protected, virtual] |
Gets the default collider type for use on an object with a particular collider label.
Reimplemented from SIM_Solver.
| virtual void SIM_SolverPop::getImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| const UT_Vector3 & | impulseworldpos, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided world space position. The default implementation gets the closest point in the geometry and calls getPointImpulseMassMatrix().
Reimplemented from SIM_Solver.
| virtual void SIM_SolverPop::getPointImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| int | ptnum, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided point on the geometry of the object. The default implementation finds the world space position of the point and calls getImpulseMassMatrix().
Reimplemented from SIM_Solver.
| virtual int SIM_SolverPop::getRequestedCacheSubclass | ( | ) | [protected, virtual] |
Returns the amount of history required by this solver. Override this function if your solver requires past data to calculate the next time step. The default implementation returns 0.
Reimplemented from SIM_Solver.
| SIM_SolverPop::GETSET_DATA_FUNCS_B | ( | SIM_NAME_REMOVEUNUSED | , | |
| RemoveUnused | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_B | ( | SIM_NAME_INHERITVELOCITY | , | |
| InheritVelocity | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_B | ( | SIM_NAME_MAKEPOINTSPARTICLES | , | |
| MakePointsParticles | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_F | ( | SIM_NAME_LIFESPAN | , | |
| Lifespan | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_I | ( | SIM_NAME_MAXPARTICLES | , | |
| MaxParticles | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_I | ( | SIM_NAME_OVERSAMPLE | , | |
| OverSample | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_I | ( | SIM_NAME_RANDOMSEED | , | |
| RandomSeed | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_PATH4 | , | |
| Path4 | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_PATH3 | , | |
| Path3 | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_PATH2 | , | |
| Path2 | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_PATH1 | , | |
| Path1 | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_INITIALSTATE | , | |
| InitialState | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_COLLIDEBOUNCE | , | |
| CollideBounce | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_COLLIDESTICK | , | |
| CollideStick | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_COLLIDECONTINUE | , | |
| CollideContinue | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_COLLIDEKILL | , | |
| CollideKill | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_COLLIDESTOP | , | |
| CollideStop | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_GENERATOR | , | |
| Generator | ||||
| ) |
| SIM_SolverPop::GETSET_DATA_FUNCS_S | ( | SIM_NAME_POPPATH | , | |
| PopPath | ||||
| ) |
| virtual SIM_Result SIM_SolverPop::solveSingleObjectSubclass | ( | SIM_Engine & | engine, | |
| SIM_Object & | object, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep, | |||
| bool | newobject | |||
| ) | [protected, virtual] |
This method is called for each object passed to solveObjectsSubclass().
Implements SIM_SingleSolver.
1.5.9