#include <SIM_SingleSolver.h>

Public Member Functions | |
| SIM_Result | solveSingleObject (SIM_Engine &engine, SIM_Object &object, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep, bool newobject) |
Protected Member Functions | |
| SIM_SingleSolver (const SIM_DataFactory *factory) | |
| Basic SIM_SingleSolver constructor. | |
| virtual | ~SIM_SingleSolver () |
| Basic SIM_SingleSolver destructor. | |
| virtual SIM_Result | solveObjectsSubclass (SIM_Engine &engine, SIM_ObjectArray &objects, SIM_ObjectArray &newobjects, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep) |
| Override this method to call solveSingleObject(). | |
| virtual SIM_Result | solveSingleObjectSubclass (SIM_Engine &engine, SIM_Object &object, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep, bool newobject)=0 |
Definition at line 28 of file SIM_SingleSolver.h.
| SIM_SingleSolver::SIM_SingleSolver | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
Basic SIM_SingleSolver constructor.
| virtual SIM_SingleSolver::~SIM_SingleSolver | ( | ) | [protected, virtual] |
Basic SIM_SingleSolver destructor.
| virtual SIM_Result SIM_SingleSolver::solveObjectsSubclass | ( | SIM_Engine & | engine, | |
| SIM_ObjectArray & | objects, | |||
| SIM_ObjectArray & | newobjects, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep | |||
| ) | [protected, virtual] |
| SIM_Result SIM_SingleSolver::solveSingleObject | ( | SIM_Engine & | engine, | |
| SIM_Object & | object, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep, | |||
| bool | newobject | |||
| ) |
Solve for the given object. This function is called for each timestep after the one where the objects are first created. This function calls solveObjectSubclass to perform the real work.
| virtual SIM_Result SIM_SingleSolver::solveSingleObjectSubclass | ( | SIM_Engine & | engine, | |
| SIM_Object & | object, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep, | |||
| bool | newobject | |||
| ) | [protected, pure virtual] |
This method is called for each object passed to solveObjectsSubclass().
Implemented in SIM_SolverCopy, SIM_SolverStatic, SIM_SolverPop, SIM_SolverSop, HDK_Sample::SIM_SolverHair, and HDK_Sample::SIM_SolverSNOW.
1.5.9