#include <MRFillingSurface.h>
Public Attributes | |
| Type | type = Type::Cylinder |
| the type of the base element | |
| Vector3f | period = Vector3f::diagonal( 1.f ) |
| the distance between consecutive cylinders in each direction | |
| Vector3f | width = Vector3f::diagonal( 0.3f ) |
| the width of cylinders in each direction | |
| float | r = 0.f |
| the radius of uniting spheres | |
| bool | highRes = false |
| bool | preserveTips = false |
| bool MR::FillingSurface::CellularSurface::Params::highRes = false |
used in tests in order to make surfaces close to their analytical expression recommended to be false for real usage for better performance
| Vector3f MR::FillingSurface::CellularSurface::Params::period = Vector3f::diagonal( 1.f ) |
the distance between consecutive cylinders in each direction
| bool MR::FillingSurface::CellularSurface::Params::preserveTips = false |
Used in tests for roughly the same purpose: the computations of density estimation are made under the assumption of an infinite surface. Thus, we must impose "boundary conditions" that inflict the "tips" of the bars (cylinders or cubes) to be preserved on the boundary of the generated filling surface. However, for the aesthetic reasons, it was requested that the tips must be cut in the UI. And here comes this flag. Note that for the estimation of density in UI the influence of "tips" is not significant (it tends to zero with growing size), however we cannot afford to run tests on too big surfaces as it takes too long.
| float MR::FillingSurface::CellularSurface::Params::r = 0.f |
the radius of uniting spheres
| Type MR::FillingSurface::CellularSurface::Params::type = Type::Cylinder |
the type of the base element
| Vector3f MR::FillingSurface::CellularSurface::Params::width = Vector3f::diagonal( 0.3f ) |
the width of cylinders in each direction