Classes | |
| struct | MeshParams |
| struct | Type |
| struct | VolumeParams |
| auto meshlib::filling_surface::tpms::build | ( | size:&meshlib::Vector3f | , |
| params:&meshlib::filling_surface::tpms::MeshParams | , | ||
| cb:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
Constructs TPMS level-set and then convert it to mesh Generated from function MR::FillingSurface::TPMS::build.
Calls MR_FillingSurface_TPMS_build().
| auto meshlib::filling_surface::tpms::build_volume | ( | size:&meshlib::Vector3f | , |
| params:&meshlib::filling_surface::tpms::VolumeParams | ) -> meshlib::Owned< meshlib::FunctionVolume > |
Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces)
| size | Size of the cube with the surface |
size Generated from function MR::FillingSurface::TPMS::buildVolume.Calls MR_FillingSurface_TPMS_buildVolume().
| auto meshlib::filling_surface::tpms::estimate_density | ( | type:meshlib::filling_surface::tpms::Type | , |
| targetIso:f32 | ) -> f32 |
Returns approximate density corresponding to the given ISO value
| targetIso | value in [-1; 1] |
Calls MR_FillingSurface_TPMS_estimateDensity().
| auto meshlib::filling_surface::tpms::estimate_iso | ( | type:meshlib::filling_surface::tpms::Type | , |
| targetDensity:f32 | ) -> f32 |
Returns approximated ISO value corresponding to the given density
| targetDensity | value in [0; 1] |
Calls MR_FillingSurface_TPMS_estimateIso().
| auto meshlib::filling_surface::tpms::fill | ( | mesh:&meshlib::Mesh | , |
| params:&meshlib::filling_surface::tpms::MeshParams | , | ||
| cb:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
Constructs TPMS-filling for the given mesh Generated from function MR::FillingSurface::TPMS::fill.
Calls MR_FillingSurface_TPMS_fill().
| auto meshlib::filling_surface::tpms::get_minimal_resolution | ( | type:meshlib::filling_surface::tpms::Type | , |
| iso:f32 | ) -> f32 |
Returns minimal reasonable resolution for given parameters Generated from function MR::FillingSurface::TPMS::getMinimalResolution.
Calls MR_FillingSurface_TPMS_getMinimalResolution().
| auto meshlib::filling_surface::tpms::get_number_of_voxels_mr_mesh | ( | mesh:&meshlib::Mesh | , |
| frequency:f32 | , | ||
| resolution:f32 | ) -> usize |
Returns number of voxels that would be used to perform fill Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels.
Calls MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Mesh().
| auto meshlib::filling_surface::tpms::get_number_of_voxels_mr_vector3f | ( | size:&meshlib::Vector3f | , |
| frequency:f32 | , | ||
| resolution:f32 | ) -> usize |
Returns number of voxels that would be used to perform build or buildVolume Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels.
Calls MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Vector3f().
| auto meshlib::filling_surface::tpms::get_type_names | ( | ) | -> meshlib::Owned< meshlib::std_vector_std_string > |
Returns the names for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeNames.
Calls MR_FillingSurface_TPMS_getTypeNames().
| auto meshlib::filling_surface::tpms::get_type_tooltips | ( | ) | -> meshlib::Owned< meshlib::std_vector_std_string > |
Returns the tooltips for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeTooltips.
Calls MR_FillingSurface_TPMS_getTypeTooltips().
| auto meshlib::filling_surface::tpms::is_thick | ( | type:meshlib::filling_surface::tpms::Type | ) | -> bool |
Returns true if the type is thick Generated from function MR::FillingSurface::TPMS::isThick.
Calls MR_FillingSurface_TPMS_isThick().