MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.PointsSave.Const_CtmSavePointsOptions:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_CtmSavePointsOptions ()
 Constructs an empty (default-constructed) instance.
unsafe Const_CtmSavePointsOptions (MR.PointsSave._ByValue_CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.
 Const_CtmSavePointsOptions (Const_CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.
 Const_CtmSavePointsOptions (CtmSavePointsOptions _other)
 Generated from constructor MR.PointsSave.CtmSavePointsOptions.CtmSavePointsOptions.

Static Public Member Functions

static unsafe implicit operator MR.Const_SaveSettings (Const_CtmSavePointsOptions self)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe int * __ref_storage_compressionLevel
unsafe byte ** __ptr_storage_comment
unsafe bool * __ref_storage_onlyValidPoints
unsafe bool * __ref_storage_packPrimitives
unsafe MR.Const_VertColors._Underlying ** __ptr_storage_colors
unsafe MR.Std.Const_Vector_MRColor._Underlying ** __ptr_storage_primitiveColors
unsafe MR.Const_VertCoords2._Underlying ** __ptr_storage_uvMap
unsafe bool * __ref_storage_saveTriCornerUVCoords
unsafe MR.Const_MeshTexture._Underlying ** __ptr_storage_texture
unsafe MR.ConstBox_AffineXf3d._Underlying ** __ptr_storage_xf

Properties

unsafe int compressionLevel [get]
 0 - minimal compression, but fast; 9 - maximal compression, but slow
unsafe MR.Misc.? Const_Box< byte > comment [get]
 comment saved in the file
unsafe bool onlyValidPoints [get]
 true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
unsafe bool 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
unsafe MR.? Const_VertColors colors [get]
 optional per-vertex color to save with the geometry
unsafe MR.Std.? Const_Vector_MRColor primitiveColors [get]
 per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
unsafe MR.? Const_VertCoords2 uvMap [get]
 optional per-vertex uv coordinate to save with the geometry
unsafe bool 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)
unsafe MR.? Const_MeshTexture texture [get]
 optional texture to save with the geometry
unsafe MR.Std.Const_String materialName [get, protected set]
 the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
unsafe MR.? ConstBox_AffineXf3d xf [get]
 this transformation can optionally be applied to all vertices (points) of saved object
unsafe MR.Std.Const_Optional_MRLengthUnit lengthUnit [get, protected set]
 units of input coordinates and transformation, to be serialized if the format supports it
unsafe MR.Std.Const_Optional_MRColor solidColor [get, protected set]
 the color of whole object
unsafe MR.Std.Const_Function_Bool_From_Float 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 const half of the class.

Constructor & Destructor Documentation

◆ Const_CtmSavePointsOptions() [1/4]

unsafe MR.PointsSave.Const_CtmSavePointsOptions.Const_CtmSavePointsOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_CtmSavePointsOptions() [2/4]

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

◆ Const_CtmSavePointsOptions() [3/4]

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

◆ Const_CtmSavePointsOptions() [4/4]

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.PointsSave.Const_CtmSavePointsOptions.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.PointsSave.Const_CtmSavePointsOptions.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator MR.Const_SaveSettings()

unsafe implicit MR.PointsSave.Const_CtmSavePointsOptions.operator MR.Const_SaveSettings ( Const_CtmSavePointsOptions self)
inlinestatic

Member Data Documentation

◆ __ptr_storage_colors

unsafe MR.Const_VertColors._Underlying** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_colors
protected

◆ __ptr_storage_comment

unsafe byte** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_comment
protected

◆ __ptr_storage_primitiveColors

unsafe MR.Std.Const_Vector_MRColor._Underlying** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_primitiveColors
protected

◆ __ptr_storage_texture

unsafe MR.Const_MeshTexture._Underlying** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_texture
protected

◆ __ptr_storage_uvMap

unsafe MR.Const_VertCoords2._Underlying** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_uvMap
protected

◆ __ptr_storage_xf

unsafe MR.ConstBox_AffineXf3d._Underlying** MR.PointsSave.Const_CtmSavePointsOptions.__ptr_storage_xf
protected

◆ __ref_storage_compressionLevel

unsafe int* MR.PointsSave.Const_CtmSavePointsOptions.__ref_storage_compressionLevel
protected

◆ __ref_storage_onlyValidPoints

unsafe bool* MR.PointsSave.Const_CtmSavePointsOptions.__ref_storage_onlyValidPoints
protected

◆ __ref_storage_packPrimitives

unsafe bool* MR.PointsSave.Const_CtmSavePointsOptions.__ref_storage_packPrimitives
protected

◆ __ref_storage_saveTriCornerUVCoords

unsafe bool* MR.PointsSave.Const_CtmSavePointsOptions.__ref_storage_saveTriCornerUVCoords
protected

Property Documentation

◆ colors

unsafe MR.? Const_VertColors MR.PointsSave.Const_CtmSavePointsOptions.colors
get

optional per-vertex color to save with the geometry

◆ comment

unsafe MR.Misc.? Const_Box<byte> MR.PointsSave.Const_CtmSavePointsOptions.comment
get

comment saved in the file

◆ compressionLevel

unsafe int MR.PointsSave.Const_CtmSavePointsOptions.compressionLevel
get

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

◆ lengthUnit

unsafe MR.Std.Const_Optional_MRLengthUnit MR.PointsSave.Const_CtmSavePointsOptions.lengthUnit
getprotected set

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

◆ materialName

unsafe MR.Std.Const_String MR.PointsSave.Const_CtmSavePointsOptions.materialName
getprotected set

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

◆ onlyValidPoints

unsafe bool MR.PointsSave.Const_CtmSavePointsOptions.onlyValidPoints
get

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

◆ packPrimitives

unsafe bool MR.PointsSave.Const_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

unsafe MR.Std.? Const_Vector_MRColor MR.PointsSave.Const_CtmSavePointsOptions.primitiveColors
get

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

◆ progress

unsafe MR.Std.Const_Function_Bool_From_Float MR.PointsSave.Const_CtmSavePointsOptions.progress
getprotected set

to report save progress and cancel saving if user desires

◆ saveTriCornerUVCoords

unsafe bool MR.PointsSave.Const_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

unsafe MR.Std.Const_Optional_MRColor MR.PointsSave.Const_CtmSavePointsOptions.solidColor
getprotected set

the color of whole object

◆ texture

unsafe MR.? Const_MeshTexture MR.PointsSave.Const_CtmSavePointsOptions.texture
get

optional texture to save with the geometry

◆ uvMap

unsafe MR.? Const_VertCoords2 MR.PointsSave.Const_CtmSavePointsOptions.uvMap
get

optional per-vertex uv coordinate to save with the geometry

◆ xf

unsafe MR.? ConstBox_AffineXf3d MR.PointsSave.Const_CtmSavePointsOptions.xf
get

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


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