Parameters for volume segmentation. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VolumeSegmentationParameters) -> &mut meshlib::VolumeSegmentationParameters |
| auto | build_path_exponent_modifier () const -> &f32 |
| auto | build_path_exponent_modifier_mut () -> &mut f32 |
| void | set_build_path_exponent_modifier (value:f32) |
| auto | segmentation_exponent_modifier () const -> &f32 |
| auto | segmentation_exponent_modifier_mut () -> &mut f32 |
| void | set_segmentation_exponent_modifier (value:f32) |
| auto | voxels_expansion () const -> &core::ffi::c_int |
| auto | voxels_expansion_mut () -> &mut core::ffi::c_int |
| void | set_voxels_expansion (value:core::ffi::c_int) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VolumeSegmentationParameters > |
| static auto | construct_from (buildPathExponentModifier:f32, segmentationExponentModifier:f32, voxelsExpansion:core::ffi::c_int) -> meshlib::Owned< meshlib::VolumeSegmentationParameters > |
| static auto | construct_from_another (_other:&meshlib::VolumeSegmentationParameters) -> meshlib::Owned< meshlib::VolumeSegmentationParameters > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Parameters for volume segmentation.
Generated from class MR::VolumeSegmentationParameters.
Generated from class MR::VolumeSegmentationParameters. Heap-allocated instances are held in Owned<VolumeSegmentationParameters>.
| auto meshlib::VolumeSegmentationParameters::assign_from_another | ( | _other:&meshlib::VolumeSegmentationParameters | ) | -> &mut meshlib::VolumeSegmentationParameters |
Generated from method MR::VolumeSegmentationParameters::operator=.
Calls MR_VolumeSegmentationParameters_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VolumeSegmentationParameters::build_path_exponent_modifier | ( | ) | const -> &f32 |
Exponent modifier of path building metric (paths are built between voxel pairs and then marked as tooth seed) Returns a pointer to a member variable of class MR::VolumeSegmentationParameters named buildPathExponentModifier.
Calls MR_VolumeSegmentationParameters_Get_buildPathExponentModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::VolumeSegmentationParameters::build_path_exponent_modifier_mut | ( | ) | -> &mut f32 |
Exponent modifier of path building metric (paths are built between voxel pairs and then marked as tooth seed) Returns a mutable pointer to a member variable of class MR::VolumeSegmentationParameters named buildPathExponentModifier.
Calls MR_VolumeSegmentationParameters_GetMutable_buildPathExponentModifier(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::VolumeSegmentationParameters elementwise.
Calls MR_VolumeSegmentationParameters_ConstructFrom().
|
static |
Generated from constructor MR::VolumeSegmentationParameters::VolumeSegmentationParameters.
Calls MR_VolumeSegmentationParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_VolumeSegmentationParameters_DefaultConstruct().
| auto meshlib::VolumeSegmentationParameters::segmentation_exponent_modifier | ( | ) | const -> &f32 |
Exponent modifier of graph cutting metric (volume presents graph with seeds, this graph are min cut) Returns a pointer to a member variable of class MR::VolumeSegmentationParameters named segmentationExponentModifier.
Calls MR_VolumeSegmentationParameters_Get_segmentationExponentModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::VolumeSegmentationParameters::segmentation_exponent_modifier_mut | ( | ) | -> &mut f32 |
Exponent modifier of graph cutting metric (volume presents graph with seeds, this graph are min cut) Returns a mutable pointer to a member variable of class MR::VolumeSegmentationParameters named segmentationExponentModifier.
Calls MR_VolumeSegmentationParameters_GetMutable_segmentationExponentModifier(). The reference to this object might be preserved as the return value.
| void meshlib::VolumeSegmentationParameters::set_build_path_exponent_modifier | ( | value:f32 | ) |
Exponent modifier of path building metric (paths are built between voxel pairs and then marked as tooth seed) Modifies a member variable of class MR::VolumeSegmentationParameters named buildPathExponentModifier.
Calls MR_VolumeSegmentationParameters_Set_buildPathExponentModifier().
| void meshlib::VolumeSegmentationParameters::set_segmentation_exponent_modifier | ( | value:f32 | ) |
Exponent modifier of graph cutting metric (volume presents graph with seeds, this graph are min cut) Modifies a member variable of class MR::VolumeSegmentationParameters named segmentationExponentModifier.
Calls MR_VolumeSegmentationParameters_Set_segmentationExponentModifier().
| void meshlib::VolumeSegmentationParameters::set_voxels_expansion | ( | value:core::ffi::c_int | ) |
Segment box expansion (only part of volume are segmented, this parameter shows how much to expand this part) Modifies a member variable of class MR::VolumeSegmentationParameters named voxelsExpansion.
Calls MR_VolumeSegmentationParameters_Set_voxelsExpansion().
| auto meshlib::VolumeSegmentationParameters::voxels_expansion | ( | ) | const -> &core::ffi::c_int |
Segment box expansion (only part of volume are segmented, this parameter shows how much to expand this part) Returns a pointer to a member variable of class MR::VolumeSegmentationParameters named voxelsExpansion.
Calls MR_VolumeSegmentationParameters_Get_voxelsExpansion(). The reference to this object might be preserved as the return value.
| auto meshlib::VolumeSegmentationParameters::voxels_expansion_mut | ( | ) | -> &mut core::ffi::c_int |
Segment box expansion (only part of volume are segmented, this parameter shows how much to expand this part) Returns a mutable pointer to a member variable of class MR::VolumeSegmentationParameters named voxelsExpansion.
Calls MR_VolumeSegmentationParameters_GetMutable_voxelsExpansion(). The reference to this object might be preserved as the return value.