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

Public Member Functions

 CtmSavePointsOptions (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CtmSavePointsOptions ()
 CtmSavePointsOptions (meshlib.pointssave.CtmSavePointsOptions _other)
meshlib.pointssave.CtmSavePointsOptions assignFromAnother (meshlib.pointssave.CtmSavePointsOptions _other)
int compressionLevel ()
void setCompressionLevel (int value)
java.lang.foreign.MemorySegment comment ()
void setComment (java.lang.Byte value)
boolean onlyValidPoints ()
void setOnlyValidPoints (boolean value)
boolean packPrimitives ()
void setPackPrimitives (boolean value)
java.lang.foreign.MemorySegment colors ()
void setColors (meshlib.VertColors value)
java.lang.foreign.MemorySegment primitiveColors ()
void setPrimitiveColors (meshlib.FaceColors value)
java.lang.foreign.MemorySegment uvMap ()
void setUvMap (meshlib.VertCoords2 value)
boolean saveTriCornerUVCoords ()
void setSaveTriCornerUVCoords (boolean value)
java.lang.foreign.MemorySegment texture ()
void setTexture (meshlib.MeshTexture value)
meshlib.std_string materialName ()
void setMaterialName (java.lang.String value)
java.lang.foreign.MemorySegment xf ()
void setXf (meshlib.AffineXf3d value)
meshlib.std_optional_MR_LengthUnit lengthUnit ()
void setLengthUnit (meshlib.LengthUnit value)
meshlib.std_optional_MR_Color solidColor ()
void setSolidColor (meshlib.Color value)
boolean telemetrySignal ()
void setTelemetrySignal (boolean value)
meshlib.std_function_bool_from_float progress ()
void setProgress (meshlib.std_function_bool_from_float value)
meshlib.SaveSettings upcastToSaveSettings ()
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 ()

Static Public Member Functions

static meshlib.pointssave.CtmSavePointsOptions staticDowncastFromSaveSettings (meshlib.SaveSettings object)

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::PointsSave::CtmSavePointsOptions. Base classes: Direct: (non-virtual) MR::SaveSettings

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

Constructor & Destructor Documentation

◆ CtmSavePointsOptions() [1/3]

meshlib.pointssave.CtmSavePointsOptions.CtmSavePointsOptions ( 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.

◆ CtmSavePointsOptions() [2/3]

meshlib.pointssave.CtmSavePointsOptions.CtmSavePointsOptions ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointsSave_CtmSavePointsOptions_DefaultConstruct().

◆ CtmSavePointsOptions() [3/3]

meshlib.pointssave.CtmSavePointsOptions.CtmSavePointsOptions ( meshlib.pointssave.CtmSavePointsOptions _other)

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

Calls MR_PointsSave_CtmSavePointsOptions_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.pointssave.CtmSavePointsOptions meshlib.pointssave.CtmSavePointsOptions.assignFromAnother ( meshlib.pointssave.CtmSavePointsOptions _other)

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

Calls MR_PointsSave_CtmSavePointsOptions_AssignFromAnother().

◆ colors()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.colors ( )

optional per-vertex color to save with the geometry Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named colors. The reference to this object might be preserved as the return value.

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

◆ comment()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.comment ( )

comment saved in the file Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named comment. The reference to this object might be preserved as the return value.

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

◆ compressionLevel()

int meshlib.pointssave.CtmSavePointsOptions.compressionLevel ( )

0 - minimal compression, but fast; 9 - maximal compression, but slow Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named compressionLevel. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_compressionLevel().

◆ lengthUnit()

meshlib.std_optional_MR_LengthUnit meshlib.pointssave.CtmSavePointsOptions.lengthUnit ( )

units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named lengthUnit. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_lengthUnit().

◆ materialName()

meshlib.std_string meshlib.pointssave.CtmSavePointsOptions.materialName ( )

the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY) Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named materialName. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_materialName().

◆ onlyValidPoints()

boolean meshlib.pointssave.CtmSavePointsOptions.onlyValidPoints ( )

true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named onlyValidPoints. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_onlyValidPoints().

◆ packPrimitives()

boolean meshlib.pointssave.CtmSavePointsOptions.packPrimitives ( )

whether to allow packing or shuffling of primitives (triangles in meshes or edges in polylines); if packPrimitives=true, then ids of invalid primitives are reused by valid primitives and higher compression (in .ctm format) can be reached if the order of triangles is changed; if packPrimitives=false then all primitives maintain their ids, and invalid primitives are saved with all vertex ids equal to zero; currently this flag affects the saving in .ctm and .ply formats only Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named packPrimitives. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_packPrimitives().

◆ primitiveColors()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.primitiveColors ( )

per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named primitiveColors. The reference to this object might be preserved as the return value.

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

◆ progress()

meshlib.std_function_bool_from_float meshlib.pointssave.CtmSavePointsOptions.progress ( )

to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named progress. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_progress().

◆ saveTriCornerUVCoords()

boolean meshlib.pointssave.CtmSavePointsOptions.saveTriCornerUVCoords ( )

if a format supports both per-vertex and per-tri-corner UV-coordinates, then prefer the later option (it takes more space but more supported in other software) Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named saveTriCornerUVCoords. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_saveTriCornerUVCoords().

◆ setColors()

void meshlib.pointssave.CtmSavePointsOptions.setColors ( meshlib.VertColors value)

optional per-vertex color to save with the geometry Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named colors. The reference to the parameter value might be preserved in this object in element colors.

Calls MR_PointsSave_CtmSavePointsOptions_Set_colors().

◆ setComment()

void meshlib.pointssave.CtmSavePointsOptions.setComment ( java.lang.Byte value)

comment saved in the file Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named comment. The reference to the parameter value might be preserved in this object in element comment.

Calls MR_PointsSave_CtmSavePointsOptions_Set_comment().

◆ setCompressionLevel()

void meshlib.pointssave.CtmSavePointsOptions.setCompressionLevel ( int value)

0 - minimal compression, but fast; 9 - maximal compression, but slow Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named compressionLevel.

Calls MR_PointsSave_CtmSavePointsOptions_Set_compressionLevel().

◆ setLengthUnit()

void meshlib.pointssave.CtmSavePointsOptions.setLengthUnit ( meshlib.LengthUnit value)

units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.

Calls MR_PointsSave_CtmSavePointsOptions_Set_lengthUnit().

◆ setMaterialName()

void meshlib.pointssave.CtmSavePointsOptions.setMaterialName ( java.lang.String value)

the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY) Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named materialName. The reference to the parameter value might be preserved in this object in element materialName.

