Function puma::generateRandomFibers(puma::Workspace *, RandomFibersInput)

Function Documentation

bool puma::generateRandomFibers(puma::Workspace *work, RandomFibersInput input)

Generates random fibers 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
  • work – output workspace

  • input – the RandomFibersInput details for the generation

Returns

true if successful, false if it failing