MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PointsSave.CtmSavePointsOptions Class Reference

Generated from class MR.PointsSave.CtmSavePointsOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class. More...

+ Inheritance diagram for MR.PointsSave.CtmSavePointsOptions:

Public Member Functions

unsafe CtmSavePointsOptions ()
 Constructs an empty (default-constructed) instance.
 
unsafe CtmSavePointsOptions (MR.PointsSave._ByValue_CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.
 
 CtmSavePointsOptions (Const_CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.
 
 CtmSavePointsOptions (CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.
 
unsafe MR.PointsSave.CtmSavePointsOptions assign (MR.PointsSave._ByValue_CtmSavePointsOptions _other)
 Generated from method MR.PointsSave.CtmSavePointsOptions.operator=.
 

Static Public Member Functions

static unsafe implicit operator MR.SaveSettings (CtmSavePointsOptions self)
 

Properties

new unsafe ref int compressionLevel [get]
 0 - minimal compression, but fast; 9 - maximal compression, but slow
 
new unsafe MR.Misc.? Const_Box< byte > comment [get, set]
 comment saved in the file
 
new unsafe ref bool onlyValidPoints [get]
 
new unsafe ref bool packPrimitives [get]
 
new unsafe MR.? Const_VertColors colors [get, set]
 optional per-vertex color to save with the geometry
 
new unsafe MR.Std.? Const_Vector_MRColor primitiveColors [get, set]
 per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
 
new unsafe MR.? Const_VertCoords2 uvMap [get, set]
 optional per-vertex uv coordinate to save with the geometry
 
new unsafe ref bool saveTriCornerUVCoords [get]
 
new unsafe MR.? Const_MeshTexture texture [get, set]
 optional texture to save with the geometry
 
new unsafe MR.Std.String materialName [get, protected set]
 the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
 
new unsafe MR.? ConstBox_AffineXf3d xf [get, set]
 this transformation can optionally be applied to all vertices (points) of saved object
 
new unsafe MR.Std.Optional_MRLengthUnit lengthUnit [get, protected set]
 units of input coordinates and transformation, to be serialized if the format supports it
 
new unsafe MR.Std.Optional_MRColor solidColor [get, protected set]
 the color of whole object
 
new unsafe MR.Std.Function_BoolFuncFromFloat progress [get, protected set]
 to report save progress and cancel saving if user desires
 

Detailed Description

Generated from class MR.PointsSave.CtmSavePointsOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class.

Constructor & Destructor Documentation

◆ CtmSavePointsOptions() [1/4]

unsafe MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ CtmSavePointsOptions() [2/4]

unsafe MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions ( MR.PointsSave._ByValue_CtmSavePointsOptions _other)
inline

Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.

◆ CtmSavePointsOptions() [3/4]

MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions ( Const_CtmSavePointsOptions _other)
inline

Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.

◆ CtmSavePointsOptions() [4/4]

MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions ( CtmSavePointsOptions _other)
inline

Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.

Member Function Documentation

◆ assign()

unsafe MR.PointsSave.CtmSavePointsOptions MR.PointsSave.CtmSavePointsOptions.assign ( MR.PointsSave._ByValue_CtmSavePointsOptions _other)
inline

Generated from method MR.PointsSave.CtmSavePointsOptions.operator=.

◆ operator MR.SaveSettings()

static unsafe implicit MR.PointsSave.CtmSavePointsOptions.operator MR.SaveSettings ( CtmSavePointsOptions self)
inlinestatic

Property Documentation

◆ colors

new unsafe MR.? Const_VertColors MR.PointsSave.CtmSavePointsOptions.colors
getset

optional per-vertex color to save with the geometry

◆ comment

new unsafe MR.Misc.? Const_Box<byte> MR.PointsSave.CtmSavePointsOptions.comment
getset

comment saved in the file

◆ compressionLevel

new unsafe ref int MR.PointsSave.CtmSavePointsOptions.compressionLevel
get

0 - minimal compression, but fast; 9 - maximal compression, but slow

◆ lengthUnit

new unsafe MR.Std.Optional_MRLengthUnit MR.PointsSave.CtmSavePointsOptions.lengthUnit
getprotected set

units of input coordinates and transformation, to be serialized if the format supports it

◆ materialName

new unsafe MR.Std.String MR.PointsSave.CtmSavePointsOptions.materialName
getprotected set

the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)

◆ onlyValidPoints

new unsafe ref bool MR.PointsSave.CtmSavePointsOptions.onlyValidPoints
get

true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices

◆ packPrimitives

new unsafe ref bool MR.PointsSave.CtmSavePointsOptions.packPrimitives
get

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

◆ primitiveColors

new unsafe MR.Std.? Const_Vector_MRColor MR.PointsSave.CtmSavePointsOptions.primitiveColors
getset

per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other

◆ progress

new unsafe MR.Std.Function_BoolFuncFromFloat MR.PointsSave.CtmSavePointsOptions.progress
getprotected set

to report save progress and cancel saving if user desires

◆ saveTriCornerUVCoords

new unsafe ref bool MR.PointsSave.CtmSavePointsOptions.saveTriCornerUVCoords
get

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)

◆ solidColor

new unsafe MR.Std.Optional_MRColor MR.PointsSave.CtmSavePointsOptions.solidColor
getprotected set

the color of whole object

◆ texture

new unsafe MR.? Const_MeshTexture MR.PointsSave.CtmSavePointsOptions.texture
getset

optional texture to save with the geometry

◆ uvMap

new unsafe MR.? Const_VertCoords2 MR.PointsSave.CtmSavePointsOptions.uvMap
getset

optional per-vertex uv coordinate to save with the geometry

◆ xf

new unsafe MR.? ConstBox_AffineXf3d MR.PointsSave.CtmSavePointsOptions.xf
getset

this transformation can optionally be applied to all vertices (points) of saved object


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