#include <SIM_SolverSNOW.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_F (SIM_NAME_BIRTHRATE, BirthRate) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_DIVISIONS, Divisions) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_ORIGINALDEPTH, OriginalDepth) | |
Protected Member Functions | |
| SIM_SolverSNOW (const SIM_DataFactory *factory) | |
| virtual | ~SIM_SolverSNOW () |
| SIM_Random * | createRandomData (SIM_Object *obj) const |
| virtual SIM_Result | solveSingleObjectSubclass (SIM_Engine &engine, SIM_Object &object, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep, bool newobject) |
| int | rand_choice (int numchoice, SIM_Random *rand) const |
| bool | brownianize (int &v, int dv, int max, SIM_Random *rand) const |
| int | clearInDirection (const SNOW_VoxelArray &snow, int sx, int sy, int sz, int dx, int dy, int dz, int &rx, int &ry, int &rz, int maxdist, SIM_Random *rand) const |
| void | clearSnow (SNOW_VoxelArray &snow, int x, int y, int z, SIM_Random *rand) const |
| void | fillRow (SNOW_VoxelArray &snow, fpreal startx, fpreal endx, int y, int z, u8 voxeltype, SIM_Random *rand) const |
| void | applyGeometry (SNOW_VoxelArray &snow, const GU_ConstDetailHandle &gdh, const UT_DMatrix4 &xform, u8 voxletype, SIM_Random *rand) const |
Definition at line 65 of file SIM_SolverSNOW.h.
| SIM_SolverSNOW::SIM_SolverSNOW | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
Definition at line 468 of file SIM_SolverSNOW.C.
| SIM_SolverSNOW::~SIM_SolverSNOW | ( | ) | [protected, virtual] |
| void SIM_SolverSNOW::applyGeometry | ( | SNOW_VoxelArray & | snow, | |
| const GU_ConstDetailHandle & | gdh, | |||
| const UT_DMatrix4 & | xform, | |||
| u8 | voxletype, | |||
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 671 of file SIM_SolverSNOW.C.
| bool SIM_SolverSNOW::brownianize | ( | int & | v, | |
| int | dv, | |||
| int | max, | |||
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 514 of file SIM_SolverSNOW.C.
| int SIM_SolverSNOW::clearInDirection | ( | const SNOW_VoxelArray & | snow, | |
| int | sx, | |||
| int | sy, | |||
| int | sz, | |||
| int | dx, | |||
| int | dy, | |||
| int | dz, | |||
| int & | rx, | |||
| int & | ry, | |||
| int & | rz, | |||
| int | maxdist, | |||
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 535 of file SIM_SolverSNOW.C.
| void SIM_SolverSNOW::clearSnow | ( | SNOW_VoxelArray & | snow, | |
| int | x, | |||
| int | y, | |||
| int | z, | |||
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 577 of file SIM_SolverSNOW.C.
| SIM_Random * SIM_SolverSNOW::createRandomData | ( | SIM_Object * | obj | ) | const [protected] |
Definition at line 499 of file SIM_SolverSNOW.C.
| void SIM_SolverSNOW::fillRow | ( | SNOW_VoxelArray & | snow, | |
| fpreal | startx, | |||
| fpreal | endx, | |||
| int | y, | |||
| int | z, | |||
| u8 | voxeltype, | |||
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 631 of file SIM_SolverSNOW.C.
| HDK_Sample::SIM_SolverSNOW::GETSET_DATA_FUNCS_F | ( | SIM_NAME_BIRTHRATE | , | |
| BirthRate | ||||
| ) |
| HDK_Sample::SIM_SolverSNOW::GETSET_DATA_FUNCS_I | ( | SIM_NAME_ORIGINALDEPTH | , | |
| OriginalDepth | ||||
| ) |
| HDK_Sample::SIM_SolverSNOW::GETSET_DATA_FUNCS_I | ( | SIM_NAME_DIVISIONS | , | |
| Divisions | ||||
| ) |
| int SIM_SolverSNOW::rand_choice | ( | int | numchoice, | |
| SIM_Random * | rand | |||
| ) | const [protected] |
Definition at line 621 of file SIM_SolverSNOW.C.
| SIM_Solver::SIM_Result SIM_SolverSNOW::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.
Definition at line 999 of file SIM_SolverSNOW.C.
1.5.9