Classes | |
struct | Params |
Functions | |
MRVOXELS_API Expected< Mesh > | build (const Vector3f &size, const Params ¶ms, const ProgressCallback &cb={}) |
Build a cellular surface of size size . | |
MRVOXELS_API Expected< Mesh > | fill (const Mesh &mesh, const Params ¶ms, const ProgressCallback &cb={}) |
Fill given mesh with a cellular surface. | |
MRVOXELS_API float | estimateDensity (float period, float width, float r) |
Estimate the density of the cellular surface. | |
MRVOXELS_API std::optional< float > | estimateWidth (float period, float r, float targetDensity) |
MRVOXELS_API Expected< Mesh > MR::FillingSurface::CellularSurface::build | ( | const Vector3f & | size, |
const Params & | params, | ||
const ProgressCallback & | cb = {} ) |
Build a cellular surface of size size
.
MRVOXELS_API float MR::FillingSurface::CellularSurface::estimateDensity | ( | float | period, |
float | width, | ||
float | r ) |
Estimate the density of the cellular surface.
MRVOXELS_API std::optional< float > MR::FillingSurface::CellularSurface::estimateWidth | ( | float | period, |
float | r, | ||
float | targetDensity ) |
Estimate the width that is needed to attain the targetDensity
. Inverse of estimateDensity.
MRVOXELS_API Expected< Mesh > MR::FillingSurface::CellularSurface::fill | ( | const Mesh & | mesh, |
const Params & | params, | ||
const ProgressCallback & | cb = {} ) |
Fill given mesh with a cellular surface.