Function puma::generateRandomSpheres(puma::Workspace *, RandomSpheresInput)¶
Defined in File randomspheres.h
Function Documentation¶
-
bool
puma::generateRandomSpheres(puma::Workspace *sphereWS, RandomSpheresInput input)¶ Generates random spheres based upon the given input and stores into the grayscale workspace. After generation, void is contained in grayscale values 0-127 and material is contained in grayscale values 128-255
- Parameters
sphereWS – the output workspace
input – the RandomSpheresInput details for the generation
- Returns
true if successful, false if it failing