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

Public Member Functions

auto assign_from_another (_other:&meshlib::RasterLoadSettings) -> &mut meshlib::RasterLoadSettings
auto xf () const -> *const *mut meshlib::AffineXf3f
auto xf_mut () -> *mut *mut meshlib::AffineXf3f
void set_xf (value:Option<&mut meshlib::AffineXf3f >)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RasterLoadSettings >
static auto construct_from (xf:Option<&mut meshlib::AffineXf3f >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::RasterLoadSettings >
static auto construct_from_another (_other:&meshlib::RasterLoadSettings) -> meshlib::Owned< meshlib::RasterLoadSettings >
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

settings for loading rasters from external formats Generated from class MR::RasterLoadSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::RasterLoadSettings::construct_from ( xf:Option<&mut meshlib::AffineXf3f > ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::RasterLoadSettings >
static

Constructs MR::RasterLoadSettings elementwise.

Calls MR_RasterLoadSettings_ConstructFrom(). The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::RasterLoadSettings::RasterLoadSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_RasterLoadSettings_DefaultConstruct().

◆ progress()

auto meshlib::RasterLoadSettings::progress ( ) const -> &meshlib::std_function_bool_from_float

to report load progress and cancel loading if user desires Returns a pointer to a member variable of class MR::RasterLoadSettings named progress.

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

◆ progress_mut()

auto meshlib::RasterLoadSettings::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

to report load progress and cancel loading if user desires Returns a mutable pointer to a member variable of class MR::RasterLoadSettings named progress.

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

◆ set_progress()

void meshlib::RasterLoadSettings::set_progress ( value:&meshlib::std_function_bool_from_float )

to report load progress and cancel loading if user desires Modifies a member variable of class MR::RasterLoadSettings named progress.

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

◆ set_xf()

void meshlib::RasterLoadSettings::set_xf ( value:Option<&mut meshlib::AffineXf3f > )

optional output: transformation of (column, row, value) to world coordinates if the format stores it (e.g. GeoTIFF), otherwise the identity; (0, 0) is the corner of the first pixel, and (0.5, 0.5) is its center Modifies a member variable of class MR::RasterLoadSettings named xf.

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

◆ xf()

auto meshlib::RasterLoadSettings::xf ( ) const -> *const *mut meshlib::AffineXf3f

optional output: transformation of (column, row, value) to world coordinates if the format stores it (e.g. GeoTIFF), otherwise the identity; (0, 0) is the corner of the first pixel, and (0.5, 0.5) is its center Returns a pointer to a member variable of class MR::RasterLoadSettings named xf.

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

◆ xf_mut()

auto meshlib::RasterLoadSettings::xf_mut ( ) -> *mut *mut meshlib::AffineXf3f

optional output: transformation of (column, row, value) to world coordinates if the format stores it (e.g. GeoTIFF), otherwise the identity; (0, 0) is the corner of the first pixel, and (0.5, 0.5) is its center Returns a mutable pointer to a member variable of class MR::RasterLoadSettings named xf.

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


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