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

Public Member Functions

 MeshLoadSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshLoadSettings ()
 MeshLoadSettings (meshlib.std_optional_MR_Edges edges, meshlib.VertColors colors, meshlib.FaceColors faceColors, meshlib.VertCoords2 uvCoords, meshlib.VertCoords normals, meshlib.MeshTexture texture, meshlib.int_output skippedFaceCount, meshlib.int_output duplicatedVertexCount, meshlib.AffineXf3f xf, meshlib.std_function_bool_from_float callback, boolean telemetrySignal)
 MeshLoadSettings (meshlib.MeshLoadSettings _other)
meshlib.MeshLoadSettings assignFromAnother (meshlib.MeshLoadSettings _other)
java.lang.foreign.MemorySegment edges ()
void setEdges (meshlib.std_optional_MR_Edges value)
java.lang.foreign.MemorySegment colors ()
void setColors (meshlib.VertColors value)
java.lang.foreign.MemorySegment faceColors ()
void setFaceColors (meshlib.FaceColors value)
java.lang.foreign.MemorySegment uvCoords ()
void setUvCoords (meshlib.VertCoords2 value)
java.lang.foreign.MemorySegment normals ()
void setNormals (meshlib.VertCoords value)
java.lang.foreign.MemorySegment texture ()
void setTexture (meshlib.MeshTexture value)
java.lang.foreign.MemorySegment skippedFaceCount ()
void setSkippedFaceCount (meshlib.int_output value)
java.lang.foreign.MemorySegment duplicatedVertexCount ()
void setDuplicatedVertexCount (meshlib.int_output value)
java.lang.foreign.MemorySegment xf ()
void setXf (meshlib.AffineXf3f value)
meshlib.std_function_bool_from_float callback ()
void setCallback (meshlib.std_function_bool_from_float value)
boolean telemetrySignal ()
void setTelemetrySignal (boolean 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

setting for mesh loading from external format, and locations of optional output data Generated from class MR::MeshLoadSettings.

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

Constructor & Destructor Documentation

◆ MeshLoadSettings() [1/4]

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

◆ MeshLoadSettings() [2/4]

meshlib.MeshLoadSettings.MeshLoadSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshLoadSettings_DefaultConstruct().

◆ MeshLoadSettings() [3/4]

meshlib.MeshLoadSettings.MeshLoadSettings ( meshlib.std_optional_MR_Edges edges,
meshlib.VertColors colors,
meshlib.FaceColors faceColors,
meshlib.VertCoords2 uvCoords,
meshlib.VertCoords normals,
meshlib.MeshTexture texture,
meshlib.int_output skippedFaceCount,
meshlib.int_output duplicatedVertexCount,
meshlib.AffineXf3f xf,
meshlib.std_function_bool_from_float callback,
boolean telemetrySignal )

Constructs MR::MeshLoadSettings elementwise. The reference to the parameter edges might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter normals might be preserved in the constructed object. The reference to the parameter texture might be preserved in the constructed object. The reference to the parameter skippedFaceCount might be preserved in the constructed object. The reference to the parameter duplicatedVertexCount might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.

Calls MR_MeshLoadSettings_ConstructFrom().

◆ MeshLoadSettings() [4/4]

meshlib.MeshLoadSettings.MeshLoadSettings ( meshlib.MeshLoadSettings _other)

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

Calls MR_MeshLoadSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshLoadSettings meshlib.MeshLoadSettings.assignFromAnother ( meshlib.MeshLoadSettings _other)

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

Calls MR_MeshLoadSettings_AssignFromAnother().

◆ callback()

meshlib.std_function_bool_from_float meshlib.MeshLoadSettings.callback ( )

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

Calls MR_MeshLoadSettings_Get_callback().

◆ colors()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.colors ( )

< optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::MeshLoadSettings named colors. The reference to this object might be preserved as the return value.

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

◆ duplicatedVertexCount()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.duplicatedVertexCount ( )

< optional output: counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a pointer to a member variable of class MR::MeshLoadSettings named duplicatedVertexCount. The reference to this object might be preserved as the return value.

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

◆ edges()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.edges ( )

< optional load artifact: polyline edges Returns a pointer to a member variable of class MR::MeshLoadSettings named edges. The reference to this object might be preserved as the return value.

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

◆ faceColors()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.faceColors ( )

< optional load artifact: per-face color map Returns a pointer to a member variable of class MR::MeshLoadSettings named faceColors. The reference to this object might be preserved as the return value.

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

◆ normals()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.normals ( )

< optional load artifact: per-vertex normals Returns a pointer to a member variable of class MR::MeshLoadSettings named normals. The reference to this object might be preserved as the return value.

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

◆ setCallback()

void meshlib.MeshLoadSettings.setCallback ( meshlib.std_function_bool_from_float value)

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

Calls MR_MeshLoadSettings_Set_callback().

◆ setColors()

void meshlib.MeshLoadSettings.setColors ( meshlib.VertColors value)

< optional load artifact: per-vertex color map Modifies a member variable of class MR::MeshLoadSettings named colors. The reference to the parameter value might be preserved in this object in element colors.

Calls MR_MeshLoadSettings_Set_colors().

◆ setDuplicatedVertexCount()

void meshlib.MeshLoadSettings.setDuplicatedVertexCount ( meshlib.int_output value)

< optional output: counter of duplicated vertices (that created for resolve non-manifold geometry) Modifies a member variable of class MR::MeshLoadSettings named duplicatedVertexCount. The reference to the parameter value might be preserved in this object in element duplicatedVertexCount.

Calls MR_MeshLoadSettings_Set_duplicatedVertexCount().

◆ setEdges()

void meshlib.MeshLoadSettings.setEdges ( meshlib.std_optional_MR_Edges value)

< optional load artifact: polyline edges Modifies a member variable of class MR::MeshLoadSettings named edges. The reference to the parameter value might be preserved in this object in element edges.

Calls MR_MeshLoadSettings_Set_edges().

◆ setFaceColors()

void meshlib.MeshLoadSettings.setFaceColors ( meshlib.FaceColors value)

< optional load artifact: per-face color map Modifies a member variable of class MR::MeshLoadSettings named faceColors. The reference to the parameter value might be preserved in this object in element faceColors.

Calls MR_MeshLoadSettings_Set_faceColors().

◆ setNormals()

void meshlib.MeshLoadSettings.setNormals ( meshlib.VertCoords value)

< optional load artifact: per-vertex normals Modifies a member variable of class MR::MeshLoadSettings named normals. The reference to the parameter value might be preserved in this object in element normals.

Calls MR_MeshLoadSettings_Set_normals().

◆ setSkippedFaceCount()

void meshlib.MeshLoadSettings.setSkippedFaceCount ( meshlib.int_output value)

< optional output: counter of skipped faces during mesh creation Modifies a member variable of class MR::MeshLoadSettings named skippedFaceCount. The reference to the parameter value might be preserved in this object in element skippedFaceCount.

Calls MR_MeshLoadSettings_Set_skippedFaceCount().

◆ setTelemetrySignal()

void meshlib.MeshLoadSettings.setTelemetrySignal ( boolean value)

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

Calls MR_MeshLoadSettings_Set_telemetrySignal().

◆ setTexture()

void meshlib.MeshLoadSettings.setTexture ( meshlib.MeshTexture value)

< optional load artifact: texture image Modifies a member variable of class MR::MeshLoadSettings named texture. The reference to the parameter value might be preserved in this object in element texture.

Calls MR_MeshLoadSettings_Set_texture().

◆ setUvCoords()

void meshlib.MeshLoadSettings.setUvCoords ( meshlib.VertCoords2 value)

< optional load artifact: per-vertex uv-coordinates Modifies a member variable of class MR::MeshLoadSettings named uvCoords. The reference to the parameter value might be preserved in this object in element uvCoords.

Calls MR_MeshLoadSettings_Set_uvCoords().

◆ setXf()

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

< optional output: transform for the loaded mesh to improve precision of vertex coordinates Modifies a member variable of class MR::MeshLoadSettings named xf. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_MeshLoadSettings_Set_xf().

◆ skippedFaceCount()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.skippedFaceCount ( )

< optional output: counter of skipped faces during mesh creation Returns a pointer to a member variable of class MR::MeshLoadSettings named skippedFaceCount. The reference to this object might be preserved as the return value.

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

◆ telemetrySignal()

boolean meshlib.MeshLoadSettings.telemetrySignal ( )

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

Calls MR_MeshLoadSettings_Get_telemetrySignal().

◆ texture()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.texture ( )

< optional load artifact: texture image Returns a pointer to a member variable of class MR::MeshLoadSettings named texture. The reference to this object might be preserved as the return value.

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

◆ uvCoords()

java.lang.foreign.MemorySegment meshlib.MeshLoadSettings.uvCoords ( )

< optional load artifact: per-vertex uv-coordinates Returns a pointer to a member variable of class MR::MeshLoadSettings named uvCoords. The reference to this object might be preserved as the return value.

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

◆ xf()

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

< optional output: transform for the loaded mesh to improve precision of vertex coordinates Returns a pointer to a member variable of class MR::MeshLoadSettings named xf. The reference to this object might be preserved as the return value.

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