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

Public Member Functions

auto assign_from_another (_other:&meshlib::TiffSaveSettings) -> &mut meshlib::TiffSaveSettings
auto no_data () const -> &meshlib::std_optional_double
auto no_data_mut () -> &mut meshlib::std_optional_double
void set_no_data (value:Option< f64 >)
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)
auto upcast_to_raster_save_settings () const -> &meshlib::RasterSaveSettings
auto upcast_to_raster_save_settings_mut () -> &mut meshlib::RasterSaveSettings

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::TiffSaveSettings >
static auto construct_from_another (_other:&meshlib::TiffSaveSettings) -> meshlib::Owned< meshlib::TiffSaveSettings >
static auto static_downcast_from_raster_save_settings (object:&meshlib::RasterSaveSettings) -> &Self
static auto static_downcast_from_raster_save_settings_mut (object:&mut meshlib::RasterSaveSettings) -> &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

Detailed Description

settings for saving rasters in .tiff format Generated from class MR::TiffSaveSettings. Base classes: Direct: (non-virtual) MR::RasterSaveSettings

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::TiffSaveSettings::TiffSaveSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TiffSaveSettings_DefaultConstruct().

◆ no_data()

auto meshlib::TiffSaveSettings::no_data ( ) const -> &meshlib::std_optional_double

optional value meaning no data, written as GDAL_NODATA Returns a pointer to a member variable of class MR::TiffSaveSettings named noData.

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

◆ no_data_mut()

auto meshlib::TiffSaveSettings::no_data_mut ( ) -> &mut meshlib::std_optional_double

optional value meaning no data, written as GDAL_NODATA Returns a mutable pointer to a member variable of class MR::TiffSaveSettings named noData.

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

◆ progress()

auto meshlib::TiffSaveSettings::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::TiffSaveSettings named progress.

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

◆ progress_mut()

auto meshlib::TiffSaveSettings::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::TiffSaveSettings named progress.

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

◆ set_no_data()

void meshlib::TiffSaveSettings::set_no_data ( value:Option< f64 > )

optional value meaning no data, written as GDAL_NODATA Modifies a member variable of class MR::TiffSaveSettings named noData.

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

◆ set_progress()

void meshlib::TiffSaveSettings::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::TiffSaveSettings named progress.

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

◆ set_xf()

void meshlib::TiffSaveSettings::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::TiffSaveSettings named xf.

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

◆ static_downcast_from_raster_save_settings()

auto meshlib::TiffSaveSettings::static_downcast_from_raster_save_settings ( object:&meshlib::RasterSaveSettings ) -> &Self
static

Static downcast from the base class MR::RasterSaveSettings.

Calls MR_TiffSaveSettings_StaticDowncastFrom_MR_RasterSaveSettings(). Undefined behavior if the object isn't actually a TiffSaveSettings.

Note
This function is unsafe.

◆ static_downcast_from_raster_save_settings_mut()

auto meshlib::TiffSaveSettings::static_downcast_from_raster_save_settings_mut ( object:&mut meshlib::RasterSaveSettings ) -> &mut Self
static

Static downcast from the base class MR::RasterSaveSettings.

Calls MR_TiffSaveSettings_MutableStaticDowncastFrom_MR_RasterSaveSettings(). Undefined behavior if the object isn't actually a TiffSaveSettings.

Note
This function is unsafe.

◆ upcast_to_raster_save_settings()

auto meshlib::TiffSaveSettings::upcast_to_raster_save_settings ( ) const -> &meshlib::RasterSaveSettings

Upcasts to the base class MR::RasterSaveSettings.

Calls MR_TiffSaveSettings_UpcastTo_MR_RasterSaveSettings().

◆ upcast_to_raster_save_settings_mut()

auto meshlib::TiffSaveSettings::upcast_to_raster_save_settings_mut ( ) -> &mut meshlib::RasterSaveSettings

Upcasts to the base class MR::RasterSaveSettings.

Calls MR_TiffSaveSettings_MutableUpcastTo_MR_RasterSaveSettings().

◆ xf()

auto meshlib::TiffSaveSettings::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::TiffSaveSettings named xf.

Calls MR_TiffSaveSettings_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::TiffSaveSettings::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::TiffSaveSettings named xf.

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