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

Public Member Functions

 PlyLoadParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PlyLoadParams ()
 PlyLoadParams (meshlib.std_optional_MR_Triangulation tris, meshlib.std_optional_MR_Edges edges, meshlib.VertColors colors, meshlib.FaceColors faceColors, meshlib.VertCoords2 uvCoords, meshlib.TriCornerUVCoords triCornerUvCoords, meshlib.VertCoords normals, meshlib.MeshTexture texture, java.lang.String dir, meshlib.std_function_bool_from_float callback, boolean telemetrySignal)
 PlyLoadParams (meshlib.PlyLoadParams _other)
meshlib.PlyLoadParams assignFromAnother (meshlib.PlyLoadParams _other)
java.lang.foreign.MemorySegment tris ()
void setTris (meshlib.std_optional_MR_Triangulation value)
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 triCornerUvCoords ()
void setTriCornerUvCoords (meshlib.TriCornerUVCoords value)
java.lang.foreign.MemorySegment normals ()
void setNormals (meshlib.VertCoords value)
java.lang.foreign.MemorySegment texture ()
void setTexture (meshlib.MeshTexture value)
meshlib.std_filesystem_path dir ()
void setDir (java.lang.String 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

optional load artifacts and other setting for PLY file loading Generated from class MR::PlyLoadParams.

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

Constructor & Destructor Documentation

◆ PlyLoadParams() [1/4]

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

◆ PlyLoadParams() [2/4]

meshlib.PlyLoadParams.PlyLoadParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_PlyLoadParams_DefaultConstruct().

◆ PlyLoadParams() [3/4]

meshlib.PlyLoadParams.PlyLoadParams ( meshlib.std_optional_MR_Triangulation tris,
meshlib.std_optional_MR_Edges edges,
meshlib.VertColors colors,
meshlib.FaceColors faceColors,
meshlib.VertCoords2 uvCoords,
meshlib.TriCornerUVCoords triCornerUvCoords,
meshlib.VertCoords normals,
meshlib.MeshTexture texture,
java.lang.String dir,
meshlib.std_function_bool_from_float callback,
boolean telemetrySignal )

Constructs MR::PlyLoadParams elementwise. The reference to the parameter tris might be preserved in the constructed object. 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 triCornerUvCoords 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 dir might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.

Calls MR_PlyLoadParams_ConstructFrom().

◆ PlyLoadParams() [4/4]

meshlib.PlyLoadParams.PlyLoadParams ( meshlib.PlyLoadParams _other)

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

Calls MR_PlyLoadParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PlyLoadParams meshlib.PlyLoadParams.assignFromAnother ( meshlib.PlyLoadParams _other)

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

Calls MR_PlyLoadParams_AssignFromAnother().

◆ callback()

meshlib.std_function_bool_from_float meshlib.PlyLoadParams.callback ( )

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

Calls MR_PlyLoadParams_Get_callback().

◆ colors()

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

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

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

◆ dir()

meshlib.std_filesystem_path meshlib.PlyLoadParams.dir ( )

< directory to load texture files from Returns a pointer to a member variable of class MR::PlyLoadParams named dir. The reference to this object might be preserved as the return value.

Calls MR_PlyLoadParams_Get_dir().

◆ edges()

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

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

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

◆ faceColors()

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

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

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

◆ normals()

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

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

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

◆ setCallback()

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

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

Calls MR_PlyLoadParams_Set_callback().

◆ setColors()

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

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

Calls MR_PlyLoadParams_Set_colors().

◆ setDir()

void meshlib.PlyLoadParams.setDir ( java.lang.String value)

< directory to load texture files from Modifies a member variable of class MR::PlyLoadParams named dir. The reference to the parameter value might be preserved in this object in element dir.

Calls MR_PlyLoadParams_Set_dir().

◆ setEdges()

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

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

Calls MR_PlyLoadParams_Set_edges().

◆ setFaceColors()

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

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

Calls MR_PlyLoadParams_Set_faceColors().

◆ setNormals()

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

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

Calls MR_PlyLoadParams_Set_normals().

◆ setTelemetrySignal()

void meshlib.PlyLoadParams.setTelemetrySignal ( boolean value)

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

Calls MR_PlyLoadParams_Set_telemetrySignal().

◆ setTexture()

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

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

Calls MR_PlyLoadParams_Set_texture().

◆ setTriCornerUvCoords()

void meshlib.PlyLoadParams.setTriCornerUvCoords ( meshlib.TriCornerUVCoords value)

< optional load artifact: per-corner uv-coordinates for each triangle Modifies a member variable of class MR::PlyLoadParams named triCornerUvCoords. The reference to the parameter value might be preserved in this object in element triCornerUvCoords.

Calls MR_PlyLoadParams_Set_triCornerUvCoords().

◆ setTris()

void meshlib.PlyLoadParams.setTris ( meshlib.std_optional_MR_Triangulation value)

< optional load artifact: mesh triangles Modifies a member variable of class MR::PlyLoadParams named tris. The reference to the parameter value might be preserved in this object in element tris.

Calls MR_PlyLoadParams_Set_tris().

◆ setUvCoords()

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

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

Calls MR_PlyLoadParams_Set_uvCoords().

◆ telemetrySignal()

boolean meshlib.PlyLoadParams.telemetrySignal ( )

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

Calls MR_PlyLoadParams_Get_telemetrySignal().

◆ texture()

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

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

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

◆ triCornerUvCoords()

java.lang.foreign.MemorySegment meshlib.PlyLoadParams.triCornerUvCoords ( )

< optional load artifact: per-corner uv-coordinates for each triangle Returns a pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords. The reference to this object might be preserved as the return value.

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

◆ tris()

java.lang.foreign.MemorySegment meshlib.PlyLoadParams.tris ( )

< optional load artifact: mesh triangles Returns a pointer to a member variable of class MR::PlyLoadParams named tris. The reference to this object might be preserved as the return value.

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

◆ uvCoords()

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

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

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


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