Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointsToMeshParameters > |
| static auto | construct_from (sigma:f32, minWeight:f32, invSigmaModifier:f32, sqrtAngleWeight:bool, voxelSize:f32, ptColors:Option<&meshlib::VertColors >, vColors:Option<&mut meshlib::VertColors >, progress:&meshlib::std_function_bool_from_float, computeVolume:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolume) -> meshlib::Owned< meshlib::PointsToMeshParameters > |
| static auto | construct_from_another (_other:&meshlib::PointsToMeshParameters) -> meshlib::Owned< meshlib::PointsToMeshParameters > |
| 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 |
Generated from class MR::PointsToMeshParameters.
Generated from class MR::PointsToMeshParameters. Heap-allocated instances are held in Owned<PointsToMeshParameters>.
| auto meshlib::PointsToMeshParameters::assign_from_another | ( | _other:&meshlib::PointsToMeshParameters | ) | -> &mut meshlib::PointsToMeshParameters |
Generated from method MR::PointsToMeshParameters::operator=.
Calls MR_PointsToMeshParameters_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::PointsToMeshParameters::compute_volume | ( | ) | const -> &meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolume |
builds the intermediate volume, e.g. MR::Cuda::ComputePointsToDistanceVolume to build it on GPU; if it is not set or cannot process this input, MR::ComputePointsToDistanceVolume is used Returns a pointer to a member variable of class MR::PointsToMeshParameters named computeVolume.
Calls MR_PointsToMeshParameters_Get_computeVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::compute_volume_mut | ( | ) | -> &mut meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolume |
builds the intermediate volume, e.g. MR::Cuda::ComputePointsToDistanceVolume to build it on GPU; if it is not set or cannot process this input, MR::ComputePointsToDistanceVolume is used Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named computeVolume.
Calls MR_PointsToMeshParameters_GetMutable_computeVolume(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::PointsToMeshParameters elementwise.
Calls MR_PointsToMeshParameters_ConstructFrom(). The reference to the parameter ptColors might be preserved in the constructed object. The reference to the parameter vColors might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. The reference to the parameter computeVolume might be preserved in the constructed object.
|
static |
Generated from constructor MR::PointsToMeshParameters::PointsToMeshParameters.
Calls MR_PointsToMeshParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointsToMeshParameters::inv_sigma_modifier | ( | ) | const -> &f32 |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier.
Calls MR_PointsToMeshParameters_Get_invSigmaModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::inv_sigma_modifier_mut | ( | ) | -> &mut f32 |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named invSigmaModifier.
Calls MR_PointsToMeshParameters_GetMutable_invSigmaModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::min_weight | ( | ) | const -> &f32 |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Returns a pointer to a member variable of class MR::PointsToMeshParameters named minWeight.
Calls MR_PointsToMeshParameters_Get_minWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::min_weight_mut | ( | ) | -> &mut f32 |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named minWeight.
Calls MR_PointsToMeshParameters_GetMutable_minWeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointsToMeshParameters_DefaultConstruct().
| auto meshlib::PointsToMeshParameters::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
Progress callback Returns a pointer to a member variable of class MR::PointsToMeshParameters named progress.
Calls MR_PointsToMeshParameters_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
Progress callback Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named progress.
Calls MR_PointsToMeshParameters_GetMutable_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::pt_colors | ( | ) | const -> *const *const meshlib::ffi::MR_VertColors |
optional input: colors of input points Returns a pointer to a member variable of class MR::PointsToMeshParameters named ptColors.
Calls MR_PointsToMeshParameters_Get_ptColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::pt_colors_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertColors |
optional input: colors of input points Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named ptColors.
Calls MR_PointsToMeshParameters_GetMutable_ptColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::PointsToMeshParameters::set_compute_volume | ( | value:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolume | ) |
builds the intermediate volume, e.g. MR::Cuda::ComputePointsToDistanceVolume to build it on GPU; if it is not set or cannot process this input, MR::ComputePointsToDistanceVolume is used Modifies a member variable of class MR::PointsToMeshParameters named computeVolume.
Calls MR_PointsToMeshParameters_Set_computeVolume(). The reference to the parameter value might be preserved in this object in element computeVolume.
| void meshlib::PointsToMeshParameters::set_inv_sigma_modifier | ( | value:f32 | ) |
coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Modifies a member variable of class MR::PointsToMeshParameters named invSigmaModifier.
Calls MR_PointsToMeshParameters_Set_invSigmaModifier().
| void meshlib::PointsToMeshParameters::set_min_weight | ( | value:f32 | ) |
minimum sum of influence weights from surrounding points for a triangle to appear, meaning that there shall be at least this number of points in close proximity Modifies a member variable of class MR::PointsToMeshParameters named minWeight.
Calls MR_PointsToMeshParameters_Set_minWeight().
| void meshlib::PointsToMeshParameters::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
Progress callback Modifies a member variable of class MR::PointsToMeshParameters named progress.
Calls MR_PointsToMeshParameters_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.
| void meshlib::PointsToMeshParameters::set_pt_colors | ( | value:Option<&meshlib::VertColors > | ) |
optional input: colors of input points Modifies a member variable of class MR::PointsToMeshParameters named ptColors.
Calls MR_PointsToMeshParameters_Set_ptColors(). The reference to the parameter value might be preserved in this object in element ptColors.
| void meshlib::PointsToMeshParameters::set_sigma | ( | value:f32 | ) |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Modifies a member variable of class MR::PointsToMeshParameters named sigma.
Calls MR_PointsToMeshParameters_Set_sigma().
| void meshlib::PointsToMeshParameters::set_sqrt_angle_weight | ( | value:bool | ) |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Modifies a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight.
Calls MR_PointsToMeshParameters_Set_sqrtAngleWeight().
| void meshlib::PointsToMeshParameters::set_v_colors | ( | value:Option<&mut meshlib::VertColors > | ) |
optional output: averaged colors of mesh vertices Modifies a member variable of class MR::PointsToMeshParameters named vColors.
Calls MR_PointsToMeshParameters_Set_vColors(). The reference to the parameter value might be preserved in this object in element vColors.
| void meshlib::PointsToMeshParameters::set_voxel_size | ( | value:f32 | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::PointsToMeshParameters named voxelSize.
Calls MR_PointsToMeshParameters_Set_voxelSize().
| auto meshlib::PointsToMeshParameters::sigma | ( | ) | const -> &f32 |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a pointer to a member variable of class MR::PointsToMeshParameters named sigma.
Calls MR_PointsToMeshParameters_Get_sigma(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::sigma_mut | ( | ) | -> &mut f32 |
it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sigma.
Calls MR_PointsToMeshParameters_GetMutable_sigma(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::sqrt_angle_weight | ( | ) | const -> &bool |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Returns a pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight.
Calls MR_PointsToMeshParameters_Get_sqrtAngleWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::sqrt_angle_weight_mut | ( | ) | -> &mut bool |
changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named sqrtAngleWeight.
Calls MR_PointsToMeshParameters_GetMutable_sqrtAngleWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::v_colors | ( | ) | const -> *const *mut meshlib::ffi::MR_VertColors |
optional output: averaged colors of mesh vertices Returns a pointer to a member variable of class MR::PointsToMeshParameters named vColors.
Calls MR_PointsToMeshParameters_Get_vColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::v_colors_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_VertColors |
optional output: averaged colors of mesh vertices Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named vColors.
Calls MR_PointsToMeshParameters_GetMutable_vColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::voxel_size | ( | ) | const -> &f32 |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::PointsToMeshParameters named voxelSize.
Calls MR_PointsToMeshParameters_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToMeshParameters::voxel_size_mut | ( | ) | -> &mut f32 |
Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a mutable pointer to a member variable of class MR::PointsToMeshParameters named voxelSize.
Calls MR_PointsToMeshParameters_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.