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

Public Member Functions

 LoadedObjects (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 LoadedObjects ()
 LoadedObjects (meshlib.std_vector_std_shared_ptr_MR_Object objs, java.lang.String warnings, meshlib.LengthUnit lengthUnit)
 LoadedObjects (meshlib.LoadedObjects _other)
meshlib.LoadedObjects assignFromAnother (meshlib.LoadedObjects _other)
meshlib.std_vector_std_shared_ptr_MR_Object objs ()
void setObjs (meshlib.std_vector_std_shared_ptr_MR_Object value)
meshlib.std_string warnings ()
void setWarnings (java.lang.String value)
meshlib.std_optional_MR_LengthUnit lengthUnit ()
void setLengthUnit (meshlib.LengthUnit 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

result of loading (e.g. from a file) as a number of objects Generated from class MR::LoadedObjects.

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

Constructor & Destructor Documentation

◆ LoadedObjects() [1/4]

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

◆ LoadedObjects() [2/4]

meshlib.LoadedObjects.LoadedObjects ( )

Constructs an empty (default-constructed) instance.

Calls MR_LoadedObjects_DefaultConstruct().

◆ LoadedObjects() [3/4]

meshlib.LoadedObjects.LoadedObjects ( meshlib.std_vector_std_shared_ptr_MR_Object objs,
java.lang.String warnings,
meshlib.LengthUnit lengthUnit )

Constructs MR::LoadedObjects elementwise. The reference to the parameter objs might be preserved in the constructed object. The reference to the parameter warnings might be preserved in the constructed object. The reference to the parameter lengthUnit might be preserved in the constructed object.

Calls MR_LoadedObjects_ConstructFrom().

◆ LoadedObjects() [4/4]

meshlib.LoadedObjects.LoadedObjects ( meshlib.LoadedObjects _other)

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

Calls MR_LoadedObjects_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.LoadedObjects meshlib.LoadedObjects.assignFromAnother ( meshlib.LoadedObjects _other)

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

Calls MR_LoadedObjects_AssignFromAnother().

◆ lengthUnit()

meshlib.std_optional_MR_LengthUnit meshlib.LoadedObjects.lengthUnit ( )

units of object coordinates and transformations (if known) Returns a pointer to a member variable of class MR::LoadedObjects named lengthUnit. The reference to this object might be preserved as the return value.

Calls MR_LoadedObjects_Get_lengthUnit().

◆ objs()

meshlib.std_vector_std_shared_ptr_MR_Object meshlib.LoadedObjects.objs ( )

Returns a pointer to a member variable of class MR::LoadedObjects named objs. The reference to this object might be preserved as the return value.

Calls MR_LoadedObjects_Get_objs().

◆ setLengthUnit()

void meshlib.LoadedObjects.setLengthUnit ( meshlib.LengthUnit value)

units of object coordinates and transformations (if known) Modifies a member variable of class MR::LoadedObjects named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.

Calls MR_LoadedObjects_Set_lengthUnit().

◆ setObjs()

void meshlib.LoadedObjects.setObjs ( meshlib.std_vector_std_shared_ptr_MR_Object value)

Modifies a member variable of class MR::LoadedObjects named objs. The reference to the parameter value might be preserved in this object in element objs.

Calls MR_LoadedObjects_Set_objs().

◆ setWarnings()

void meshlib.LoadedObjects.setWarnings ( java.lang.String value)

either empty or ends with '
' Modifies a member variable of class MR::LoadedObjects named warnings. The reference to the parameter value might be preserved in this object in element warnings.

Calls MR_LoadedObjects_Set_warnings().

◆ warnings()

meshlib.std_string meshlib.LoadedObjects.warnings ( )

either empty or ends with '
' Returns a pointer to a member variable of class MR::LoadedObjects named warnings. The reference to this object might be preserved as the return value.

Calls MR_LoadedObjects_Get_warnings().


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