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

Public Member Functions

 Result (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Result ()
 Result (meshlib.std_shared_ptr_MR_SceneRootObject scene, boolean isSceneConstructed, meshlib.std_vector_std_filesystem_path loadedFiles, java.lang.String errorSummary, java.lang.String warningSummary)
 Result (meshlib.sceneload.Result _other)
meshlib.sceneload.Result assignFromAnother (meshlib.sceneload.Result _other)
meshlib.std_shared_ptr_MR_SceneRootObject scene ()
void setScene (meshlib.std_shared_ptr_MR_SceneRootObject value)
boolean isSceneConstructed ()
void setIsSceneConstructed (boolean value)
meshlib.std_vector_std_filesystem_path loadedFiles ()
void setLoadedFiles (meshlib.std_vector_std_filesystem_path value)
meshlib.std_string errorSummary ()
void setErrorSummary (java.lang.String value)
meshlib.std_string warningSummary ()
void setWarningSummary (java.lang.String 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

Scene loading result Generated from class MR::SceneLoad::Result.

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

Constructor & Destructor Documentation

◆ Result() [1/4]

meshlib.sceneload.Result.Result ( 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.

◆ Result() [2/4]

meshlib.sceneload.Result.Result ( )

Constructs an empty (default-constructed) instance.

Calls MR_SceneLoad_Result_DefaultConstruct().

◆ Result() [3/4]

meshlib.sceneload.Result.Result ( meshlib.std_shared_ptr_MR_SceneRootObject scene,
boolean isSceneConstructed,
meshlib.std_vector_std_filesystem_path loadedFiles,
java.lang.String errorSummary,
java.lang.String warningSummary )

Constructs MR::SceneLoad::Result elementwise. The reference to the parameter scene might be preserved in the constructed object. The reference to the parameter loadedFiles might be preserved in the constructed object. The reference to the parameter errorSummary might be preserved in the constructed object. The reference to the parameter warningSummary might be preserved in the constructed object.

Calls MR_SceneLoad_Result_ConstructFrom().

◆ Result() [4/4]

meshlib.sceneload.Result.Result ( meshlib.sceneload.Result _other)

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

Calls MR_SceneLoad_Result_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.sceneload.Result meshlib.sceneload.Result.assignFromAnother ( meshlib.sceneload.Result _other)

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

Calls MR_SceneLoad_Result_AssignFromAnother().

◆ errorSummary()

meshlib.std_string meshlib.sceneload.Result.errorSummary ( )

Error summary text TODO: user-defined error format Returns a pointer to a member variable of class MR::SceneLoad::Result named errorSummary. The reference to this object might be preserved as the return value.

Calls MR_SceneLoad_Result_Get_errorSummary().

◆ isSceneConstructed()

boolean meshlib.sceneload.Result.isSceneConstructed ( )

Marks whether the scene was loaded from a single file (false) or was built from scratch (true) Returns a pointer to a member variable of class MR::SceneLoad::Result named isSceneConstructed. The reference to this object might be preserved as the return value.

Calls MR_SceneLoad_Result_Get_isSceneConstructed().

◆ loadedFiles()

meshlib.std_vector_std_filesystem_path meshlib.sceneload.Result.loadedFiles ( )

List of successfully loaded files Returns a pointer to a member variable of class MR::SceneLoad::Result named loadedFiles. The reference to this object might be preserved as the return value.

Calls MR_SceneLoad_Result_Get_loadedFiles().

◆ scene()

meshlib.std_shared_ptr_MR_SceneRootObject meshlib.sceneload.Result.scene ( )

The loaded scene or empty object Returns a pointer to a member variable of class MR::SceneLoad::Result named scene. The reference to this object might be preserved as the return value.

Calls MR_SceneLoad_Result_Get_scene().

◆ setErrorSummary()

void meshlib.sceneload.Result.setErrorSummary ( java.lang.String value)

Error summary text TODO: user-defined error format Modifies a member variable of class MR::SceneLoad::Result named errorSummary. The reference to the parameter value might be preserved in this object in element errorSummary.

Calls MR_SceneLoad_Result_Set_errorSummary().

◆ setIsSceneConstructed()

void meshlib.sceneload.Result.setIsSceneConstructed ( boolean value)

Marks whether the scene was loaded from a single file (false) or was built from scratch (true) Modifies a member variable of class MR::SceneLoad::Result named isSceneConstructed.

Calls MR_SceneLoad_Result_Set_isSceneConstructed().

◆ setLoadedFiles()

void meshlib.sceneload.Result.setLoadedFiles ( meshlib.std_vector_std_filesystem_path value)

List of successfully loaded files Modifies a member variable of class MR::SceneLoad::Result named loadedFiles. The reference to the parameter value might be preserved in this object in element loadedFiles.

Calls MR_SceneLoad_Result_Set_loadedFiles().

◆ setScene()

void meshlib.sceneload.Result.setScene ( meshlib.std_shared_ptr_MR_SceneRootObject value)

The loaded scene or empty object Modifies a member variable of class MR::SceneLoad::Result named scene. The reference to the parameter value might be preserved in this object in element scene.

Calls MR_SceneLoad_Result_Set_scene().

◆ setWarningSummary()

void meshlib.sceneload.Result.setWarningSummary ( java.lang.String value)

Warning summary text TODO: user-defined warning format Modifies a member variable of class MR::SceneLoad::Result named warningSummary. The reference to the parameter value might be preserved in this object in element warningSummary.

Calls MR_SceneLoad_Result_Set_warningSummary().

◆ warningSummary()

meshlib.std_string meshlib.sceneload.Result.warningSummary ( )

Warning summary text TODO: user-defined warning format Returns a pointer to a member variable of class MR::SceneLoad::Result named warningSummary. The reference to this object might be preserved as the return value.

Calls MR_SceneLoad_Result_Get_warningSummary().


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