Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointsToDistanceVolumeParams > |
| static auto | construct_from_another (_other:&meshlib::PointsToDistanceVolumeParams) -> meshlib::Owned< meshlib::PointsToDistanceVolumeParams > |
| static auto | static_downcast_from_distance_volume_params (object:&meshlib::DistanceVolumeParams) -> &Self |
| static auto | static_downcast_from_distance_volume_params_mut (object:&mut meshlib::DistanceVolumeParams) -> &mut Self |
| 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::PointsToDistanceVolumeParams. Base classes: Direct: (non-virtual) MR::DistanceVolumeParams
Generated from class MR::PointsToDistanceVolumeParams. Heap-allocated instances are held in Owned<PointsToDistanceVolumeParams>.
| auto meshlib::PointsToDistanceVolumeParams::assign_from_another | ( | _other:&meshlib::PointsToDistanceVolumeParams | ) | -> &mut meshlib::PointsToDistanceVolumeParams |
Generated from method MR::PointsToDistanceVolumeParams::operator=.
Calls MR_PointsToDistanceVolumeParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::PointsToDistanceVolumeParams::cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
progress callback Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named cb.
Calls MR_PointsToDistanceVolumeParams_Get_cb(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
progress callback Returns a mutable pointer to a member variable of class MR::PointsToDistanceVolumeParams named cb.
Calls MR_PointsToDistanceVolumeParams_GetMutable_cb(). The reference to this object might be preserved as the return value.
|
static |
Generated from constructor MR::PointsToDistanceVolumeParams::PointsToDistanceVolumeParams.
Calls MR_PointsToDistanceVolumeParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointsToDistanceVolumeParams::dimensions | ( | ) | const -> &meshlib::Vector3i |
num voxels along each axis Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named dimensions.
Calls MR_PointsToDistanceVolumeParams_Get_dimensions(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::dimensions_mut | ( | ) | -> &mut meshlib::Vector3i |
num voxels along each axis Returns a mutable pointer to a member variable of class MR::PointsToDistanceVolumeParams named dimensions.
Calls MR_PointsToDistanceVolumeParams_GetMutable_dimensions(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named invSigmaModifier.
Calls MR_PointsToDistanceVolumeParams_Get_invSigmaModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named invSigmaModifier.
Calls MR_PointsToDistanceVolumeParams_GetMutable_invSigmaModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::min_weight | ( | ) | const -> &f32 |
minimum sum of influence weights from surrounding points for a voxel to get a value, meaning that there shall be at least this number of points in close proximity Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named minWeight.
Calls MR_PointsToDistanceVolumeParams_Get_minWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::min_weight_mut | ( | ) | -> &mut f32 |
minimum sum of influence weights from surrounding points for a voxel to get a value, 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::PointsToDistanceVolumeParams named minWeight.
Calls MR_PointsToDistanceVolumeParams_GetMutable_minWeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointsToDistanceVolumeParams_DefaultConstruct().
| auto meshlib::PointsToDistanceVolumeParams::origin | ( | ) | const -> &meshlib::Vector3f |
origin point of voxels box Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named origin.
Calls MR_PointsToDistanceVolumeParams_Get_origin(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::origin_mut | ( | ) | -> &mut meshlib::Vector3f |
origin point of voxels box Returns a mutable pointer to a member variable of class MR::PointsToDistanceVolumeParams named origin.
Calls MR_PointsToDistanceVolumeParams_GetMutable_origin(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::pt_normals | ( | ) | const -> *const *const meshlib::ffi::MR_VertCoords |
optional input: if this pointer is set then function will use these normals instead of ones present in cloud Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named ptNormals.
Calls MR_PointsToDistanceVolumeParams_Get_ptNormals(). 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::PointsToDistanceVolumeParams::pt_normals_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertCoords |
optional input: if this pointer is set then function will use these normals instead of ones present in cloud Returns a mutable pointer to a member variable of class MR::PointsToDistanceVolumeParams named ptNormals.
Calls MR_PointsToDistanceVolumeParams_GetMutable_ptNormals(). 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::PointsToDistanceVolumeParams::set_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
progress callback Modifies a member variable of class MR::PointsToDistanceVolumeParams named cb.
Calls MR_PointsToDistanceVolumeParams_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.
| void meshlib::PointsToDistanceVolumeParams::set_dimensions | ( | value:meshlib::Vector3i | ) |
num voxels along each axis Modifies a member variable of class MR::PointsToDistanceVolumeParams named dimensions.
Calls MR_PointsToDistanceVolumeParams_Set_dimensions(). The reference to the parameter value might be preserved in this object in element dimensions.
| void meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named invSigmaModifier.
Calls MR_PointsToDistanceVolumeParams_Set_invSigmaModifier().
| void meshlib::PointsToDistanceVolumeParams::set_min_weight | ( | value:f32 | ) |
minimum sum of influence weights from surrounding points for a voxel to get a value, meaning that there shall be at least this number of points in close proximity Modifies a member variable of class MR::PointsToDistanceVolumeParams named minWeight.
Calls MR_PointsToDistanceVolumeParams_Set_minWeight().
| void meshlib::PointsToDistanceVolumeParams::set_origin | ( | value:meshlib::Vector3f | ) |
origin point of voxels box Modifies a member variable of class MR::PointsToDistanceVolumeParams named origin.
Calls MR_PointsToDistanceVolumeParams_Set_origin(). The reference to the parameter value might be preserved in this object in element origin.
| void meshlib::PointsToDistanceVolumeParams::set_pt_normals | ( | value:Option<&meshlib::VertCoords > | ) |
optional input: if this pointer is set then function will use these normals instead of ones present in cloud Modifies a member variable of class MR::PointsToDistanceVolumeParams named ptNormals.
Calls MR_PointsToDistanceVolumeParams_Set_ptNormals(). The reference to the parameter value might be preserved in this object in element ptNormals.
| void meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sigma.
Calls MR_PointsToDistanceVolumeParams_Set_sigma().
| void meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sqrtAngleWeight.
Calls MR_PointsToDistanceVolumeParams_Set_sqrtAngleWeight().
| void meshlib::PointsToDistanceVolumeParams::set_voxel_size | ( | value:meshlib::Vector3f | ) |
size of voxel on each axis Modifies a member variable of class MR::PointsToDistanceVolumeParams named voxelSize.
Calls MR_PointsToDistanceVolumeParams_Set_voxelSize(). The reference to the parameter value might be preserved in this object in element voxelSize.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sigma.
Calls MR_PointsToDistanceVolumeParams_Get_sigma(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sigma.
Calls MR_PointsToDistanceVolumeParams_GetMutable_sigma(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sqrtAngleWeight.
Calls MR_PointsToDistanceVolumeParams_Get_sqrtAngleWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::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::PointsToDistanceVolumeParams named sqrtAngleWeight.
Calls MR_PointsToDistanceVolumeParams_GetMutable_sqrtAngleWeight(). The reference to this object might be preserved as the return value.
|
static |
Static downcast from the base class MR::DistanceVolumeParams.
Calls MR_PointsToDistanceVolumeParams_StaticDowncastFrom_MR_DistanceVolumeParams(). Undefined behavior if the object isn't actually a PointsToDistanceVolumeParams.
|
static |
Static downcast from the base class MR::DistanceVolumeParams.
Calls MR_PointsToDistanceVolumeParams_MutableStaticDowncastFrom_MR_DistanceVolumeParams(). Undefined behavior if the object isn't actually a PointsToDistanceVolumeParams.
| auto meshlib::PointsToDistanceVolumeParams::upcast_to_distance_volume_params | ( | ) | const -> &meshlib::DistanceVolumeParams |
Upcasts to the base class MR::DistanceVolumeParams.
Calls MR_PointsToDistanceVolumeParams_UpcastTo_MR_DistanceVolumeParams().
| auto meshlib::PointsToDistanceVolumeParams::upcast_to_distance_volume_params_mut | ( | ) | -> &mut meshlib::DistanceVolumeParams |
Upcasts to the base class MR::DistanceVolumeParams.
Calls MR_PointsToDistanceVolumeParams_MutableUpcastTo_MR_DistanceVolumeParams().
| auto meshlib::PointsToDistanceVolumeParams::voxel_size | ( | ) | const -> &meshlib::Vector3f |
size of voxel on each axis Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named voxelSize.
Calls MR_PointsToDistanceVolumeParams_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::PointsToDistanceVolumeParams::voxel_size_mut | ( | ) | -> &mut meshlib::Vector3f |
size of voxel on each axis Returns a mutable pointer to a member variable of class MR::PointsToDistanceVolumeParams named voxelSize.
Calls MR_PointsToDistanceVolumeParams_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.