MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.RasterSaveSettings Class Reference
Inheritance diagram for meshlib.RasterSaveSettings:

Public Member Functions

 RasterSaveSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 RasterSaveSettings ()
 RasterSaveSettings (meshlib.AffineXf3f xf, meshlib.std_function_bool_from_float progress)
 RasterSaveSettings (meshlib.RasterSaveSettings _other)
meshlib.RasterSaveSettings assignFromAnother (meshlib.RasterSaveSettings _other)
java.lang.foreign.MemorySegment xf ()
void setXf (meshlib.AffineXf3f value)
meshlib.std_function_bool_from_float progress ()
void setProgress (meshlib.std_function_bool_from_float value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

settings for saving rasters in external formats Generated from class MR::RasterSaveSettings. Derived classes: Direct: (non-virtual) MR::TiffSaveSettings

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ RasterSaveSettings() [1/4]

meshlib.RasterSaveSettings.RasterSaveSettings ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ RasterSaveSettings() [2/4]

meshlib.RasterSaveSettings.RasterSaveSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_RasterSaveSettings_DefaultConstruct().

◆ RasterSaveSettings() [3/4]

meshlib.RasterSaveSettings.RasterSaveSettings ( meshlib.AffineXf3f xf,
meshlib.std_function_bool_from_float progress )

Constructs MR::RasterSaveSettings elementwise. 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.

Calls MR_RasterSaveSettings_ConstructFrom().

◆ RasterSaveSettings() [4/4]

meshlib.RasterSaveSettings.RasterSaveSettings ( meshlib.RasterSaveSettings _other)

Generated from constructor MR::RasterSaveSettings::RasterSaveSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_RasterSaveSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.RasterSaveSettings meshlib.RasterSaveSettings.assignFromAnother ( meshlib.RasterSaveSettings _other)

Generated from method MR::RasterSaveSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_RasterSaveSettings_AssignFromAnother().

◆ progress()

meshlib.std_function_bool_from_float meshlib.RasterSaveSettings.progress ( )

to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::RasterSaveSettings named progress. The reference to this object might be preserved as the return value.

Calls MR_RasterSaveSettings_Get_progress().

◆ setProgress()

void meshlib.RasterSaveSettings.setProgress ( meshlib.std_function_bool_from_float value)

to report save progress and cancel saving if user desires Modifies a member variable of class MR::RasterSaveSettings named progress. The reference to the parameter value might be preserved in this object in element progress.

Calls MR_RasterSaveSettings_Set_progress().

◆ setXf()

void meshlib.RasterSaveSettings.setXf ( meshlib.AffineXf3f value)

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. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_RasterSaveSettings_Set_xf().

◆ xf()

java.lang.foreign.MemorySegment meshlib.RasterSaveSettings.xf ( )

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. The reference to this object might be preserved as the return value.

Calls MR_RasterSaveSettings_Get_xf(). Some types are raw C types, see the C bindings for the details.


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