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

Public Member Functions

 RasterLoadSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 RasterLoadSettings ()
 RasterLoadSettings (meshlib.AffineXf3f xf, meshlib.std_function_bool_from_float progress)
 RasterLoadSettings (meshlib.RasterLoadSettings _other)
meshlib.RasterLoadSettings assignFromAnother (meshlib.RasterLoadSettings _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 loading rasters from external formats Generated from class MR::RasterLoadSettings.

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

Constructor & Destructor Documentation

◆ RasterLoadSettings() [1/4]

meshlib.RasterLoadSettings.RasterLoadSettings ( 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.

◆ RasterLoadSettings() [2/4]

meshlib.RasterLoadSettings.RasterLoadSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_RasterLoadSettings_DefaultConstruct().

◆ RasterLoadSettings() [3/4]

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

Constructs MR::RasterLoadSettings 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_RasterLoadSettings_ConstructFrom().

◆ RasterLoadSettings() [4/4]

meshlib.RasterLoadSettings.RasterLoadSettings ( meshlib.RasterLoadSettings _other)

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

Calls MR_RasterLoadSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.RasterLoadSettings meshlib.RasterLoadSettings.assignFromAnother ( meshlib.RasterLoadSettings _other)

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

Calls MR_RasterLoadSettings_AssignFromAnother().

◆ progress()

meshlib.std_function_bool_from_float meshlib.RasterLoadSettings.progress ( )

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

Calls MR_RasterLoadSettings_Get_progress().

◆ setProgress()

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

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

Calls MR_RasterLoadSettings_Set_progress().

◆ setXf()

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

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

Calls MR_RasterLoadSettings_Set_xf().

◆ xf()

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

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

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