MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::ContoursDistanceMapOptions Struct Reference
Inheritance diagram for meshlib::ContoursDistanceMapOptions:

Public Member Functions

auto assign_from_another (_other:&meshlib::ContoursDistanceMapOptions) -> &mut meshlib::ContoursDistanceMapOptions
auto sign_method () const -> &meshlib::ContoursDistanceMapOptions_SignedDetectionMethod
auto sign_method_mut () -> &mut meshlib::ContoursDistanceMapOptions_SignedDetectionMethod
void set_sign_method (value:meshlib::ContoursDistanceMapOptions_SignedDetectionMethod)
auto offset_parameters () const -> *const *const meshlib::ffi::MR_ContoursDistanceMapOffset
auto offset_parameters_mut () -> *mut *const meshlib::ffi::MR_ContoursDistanceMapOffset
void set_offset_parameters (value:Option<&meshlib::ContoursDistanceMapOffset >)
auto region () const -> *const *const meshlib::ffi::MR_PixelBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_PixelBitSet
void set_region (value:Option<&meshlib::PixelBitSet >)
auto out_closest_edges () const -> *const *mut meshlib::ffi::MR_std_vector_MR_UndirectedEdgeId
auto out_closest_edges_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_UndirectedEdgeId
void set_out_closest_edges (value:Option<&mut meshlib::std_vector_MR_UndirectedEdgeId >)
auto min_dist () const -> &f32
auto min_dist_mut () -> &mut f32
void set_min_dist (value:f32)
auto max_dist () const -> &f32
auto max_dist_mut () -> &mut f32
void set_max_dist (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
static auto construct_from (signMethod:meshlib::ContoursDistanceMapOptions_SignedDetectionMethod, offsetParameters:Option<&meshlib::ContoursDistanceMapOffset >, region:Option<&meshlib::PixelBitSet >, outClosestEdges:Option<&mut meshlib::std_vector_MR_UndirectedEdgeId >, minDist:f32, maxDist:f32) -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
static auto construct_from_another (_other:&meshlib::ContoursDistanceMapOptions) -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
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

Detailed Description

Generated from class MR::ContoursDistanceMapOptions.

Generated from class MR::ContoursDistanceMapOptions. Heap-allocated instances are held in Owned<ContoursDistanceMapOptions>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::ContoursDistanceMapOptions::assign_from_another ( _other:&meshlib::ContoursDistanceMapOptions ) -> &mut meshlib::ContoursDistanceMapOptions

Generated from method MR::ContoursDistanceMapOptions::operator=.

Calls MR_ContoursDistanceMapOptions_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::ContoursDistanceMapOptions::construct_from ( signMethod:meshlib::ContoursDistanceMapOptions_SignedDetectionMethod ,
offsetParameters:Option<&meshlib::ContoursDistanceMapOffset > ,
region:Option<&meshlib::PixelBitSet > ,
outClosestEdges:Option<&mut meshlib::std_vector_MR_UndirectedEdgeId > ,
minDist:f32 ,
maxDist:f32  ) -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
static

Constructs MR::ContoursDistanceMapOptions elementwise.

Calls MR_ContoursDistanceMapOptions_ConstructFrom(). The reference to the parameter signMethod might be preserved in the constructed object. The reference to the parameter offsetParameters might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter outClosestEdges might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::ContoursDistanceMapOptions::construct_from_another ( _other:&meshlib::ContoursDistanceMapOptions ) -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
static

Generated from constructor MR::ContoursDistanceMapOptions::ContoursDistanceMapOptions.

Calls MR_ContoursDistanceMapOptions_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ max_dist()

auto meshlib::ContoursDistanceMapOptions::max_dist ( ) const -> &f32

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present) Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named maxDist.

Calls MR_ContoursDistanceMapOptions_Get_maxDist(). The reference to this object might be preserved as the return value.

◆ max_dist_mut()

auto meshlib::ContoursDistanceMapOptions::max_dist_mut ( ) -> &mut f32

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present) Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named maxDist.

Calls MR_ContoursDistanceMapOptions_GetMutable_maxDist(). The reference to this object might be preserved as the return value.

◆ min_dist()

auto meshlib::ContoursDistanceMapOptions::min_dist ( ) const -> &f32

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise) Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named minDist.

Calls MR_ContoursDistanceMapOptions_Get_minDist(). The reference to this object might be preserved as the return value.

◆ min_dist_mut()

auto meshlib::ContoursDistanceMapOptions::min_dist_mut ( ) -> &mut f32

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise) Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named minDist.