Calls MR_PointsSave_CtmSavePointsOptions_Set_materialName().

◆ setOnlyValidPoints()

void meshlib.pointssave.CtmSavePointsOptions.setOnlyValidPoints ( boolean value)

true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named onlyValidPoints.

Calls MR_PointsSave_CtmSavePointsOptions_Set_onlyValidPoints().

◆ setPackPrimitives()

void meshlib.pointssave.CtmSavePointsOptions.setPackPrimitives ( boolean value)

whether to allow packing or shuffling of primitives (triangles in meshes or edges in polylines); if packPrimitives=true, then ids of invalid primitives are reused by valid primitives and higher compression (in .ctm format) can be reached if the order of triangles is changed; if packPrimitives=false then all primitives maintain their ids, and invalid primitives are saved with all vertex ids equal to zero; currently this flag affects the saving in .ctm and .ply formats only Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named packPrimitives.

Calls MR_PointsSave_CtmSavePointsOptions_Set_packPrimitives().

◆ setPrimitiveColors()

void meshlib.pointssave.CtmSavePointsOptions.setPrimitiveColors ( meshlib.FaceColors value)

per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named primitiveColors. The reference to the parameter value might be preserved in this object in element primitiveColors.

Calls MR_PointsSave_CtmSavePointsOptions_Set_primitiveColors().

◆ setProgress()

void meshlib.pointssave.CtmSavePointsOptions.setProgress ( meshlib.std_function_bool_from_float value)

to report save progress and cancel saving if user desires Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named progress. The reference to the parameter value might be preserved in this object in element progress.

Calls MR_PointsSave_CtmSavePointsOptions_Set_progress().

◆ setSaveTriCornerUVCoords()

void meshlib.pointssave.CtmSavePointsOptions.setSaveTriCornerUVCoords ( boolean value)

if a format supports both per-vertex and per-tri-corner UV-coordinates, then prefer the later option (it takes more space but more supported in other software) Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named saveTriCornerUVCoords.

Calls MR_PointsSave_CtmSavePointsOptions_Set_saveTriCornerUVCoords().

◆ setSolidColor()

void meshlib.pointssave.CtmSavePointsOptions.setSolidColor ( meshlib.Color value)

the color of whole object Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named solidColor. The reference to the parameter value might be preserved in this object in element solidColor.

Calls MR_PointsSave_CtmSavePointsOptions_Set_solidColor().

◆ setTelemetrySignal()

void meshlib.pointssave.CtmSavePointsOptions.setTelemetrySignal ( boolean value)

permit telemetry signal about saving Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named telemetrySignal.

Calls MR_PointsSave_CtmSavePointsOptions_Set_telemetrySignal().

◆ setTexture()

void meshlib.pointssave.CtmSavePointsOptions.setTexture ( meshlib.MeshTexture value)

optional texture to save with the geometry Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named texture. The reference to the parameter value might be preserved in this object in element texture.

Calls MR_PointsSave_CtmSavePointsOptions_Set_texture().

◆ setUvMap()

void meshlib.pointssave.CtmSavePointsOptions.setUvMap ( meshlib.VertCoords2 value)

optional per-vertex uv coordinate to save with the geometry Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named uvMap. The reference to the parameter value might be preserved in this object in element uvMap.

Calls MR_PointsSave_CtmSavePointsOptions_Set_uvMap().

◆ setXf()

void meshlib.pointssave.CtmSavePointsOptions.setXf ( meshlib.AffineXf3d value)

this transformation can optionally be applied to all vertices (points) of saved object Modifies a member variable of class MR::PointsSave::CtmSavePointsOptions named xf. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_PointsSave_CtmSavePointsOptions_Set_xf().

◆ solidColor()

meshlib.std_optional_MR_Color meshlib.pointssave.CtmSavePointsOptions.solidColor ( )

the color of whole object Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named solidColor. The reference to this object might be preserved as the return value.

Calls MR_PointsSave_CtmSavePointsOptions_Get_solidColor().

◆ staticDowncastFromSaveSettings()

meshlib.pointssave.CtmSavePointsOptions meshlib.pointssave.CtmSavePointsOptions.staticDowncastFromSaveSettings ( meshlib.SaveSettings object)
static

Static downcast from the base class MR::SaveSettings. Undefined behavior if the object isn't actually a CtmSavePointsOptions. The result refers to object.

Calls MR_PointsSave_CtmSavePointsOptions_MutableStaticDowncastFrom_MR_SaveSettings().

◆ telemetrySignal()

boolean meshlib.pointssave.CtmSavePointsOptions.telemetrySignal ( )

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

Calls MR_PointsSave_CtmSavePointsOptions_Get_telemetrySignal().

◆ texture()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.texture ( )

optional texture to save with the geometry Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named texture. The reference to this object might be preserved as the return value.

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

◆ upcastToSaveSettings()

meshlib.SaveSettings meshlib.pointssave.CtmSavePointsOptions.upcastToSaveSettings ( )

Upcasts to the base class MR::SaveSettings. The result refers to this object.

Calls MR_PointsSave_CtmSavePointsOptions_MutableUpcastTo_MR_SaveSettings().

◆ uvMap()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.uvMap ( )

optional per-vertex uv coordinate to save with the geometry Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named uvMap. The reference to this object might be preserved as the return value.

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

◆ xf()

java.lang.foreign.MemorySegment meshlib.pointssave.CtmSavePointsOptions.xf ( )

this transformation can optionally be applied to all vertices (points) of saved object Returns a pointer to a member variable of class MR::PointsSave::CtmSavePointsOptions named xf. The reference to this object might be preserved as the return value.

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