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

Public Member Functions

 Settings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Settings ()
 Settings (meshlib.LengthUnit lengthUnit, meshlib.std_function_bool_from_float progress)
 Settings (meshlib.scenesave.Settings _other)
meshlib.scenesave.Settings assignFromAnother (meshlib.scenesave.Settings _other)
meshlib.std_optional_MR_LengthUnit lengthUnit ()
void setLengthUnit (meshlib.LengthUnit 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

Generated from class MR::SceneSave::Settings. Derived classes: Direct: (non-virtual) MR::ObjectSave::Settings

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

Constructor & Destructor Documentation

◆ Settings() [1/4]

meshlib.scenesave.Settings.Settings ( 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.

◆ Settings() [2/4]

meshlib.scenesave.Settings.Settings ( )

Constructs an empty (default-constructed) instance.

Calls MR_SceneSave_Settings_DefaultConstruct().

◆ Settings() [3/4]

meshlib.scenesave.Settings.Settings ( meshlib.LengthUnit lengthUnit,
meshlib.std_function_bool_from_float progress )

Constructs MR::SceneSave::Settings elementwise. The reference to the parameter lengthUnit might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.

Calls MR_SceneSave_Settings_ConstructFrom().

◆ Settings() [4/4]

meshlib.scenesave.Settings.Settings ( meshlib.scenesave.Settings _other)

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

Calls MR_SceneSave_Settings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.scenesave.Settings meshlib.scenesave.Settings.assignFromAnother ( meshlib.scenesave.Settings _other)

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

Calls MR_SceneSave_Settings_AssignFromAnother().

◆ lengthUnit()

meshlib.std_optional_MR_LengthUnit meshlib.scenesave.Settings.lengthUnit ( )

units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::SceneSave::Settings named lengthUnit. The reference to this object might be preserved as the return value.

Calls MR_SceneSave_Settings_Get_lengthUnit().

◆ progress()

meshlib.std_function_bool_from_float meshlib.scenesave.Settings.progress ( )

to report loading progress and allow the user to cancel it Returns a pointer to a member variable of class MR::SceneSave::Settings named progress. The reference to this object might be preserved as the return value.

Calls MR_SceneSave_Settings_Get_progress().

◆ setLengthUnit()

void meshlib.scenesave.Settings.setLengthUnit ( meshlib.LengthUnit value)

units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::SceneSave::Settings named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.

Calls MR_SceneSave_Settings_Set_lengthUnit().

◆ setProgress()

void meshlib.scenesave.Settings.setProgress ( meshlib.std_function_bool_from_float value)

to report loading progress and allow the user to cancel it Modifies a member variable of class MR::SceneSave::Settings named progress. The reference to the parameter value might be preserved in this object in element progress.

Calls MR_SceneSave_Settings_Set_progress().


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