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

Public Types

typedef Expected< void >(*)(const Mesh &, const std::filesystem::path &, const SaveSettingsMeshFileSaver)
 
typedef Expected< void >(*)(const Mesh &, std::ostream &, const SaveSettingsMeshStreamSaver)
 

Static Public Member Functions

static unsafe void toCtm (MR.Const_Mesh mesh, string file, MR.MeshSave.Const_CtmSaveOptions options)
 saves in .ctm file Generated from function MR.MeshSave.toCtm.
 
static unsafe void toCtm (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.MeshSave.Const_CtmSaveOptions options)
 Generated from function MR.MeshSave.toCtm.
 
static unsafe void toCtm (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toCtm. Parameter settings defaults to {}.
 
static unsafe void toCtm (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toCtm. Parameter settings defaults to {}.
 
static unsafe void toMrmesh (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in internal file format; SaveSettings.onlyValidPoints = true is ignored Generated from function MR.MeshSave.toMrmesh. Parameter settings defaults to {}.
 
static unsafe void toMrmesh (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toMrmesh. Parameter settings defaults to {}.
 
static unsafe void toOff (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in .off file Generated from function MR.MeshSave.toOff. Parameter settings defaults to {}.
 
static unsafe void toOff (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toOff. Parameter settings defaults to {}.
 
static unsafe void toObj (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings settings, int firstVertId)
 saves in .obj file
 
static unsafe void toObj (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings settings, int firstVertId)
 Generated from function MR.MeshSave.toObj.
 
static unsafe void toObj (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toObj. Parameter settings defaults to {}.
 
static unsafe void toObj (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toObj. Parameter settings defaults to {}.
 
static unsafe void toBinaryStl (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in binary .stl file; SaveSettings.onlyValidPoints = false is ignored Generated from function MR.MeshSave.toBinaryStl. Parameter settings defaults to {}.
 
static unsafe void toBinaryStl (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toBinaryStl. Parameter settings defaults to {}.
 
static unsafe void toAsciiStl (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in textual .stl file; SaveSettings.onlyValidPoints = false is ignored Generated from function MR.MeshSave.toAsciiStl. Parameter settings defaults to {}.
 
static unsafe void toAsciiStl (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toAsciiStl. Parameter settings defaults to {}.
 
static unsafe void toPly (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in .ply file Generated from function MR.MeshSave.toPly. Parameter settings defaults to {}.
 
static unsafe void toPly (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toPly. Parameter settings defaults to {}.
 
static unsafe void toModel3mf (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in 3mf .model file Generated from function MR.MeshSave.toModel3mf. Parameter settings defaults to {}.
 
static unsafe void toModel3mf (MR.Const_Mesh mesh, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 Generated from function MR.MeshSave.toModel3mf. Parameter settings defaults to {}.
 
static unsafe void to3mf (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 saves in .3mf file Generated from function MR.MeshSave.to3mf. Parameter settings defaults to {}.
 
static unsafe void toAnySupportedFormat (MR.Const_Mesh mesh, string file, MR.Const_SaveSettings? settings=null)
 detects the format from file extension and save mesh to it Generated from function MR.MeshSave.toAnySupportedFormat. Parameter settings defaults to {}.
 
static unsafe void toAnySupportedFormat (MR.Const_Mesh mesh, string extension, MR.Std.Ostream out_, MR.Const_SaveSettings? settings=null)
 extension in *.ext format Generated from function MR.MeshSave.toAnySupportedFormat. Parameter settings defaults to {}.
 
static unsafe void sceneToObj (MR.Std.Const_Vector_MRMeshSaveNamedXfMesh objects, string file, MR.VertColors? colors=null)
 Generated from function MR.MeshSave.sceneToObj.
 
static unsafe void sceneToObj (MR.Std.Const_Vector_MRMeshSaveNamedXfMesh objects, MR.Std.Ostream out_, MR.VertColors? colors=null)
 Generated from function MR.MeshSave.sceneToObj.
 

Member Function Documentation

◆ toObj()

static unsafe void MR.MeshSave.toObj ( MR.Const_Mesh mesh,
string file,
MR.Const_SaveSettings settings,
int firstVertId )
inlinestatic

saves in .obj file

Parameters
firstVertIdis the index of first mesh vertex in the output file (if this object is not the first there) Generated from function MR.MeshSave.toObj.

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