HDK_Sample::SNOW_Solver Class Reference

#include <SNOW_Solver.h>

Inheritance diagram for HDK_Sample::SNOW_Solver:

SIM_SingleSolver SIM_OptionsUser SIM_Solver SIM_Data

List of all members.

Public Member Functions

 GETSET_DATA_FUNCS_F (SIM_NAME_BIRTHRATE, BirthRate)
 GETSET_DATA_FUNCS_I (SIM_NAME_ORIGINALDEPTH, OriginalDepth)

Protected Member Functions

 SNOW_Solver (const SIM_DataFactory *factory)
virtual ~SNOW_Solver ()
SIM_RandomcreateRandomData (SIM_Object *obj) const
virtual SIM_Result solveSingleObjectSubclass (SIM_Engine &engine, SIM_Object &object, SIM_ObjectArray &feedbacktoobjects, const SIM_Time &timestep, 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


Detailed Description

Examples:

SIM/SNOW_Solver.C.

Definition at line 64 of file SNOW_Solver.h.


Constructor & Destructor Documentation

SNOW_Solver::SNOW_Solver ( const SIM_DataFactory factory  )  [explicit, protected]

Examples:
SIM/SNOW_Solver.h.

Definition at line 57 of file SNOW_Solver.C.

SNOW_Solver::~SNOW_Solver (  )  [protected, virtual]

Examples:
SIM/SNOW_Solver.h.

Definition at line 63 of file SNOW_Solver.C.


Member Function Documentation

void SNOW_Solver::applyGeometry ( SNOW_VoxelArray snow,
const GU_ConstDetailHandle gdh,
const UT_DMatrix4 xform,
u8  voxletype,
SIM_Random rand 
) const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 264 of file SNOW_Solver.C.

bool SNOW_Solver::brownianize ( int &  v,
int  dv,
int  max,
SIM_Random rand 
) const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 105 of file SNOW_Solver.C.

int SNOW_Solver::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]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 126 of file SNOW_Solver.C.

void SNOW_Solver::clearSnow ( SNOW_VoxelArray snow,
int  x,
int  y,
int  z,
SIM_Random rand 
) const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 169 of file SNOW_Solver.C.

SIM_Random * SNOW_Solver::createRandomData ( SIM_Object obj  )  const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 90 of file SNOW_Solver.C.

void SNOW_Solver::fillRow ( SNOW_VoxelArray snow,
fpreal  startx,
fpreal  endx,
int  y,
int  z,
u8  voxeltype,
SIM_Random rand 
) const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 223 of file SNOW_Solver.C.

HDK_Sample::SNOW_Solver::GETSET_DATA_FUNCS_F ( SIM_NAME_BIRTHRATE  ,
BirthRate   
)

Examples:
SIM/SNOW_Solver.h.

HDK_Sample::SNOW_Solver::GETSET_DATA_FUNCS_I ( SIM_NAME_ORIGINALDEPTH  ,
OriginalDepth   
)

Examples:
SIM/SNOW_Solver.h.

int SNOW_Solver::rand_choice ( int  numchoice,
SIM_Random rand 
) const [protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 213 of file SNOW_Solver.C.

SIM_Solver::SIM_Result SNOW_Solver::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.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 605 of file SNOW_Solver.C.


The documentation for this class was generated from the following files:

Generated on Thu Jan 31 00:34:37 2013 for HDK by  doxygen 1.5.9