Function puma::generateRandomFibers(puma::Workspace *, puma::MatVec3<double> *, RandomFibersInput)
Defined in File randomfibers.h
Function Documentation
-
bool puma::generateRandomFibers(puma::Workspace *work, puma::MatVec3<double> *dirMatrix, 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 –
dirMatrix – object holds the direction vector for each point inside the material, aligned with the centerline of the cylinder
input – the RandomFibersInput details for the generation
- Returns
true if successful, false if it failing