#ifndef __SNOW_Solver_h__
#define __SNOW_Solver_h__
#define SIM_NAME_BIRTHRATE "birthrate"
#define SIM_NAME_ORIGINALDEPTH "originaldepth"
typedef unsigned char u8;
namespace HDK_Sample {
class SNOW_VoxelArray;
{
public:
protected:
bool newobject) override;
int sx, int sy, int sz,
int dx, int dy, int dz,
int &rx, int &ry, int &rz,
int maxdist,
void fillRow(SNOW_VoxelArray &snow,
private:
SNOW_VoxelArray &snow,
void setVoxelArrayAttributes(
SNOW_VoxelArray *voxelarray) const;
DECLARE_STANDARD_GETCASTTOTYPE();
"SNOW Solver",
getSolverSNOWDopDescription());
};
#define VOXEL_EMPTY 0
#define VOXEL_SNOW 1
#define VOXEL_COMPRESSED 2
#define VOXEL_WALL 3
#define VOXEL_OBJECT 4
#define SNOW_NAME_DIVISIONS "div"
#define SNOW_NAME_CENTER "t"
#define SNOW_NAME_SIZE "size"
{
public:
protected:
private:
int x0, int y0, int z0,
int x3, int y3, int z3);
void buildGeometryFromArray();
void freeArray() const;
void allocateArray() const;
DECLARE_STANDARD_GETCASTTOTYPE();
"hdk_VoxelArray",
getVoxelArrayDopDescription()
);
};
{
public:
protected:
) const override;
private:
const SNOW_VoxelArray *myArray;
DECLARE_STANDARD_GETCASTTOTYPE();
"hdk_SnowVisualize",
getVisualizeDopDescription()
);
};
}
#endif