Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ShrinkwrapParameters) -> &mut meshlib::ShrinkwrapParameters |
| auto | offset () const -> &f32 |
| auto | offset_mut () -> &mut f32 |
| void | set_offset (value:f32) |
| auto | region () const -> *const *const meshlib::ffi::MR_VertBitSet |
| auto | region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet |
| void | set_region (value:Option<&meshlib::VertBitSet >) |
| auto | projector () const -> *const *mut meshlib::ffi::MR_IPointsToMeshProjector |
| auto | projector_mut () -> *mut *mut meshlib::ffi::MR_IPointsToMeshProjector |
| void | set_projector (value:Option<&mut meshlib::IPointsToMeshProjector >) |
| auto | lo_dist_limit_sq () const -> &f32 |
| auto | lo_dist_limit_sq_mut () -> &mut f32 |
| void | set_lo_dist_limit_sq (value:f32) |
| auto | up_dist_limit_sq () const -> &f32 |
| auto | up_dist_limit_sq_mut () -> &mut f32 |
| void | set_up_dist_limit_sq (value:f32) |
| auto | ref_xf () const -> *const *const meshlib::AffineXf3f |
| auto | ref_xf_mut () -> *mut *const meshlib::AffineXf3f |
| void | set_ref_xf (value:Option<&meshlib::AffineXf3f >) |
| auto | xf () const -> *const *const meshlib::AffineXf3f |
| auto | xf_mut () -> *mut *const meshlib::AffineXf3f |
| void | set_xf (value:Option<&meshlib::AffineXf3f >) |
| auto | upcast_to_mesh_projection_parameters () const -> &meshlib::MeshProjectionParameters |
| auto | upcast_to_mesh_projection_parameters_mut () -> &mut meshlib::MeshProjectionParameters |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ShrinkwrapParameters > |
| static auto | construct_from_another (_other:&meshlib::ShrinkwrapParameters) -> meshlib::Owned< meshlib::ShrinkwrapParameters > |
| static auto | static_downcast_from_mesh_projection_parameters (object:&meshlib::MeshProjectionParameters) -> &Self |
| static auto | static_downcast_from_mesh_projection_parameters_mut (object:&mut meshlib::MeshProjectionParameters) -> &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::ShrinkwrapParameters. Base classes: Direct: (non-virtual) MR::MeshProjectionParameters
Generated from class MR::ShrinkwrapParameters. Heap-allocated instances are held in Owned<ShrinkwrapParameters>.
| auto meshlib::ShrinkwrapParameters::assign_from_another | ( | _other:&meshlib::ShrinkwrapParameters | ) | -> &mut meshlib::ShrinkwrapParameters |
Generated from method MR::ShrinkwrapParameters::operator=.
Calls MR_ShrinkwrapParameters_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::ShrinkwrapParameters::ShrinkwrapParameters.
Calls MR_ShrinkwrapParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ShrinkwrapParameters::lo_dist_limit_sq | ( | ) | const -> &f32 |
minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Returns a pointer to a member variable of class MR::ShrinkwrapParameters named loDistLimitSq.
Calls MR_ShrinkwrapParameters_Get_loDistLimitSq(). The reference to this object might be preserved as the return value.
| auto meshlib::ShrinkwrapParameters::lo_dist_limit_sq_mut | ( | ) | -> &mut f32 |
minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named loDistLimitSq.
Calls MR_ShrinkwrapParameters_GetMutable_loDistLimitSq(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ShrinkwrapParameters_DefaultConstruct().
| auto meshlib::ShrinkwrapParameters::offset | ( | ) | const -> &f32 |
each vertex is displaced by this distance from the closest point found, along the pseudonormal of refMesh there: positive - outside refMesh, negative - inside; measured in refMesh coordinates Returns a pointer to a member variable of class MR::ShrinkwrapParameters named offset.
Calls MR_ShrinkwrapParameters_Get_offset(). The reference to this object might be preserved as the return value.
| auto meshlib::ShrinkwrapParameters::offset_mut | ( | ) | -> &mut f32 |
each vertex is displaced by this distance from the closest point found, along the pseudonormal of refMesh there: positive - outside refMesh, negative - inside; measured in refMesh coordinates Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named offset.
Calls MR_ShrinkwrapParameters_GetMutable_offset(). The reference to this object might be preserved as the return value.
| auto meshlib::ShrinkwrapParameters::projector | ( | ) | const -> *const *mut meshlib::ffi::MR_IPointsToMeshProjector |
if provided then the projections are computed by it, otherwise CPU's computations are used Returns a pointer to a member variable of class MR::ShrinkwrapParameters named projector.
Calls MR_ShrinkwrapParameters_Get_projector(). 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::ShrinkwrapParameters::projector_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_IPointsToMeshProjector |
if provided then the projections are computed by it, otherwise CPU's computations are used Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named projector.
Calls MR_ShrinkwrapParameters_GetMutable_projector(). 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::ShrinkwrapParameters::ref_xf | ( | ) | const -> *const *const meshlib::AffineXf3f |
optional reference mesh to world transformation Returns a pointer to a member variable of class MR::ShrinkwrapParameters named refXf.
Calls MR_ShrinkwrapParameters_Get_refXf(). 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::ShrinkwrapParameters::ref_xf_mut | ( | ) | -> *mut *const meshlib::AffineXf3f |
optional reference mesh to world transformation Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named refXf.
Calls MR_ShrinkwrapParameters_GetMutable_refXf(). 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::ShrinkwrapParameters::region | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
if provided then only the vertices from this region are moved, and the others remain in place Returns a pointer to a member variable of class MR::ShrinkwrapParameters named region.
Calls MR_ShrinkwrapParameters_Get_region(). 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::ShrinkwrapParameters::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
if provided then only the vertices from this region are moved, and the others remain in place Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named region.
Calls MR_ShrinkwrapParameters_GetMutable_region(). 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::ShrinkwrapParameters::set_lo_dist_limit_sq | ( | value:f32 | ) |
minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Modifies a member variable of class MR::ShrinkwrapParameters named loDistLimitSq.
Calls MR_ShrinkwrapParameters_Set_loDistLimitSq().
| void meshlib::ShrinkwrapParameters::set_offset | ( | value:f32 | ) |
each vertex is displaced by this distance from the closest point found, along the pseudonormal of refMesh there: positive - outside refMesh, negative - inside; measured in refMesh coordinates Modifies a member variable of class MR::ShrinkwrapParameters named offset.
Calls MR_ShrinkwrapParameters_Set_offset().
| void meshlib::ShrinkwrapParameters::set_projector | ( | value:Option<&mut meshlib::IPointsToMeshProjector > | ) |
if provided then the projections are computed by it, otherwise CPU's computations are used Modifies a member variable of class MR::ShrinkwrapParameters named projector.
Calls MR_ShrinkwrapParameters_Set_projector(). The reference to the parameter value might be preserved in this object in element projector.
| void meshlib::ShrinkwrapParameters::set_ref_xf | ( | value:Option<&meshlib::AffineXf3f > | ) |
optional reference mesh to world transformation Modifies a member variable of class MR::ShrinkwrapParameters named refXf.
Calls MR_ShrinkwrapParameters_Set_refXf(). The reference to the parameter value might be preserved in this object in element refXf.
| void meshlib::ShrinkwrapParameters::set_region | ( | value:Option<&meshlib::VertBitSet > | ) |
if provided then only the vertices from this region are moved, and the others remain in place Modifies a member variable of class MR::ShrinkwrapParameters named region.
Calls MR_ShrinkwrapParameters_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::ShrinkwrapParameters::set_up_dist_limit_sq | ( | value:f32 | ) |
maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Modifies a member variable of class MR::ShrinkwrapParameters named upDistLimitSq.
Calls MR_ShrinkwrapParameters_Set_upDistLimitSq().
| void meshlib::ShrinkwrapParameters::set_xf | ( | value:Option<&meshlib::AffineXf3f > | ) |
optional test points to world transformation Modifies a member variable of class MR::ShrinkwrapParameters named xf.
Calls MR_ShrinkwrapParameters_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.
|
static |
Static downcast from the base class MR::MeshProjectionParameters.
Calls MR_ShrinkwrapParameters_StaticDowncastFrom_MR_MeshProjectionParameters(). Undefined behavior if the object isn't actually a ShrinkwrapParameters.
|
static |
Static downcast from the base class MR::MeshProjectionParameters.
Calls MR_ShrinkwrapParameters_MutableStaticDowncastFrom_MR_MeshProjectionParameters(). Undefined behavior if the object isn't actually a ShrinkwrapParameters.
| auto meshlib::ShrinkwrapParameters::up_dist_limit_sq | ( | ) | const -> &f32 |
maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Returns a pointer to a member variable of class MR::ShrinkwrapParameters named upDistLimitSq.
Calls MR_ShrinkwrapParameters_Get_upDistLimitSq(). The reference to this object might be preserved as the return value.
| auto meshlib::ShrinkwrapParameters::up_dist_limit_sq_mut | ( | ) | -> &mut f32 |
maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named upDistLimitSq.
Calls MR_ShrinkwrapParameters_GetMutable_upDistLimitSq(). The reference to this object might be preserved as the return value.
| auto meshlib::ShrinkwrapParameters::upcast_to_mesh_projection_parameters | ( | ) | const -> &meshlib::MeshProjectionParameters |
Upcasts to the base class MR::MeshProjectionParameters.
Calls MR_ShrinkwrapParameters_UpcastTo_MR_MeshProjectionParameters().
| auto meshlib::ShrinkwrapParameters::upcast_to_mesh_projection_parameters_mut | ( | ) | -> &mut meshlib::MeshProjectionParameters |
Upcasts to the base class MR::MeshProjectionParameters.
Calls MR_ShrinkwrapParameters_MutableUpcastTo_MR_MeshProjectionParameters().
| auto meshlib::ShrinkwrapParameters::xf | ( | ) | const -> *const *const meshlib::AffineXf3f |
optional test points to world transformation Returns a pointer to a member variable of class MR::ShrinkwrapParameters named xf.
Calls MR_ShrinkwrapParameters_Get_xf(). 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::ShrinkwrapParameters::xf_mut | ( | ) | -> *mut *const meshlib::AffineXf3f |
optional test points to world transformation Returns a mutable pointer to a member variable of class MR::ShrinkwrapParameters named xf.
Calls MR_ShrinkwrapParameters_GetMutable_xf(). 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.