Calls MR_ContoursDistanceMapOptions_GetMutable_minDist(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::ContoursDistanceMapOptions::new ( ) -> meshlib::Owned< meshlib::ContoursDistanceMapOptions >
static

Constructs an empty (default-constructed) instance.

Calls MR_ContoursDistanceMapOptions_DefaultConstruct().

◆ offset_parameters()

auto meshlib::ContoursDistanceMapOptions::offset_parameters ( ) const -> *const *const meshlib::ffi::MR_ContoursDistanceMapOffset

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named offsetParameters.

Calls MR_ContoursDistanceMapOptions_Get_offsetParameters(). 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.

◆ offset_parameters_mut()

auto meshlib::ContoursDistanceMapOptions::offset_parameters_mut ( ) -> *mut *const meshlib::ffi::MR_ContoursDistanceMapOffset

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named offsetParameters.

Calls MR_ContoursDistanceMapOptions_GetMutable_offsetParameters(). 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.

◆ out_closest_edges()

auto meshlib::ContoursDistanceMapOptions::out_closest_edges ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_UndirectedEdgeId

optional output vector of closest polyline edge per each pixel of distance map Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named outClosestEdges.

Calls MR_ContoursDistanceMapOptions_Get_outClosestEdges(). 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.

◆ out_closest_edges_mut()

auto meshlib::ContoursDistanceMapOptions::out_closest_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_UndirectedEdgeId

optional output vector of closest polyline edge per each pixel of distance map Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named outClosestEdges.

Calls MR_ContoursDistanceMapOptions_GetMutable_outClosestEdges(). 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.

◆ region()

auto meshlib::ContoursDistanceMapOptions::region ( ) const -> *const *const meshlib::ffi::MR_PixelBitSet

if pointer is valid, then only these pixels will be filled Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named region.

Calls MR_ContoursDistanceMapOptions_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.

◆ region_mut()

auto meshlib::ContoursDistanceMapOptions::region_mut ( ) -> *mut *const meshlib::ffi::MR_PixelBitSet

if pointer is valid, then only these pixels will be filled Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named region.

Calls MR_ContoursDistanceMapOptions_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.

◆ set_max_dist()

void meshlib::ContoursDistanceMapOptions::set_max_dist ( value:f32 )

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present) Modifies a member variable of class MR::ContoursDistanceMapOptions named maxDist.

Calls MR_ContoursDistanceMapOptions_Set_maxDist().

◆ set_min_dist()

void meshlib::ContoursDistanceMapOptions::set_min_dist ( value:f32 )

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise) Modifies a member variable of class MR::ContoursDistanceMapOptions named minDist.

Calls MR_ContoursDistanceMapOptions_Set_minDist().

◆ set_offset_parameters()

void meshlib::ContoursDistanceMapOptions::set_offset_parameters ( value:Option<&meshlib::ContoursDistanceMapOffset > )

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description Modifies a member variable of class MR::ContoursDistanceMapOptions named offsetParameters.

Calls MR_ContoursDistanceMapOptions_Set_offsetParameters(). The reference to the parameter value might be preserved in this object in element offsetParameters.

◆ set_out_closest_edges()

void meshlib::ContoursDistanceMapOptions::set_out_closest_edges ( value:Option<&mut meshlib::std_vector_MR_UndirectedEdgeId > )

optional output vector of closest polyline edge per each pixel of distance map Modifies a member variable of class MR::ContoursDistanceMapOptions named outClosestEdges.

Calls MR_ContoursDistanceMapOptions_Set_outClosestEdges(). The reference to the parameter value might be preserved in this object in element outClosestEdges.

◆ set_region()

void meshlib::ContoursDistanceMapOptions::set_region ( value:Option<&meshlib::PixelBitSet > )

if pointer is valid, then only these pixels will be filled Modifies a member variable of class MR::ContoursDistanceMapOptions named region.

Calls MR_ContoursDistanceMapOptions_Set_region(). The reference to the parameter value might be preserved in this object in element region.

◆ set_sign_method()

void meshlib::ContoursDistanceMapOptions::set_sign_method ( value:meshlib::ContoursDistanceMapOptions_SignedDetectionMethod )

Modifies a member variable of class MR::ContoursDistanceMapOptions named signMethod.

Calls MR_ContoursDistanceMapOptions_Set_signMethod(). The reference to the parameter value might be preserved in this object in element signMethod.

◆ sign_method()

auto meshlib::ContoursDistanceMapOptions::sign_method ( ) const -> &meshlib::ContoursDistanceMapOptions_SignedDetectionMethod

Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named signMethod.

Calls MR_ContoursDistanceMapOptions_Get_signMethod(). The reference to this object might be preserved as the return value.

◆ sign_method_mut()

auto meshlib::ContoursDistanceMapOptions::sign_method_mut ( ) -> &mut meshlib::ContoursDistanceMapOptions_SignedDetectionMethod

Returns a mutable pointer to a member variable of class MR::ContoursDistanceMapOptions named signMethod.

Calls MR_ContoursDistanceMapOptions_GetMutable_signMethod(). The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: