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

Public Member Functions

auto assign_from_another (_other:&meshlib::RasterSaveSettings) -> &mut meshlib::RasterSaveSettings
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&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::RasterSaveSettings >
static auto construct_from (xf:Option<&meshlib::AffineXf3f >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::RasterSaveSettings >
static auto construct_from_another (_other:&meshlib::RasterSaveSettings) -> meshlib::Owned< meshlib::RasterSaveSettings >
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 saving rasters in external formats Generated from class MR::RasterSaveSettings. Derived classes: Direct: (non-virtual) MR::TiffSaveSettings

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

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

Constructs MR::RasterSaveSettings elementwise.

Calls MR_RasterSaveSettings_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::RasterSaveSettings::construct_from_another ( _other:&meshlib::RasterSaveSettings ) -> meshlib::Owned< meshlib::RasterSaveSettings >
static

Generated from constructor MR::RasterSaveSettings::RasterSaveSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_RasterSaveSettings_DefaultConstruct().

◆ progress()

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

to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::RasterSaveSettings named progress.

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

◆ progress_mut()

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

to report save progress and cancel saving if user desires Returns a mutable pointer to a member variable of class MR::RasterSaveSettings named progress.

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

◆ set_progress()

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

to report save progress and cancel saving if user desires Modifies a member variable of class MR::RasterSaveSettings named progress.

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

◆ set_xf()

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

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

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

◆ xf()

auto meshlib::RasterSaveSettings::xf ( ) const -> *const *const meshlib::AffineXf3f

optional transformation of (column, row, value) to world coordinates, saved if the format supports it (e.g. GeoTIFF); (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::RasterSaveSettings named xf.

Calls MR_RasterSaveSettings_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::RasterSaveSettings::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

optional transformation of (column, row, value) to world coordinates, saved if the format supports it (e.g. GeoTIFF); (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::RasterSaveSettings named xf.

Calls MR_RasterSaveSettings_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: