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

Public Member Functions

 ObjLoadSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjLoadSettings ()
 ObjLoadSettings (boolean customXf, boolean countSkippedFaces, meshlib.std_function_bool_from_float callback, boolean telemetrySignal, meshlib.phmap.phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std___2648af3b mtlErrors)
 ObjLoadSettings (meshlib.meshload.ObjLoadSettings _other)
meshlib.meshload.ObjLoadSettings assignFromAnother (meshlib.meshload.ObjLoadSettings _other)
boolean customXf ()
void setCustomXf (boolean value)
boolean countSkippedFaces ()
void setCountSkippedFaces (boolean value)
meshlib.std_function_bool_from_float callback ()
void setCallback (meshlib.std_function_bool_from_float value)
boolean telemetrySignal ()
void setTelemetrySignal (boolean value)
java.lang.foreign.MemorySegment mtlErrors ()
void setMtlErrors (meshlib.phmap.phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std___2648af3b 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::MeshLoad::ObjLoadSettings.

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

Constructor & Destructor Documentation

◆ ObjLoadSettings() [1/4]

meshlib.meshload.ObjLoadSettings.ObjLoadSettings ( 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.

◆ ObjLoadSettings() [2/4]

meshlib.meshload.ObjLoadSettings.ObjLoadSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshLoad_ObjLoadSettings_DefaultConstruct().

◆ ObjLoadSettings() [3/4]

meshlib.meshload.ObjLoadSettings.ObjLoadSettings ( boolean customXf,
boolean countSkippedFaces,
meshlib.std_function_bool_from_float callback,
boolean telemetrySignal,
meshlib.phmap.phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std___2648af3b mtlErrors )

Constructs MR::MeshLoad::ObjLoadSettings elementwise. The reference to the parameter callback might be preserved in the constructed object. The reference to the parameter mtlErrors might be preserved in the constructed object.

Calls MR_MeshLoad_ObjLoadSettings_ConstructFrom().

◆ ObjLoadSettings() [4/4]

meshlib.meshload.ObjLoadSettings.ObjLoadSettings ( meshlib.meshload.ObjLoadSettings _other)

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

Calls MR_MeshLoad_ObjLoadSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.meshload.ObjLoadSettings meshlib.meshload.ObjLoadSettings.assignFromAnother ( meshlib.meshload.ObjLoadSettings _other)

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

Calls MR_MeshLoad_ObjLoadSettings_AssignFromAnother().

◆ callback()

meshlib.std_function_bool_from_float meshlib.meshload.ObjLoadSettings.callback ( )

callback for set progress and stop process Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named callback. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_ObjLoadSettings_Get_callback().

◆ countSkippedFaces()

boolean meshlib.meshload.ObjLoadSettings.countSkippedFaces ( )

if true, the number of skipped faces (faces than can't be created) will be counted Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named countSkippedFaces. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_ObjLoadSettings_Get_countSkippedFaces().

◆ customXf()

boolean meshlib.meshload.ObjLoadSettings.customXf ( )

if true then vertices will be returned relative to some transformation to avoid precision loss Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named customXf. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_ObjLoadSettings_Get_customXf().

◆ mtlErrors()

java.lang.foreign.MemorySegment meshlib.meshload.ObjLoadSettings.mtlErrors ( )

optional output: errors of the material libraries (.mtl files) that could not be loaded, e.g. not found; filled only if some faces use a material that was not found Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named mtlErrors. The reference to this object might be preserved as the return value.

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

◆ setCallback()

void meshlib.meshload.ObjLoadSettings.setCallback ( meshlib.std_function_bool_from_float value)

callback for set progress and stop process Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named callback. The reference to the parameter value might be preserved in this object in element callback.

Calls MR_MeshLoad_ObjLoadSettings_Set_callback().

◆ setCountSkippedFaces()

void meshlib.meshload.ObjLoadSettings.setCountSkippedFaces ( boolean value)

if true, the number of skipped faces (faces than can't be created) will be counted Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named countSkippedFaces.

Calls MR_MeshLoad_ObjLoadSettings_Set_countSkippedFaces().

◆ setCustomXf()

void meshlib.meshload.ObjLoadSettings.setCustomXf ( boolean value)

if true then vertices will be returned relative to some transformation to avoid precision loss Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named customXf.

Calls MR_MeshLoad_ObjLoadSettings_Set_customXf().

◆ setMtlErrors()

optional output: errors of the material libraries (.mtl files) that could not be loaded, e.g. not found; filled only if some faces use a material that was not found Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named mtlErrors. The reference to the parameter value might be preserved in this object in element mtlErrors.

Calls MR_MeshLoad_ObjLoadSettings_Set_mtlErrors().

◆ setTelemetrySignal()

void meshlib.meshload.ObjLoadSettings.setTelemetrySignal ( boolean value)

permit telemetry signal about loading Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named telemetrySignal.

Calls MR_MeshLoad_ObjLoadSettings_Set_telemetrySignal().

◆ telemetrySignal()

boolean meshlib.meshload.ObjLoadSettings.telemetrySignal ( )

permit telemetry signal about loading Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named telemetrySignal. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_ObjLoadSettings_Get_telemetrySignal().


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