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

Classes

class  _ByValue_NamedMesh
 This is used as a function parameter when the underlying function receives NamedMesh by value. Usage:
 
class  _ByValue_ObjLoadSettings
 This is used as a function parameter when the underlying function receives ObjLoadSettings by value. Usage:
 
class  _InOptConst_NamedMesh
 This is used for optional parameters of class NamedMesh with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_NamedMesh. Usage:
 
class  _InOptConst_ObjLoadSettings
 This is used for optional parameters of class ObjLoadSettings with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_ObjLoadSettings. Usage:
 
class  _InOptMut_NamedMesh
 This is used for optional parameters of class NamedMesh with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_NamedMesh. Usage:
 
class  _InOptMut_ObjLoadSettings
 This is used for optional parameters of class ObjLoadSettings with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_ObjLoadSettings. Usage:
 
class  Const_NamedMesh
 Generated from class MR.MeshLoad.NamedMesh. This is the const half of the class.
 
class  Const_ObjLoadSettings
 Generated from class MR.MeshLoad.ObjLoadSettings. This is the const half of the class.
 
class  NamedMesh
 Generated from class MR.MeshLoad.NamedMesh. This is the non-const half of the class. More...
 
class  ObjLoadSettings
 Generated from class MR.MeshLoad.ObjLoadSettings. This is the non-const half of the class. More...
 

Static Public Member Functions

static unsafe MR.Mesh fromCtm (string file, MR.Const_MeshLoadSettings? settings=null)
 loads from .ctm file Generated from function MR.MeshLoad.fromCtm. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromCtm (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 Generated from function MR.MeshLoad.fromCtm. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromStep (string path, MR.Const_MeshLoadSettings? settings=null)
 load mesh data from STEP file using OpenCASCADE Generated from function MR.MeshLoad.fromStep. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromStep (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 Generated from function MR.MeshLoad.fromStep. Parameter settings defaults to {}.
 
static unsafe MR.Object fromSceneStepFile (string path, MR.Const_MeshLoadSettings? settings=null)
 load scene from STEP file using OpenCASCADE Generated from function MR.MeshLoad.fromSceneStepFile. Parameter settings defaults to {}.
 
static unsafe MR.Object fromSceneStepFile (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 Generated from function MR.MeshLoad.fromSceneStepFile. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromMrmesh (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in internal MeshLib format Generated from function MR.MeshLoad.fromMrmesh. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromMrmesh (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromMrmesh. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromOff (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in .OFF format Generated from function MR.MeshLoad.fromOff. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromOff (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in .OFF format Generated from function MR.MeshLoad.fromOff. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromObj (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in .OBJ format Generated from function MR.MeshLoad.fromObj. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromObj (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in .OBJ format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromObj. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromAnyStl (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in any .STL format: both binary and ASCII Generated from function MR.MeshLoad.fromAnyStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromAnyStl (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in any .STL format: both binary and ASCII; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromAnyStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromBinaryStl (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in binary .STL format Generated from function MR.MeshLoad.fromBinaryStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromBinaryStl (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in binary .STL format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromBinaryStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromASCIIStl (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in textual .STL format Generated from function MR.MeshLoad.fromASCIIStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromASCIIStl (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in textual .STL format Generated from function MR.MeshLoad.fromASCIIStl. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromPly (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in .PLY format; Generated from function MR.MeshLoad.fromPly. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromPly (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in .PLY format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromPly. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromDxf (string path, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in .DXF format; Generated from function MR.MeshLoad.fromDxf. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromDxf (MR.Std.Istream in_, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in .DXF format; Generated from function MR.MeshLoad.fromDxf. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromAnySupportedFormat (string file, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from file in the format detected from file extension Generated from function MR.MeshLoad.fromAnySupportedFormat. Parameter settings defaults to {}.
 
static unsafe MR.Mesh fromAnySupportedFormat (MR.Std.Istream in_, string extension, MR.Const_MeshLoadSettings? settings=null)
 loads mesh from stream in the format detected from given extension-string (*.ext); important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromAnySupportedFormat. Parameter settings defaults to {}.
 
static unsafe MR.Std.Vector_MRMeshLoadNamedMesh fromSceneObjFile (string file, bool combineAllObjects, MR.MeshLoad.Const_ObjLoadSettings? settings=null)
 loads meshes from .obj file Generated from function MR.MeshLoad.fromSceneObjFile. Parameter settings defaults to {}.
 
static unsafe MR.Std.Vector_MRMeshLoadNamedMesh fromSceneObjFile (MR.Std.Istream in_, bool combineAllObjects, string dir, MR.MeshLoad.Const_ObjLoadSettings? settings=null)
 loads meshes from a stream with .obj file contents important on Windows: in stream must be open in binary mode
 
static unsafe MR.Std.Vector_MRMeshLoadNamedMesh fromSceneObjFile (byte? data, ulong size, bool combineAllObjects, string dir, MR.MeshLoad.Const_ObjLoadSettings? settings=null)
 loads meshes from memory array with .obj file contents
 
static unsafe MR.LoadedObjects loadObjectFromObj (string file, MR.Std.Const_Function_BoolFuncFromFloat? cb=null)
 reads all objects from .OBJ file Generated from function MR.MeshLoad.loadObjectFromObj. Parameter cb defaults to {}.
 

Member Function Documentation

◆ fromAnyStl() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromAnyStl ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in any .STL format: both binary and ASCII; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromAnyStl. Parameter settings defaults to {}.

◆ fromAnyStl() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromAnyStl ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in any .STL format: both binary and ASCII Generated from function MR.MeshLoad.fromAnyStl. Parameter settings defaults to {}.

◆ fromAnySupportedFormat() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromAnySupportedFormat ( MR.Std.Istream in_,
string extension,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in the format detected from given extension-string (*.ext); important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromAnySupportedFormat. Parameter settings defaults to {}.

◆ fromAnySupportedFormat() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromAnySupportedFormat ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in the format detected from file extension Generated from function MR.MeshLoad.fromAnySupportedFormat. Parameter settings defaults to {}.

◆ fromASCIIStl() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromASCIIStl ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in textual .STL format Generated from function MR.MeshLoad.fromASCIIStl. Parameter settings defaults to {}.

◆ fromASCIIStl() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromASCIIStl ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in textual .STL format Generated from function MR.MeshLoad.fromASCIIStl. Parameter settings defaults to {}.

◆ fromBinaryStl() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromBinaryStl ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in binary .STL format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromBinaryStl. Parameter settings defaults to {}.

◆ fromBinaryStl() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromBinaryStl ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in binary .STL format Generated from function MR.MeshLoad.fromBinaryStl. Parameter settings defaults to {}.

◆ fromCtm() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromCtm ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

Generated from function MR.MeshLoad.fromCtm. Parameter settings defaults to {}.

◆ fromCtm() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromCtm ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads from .ctm file Generated from function MR.MeshLoad.fromCtm. Parameter settings defaults to {}.

◆ fromDxf() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromDxf ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in .DXF format; Generated from function MR.MeshLoad.fromDxf. Parameter settings defaults to {}.

◆ fromDxf() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromDxf ( string path,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in .DXF format; Generated from function MR.MeshLoad.fromDxf. Parameter settings defaults to {}.

◆ fromMrmesh() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromMrmesh ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromMrmesh. Parameter settings defaults to {}.

◆ fromMrmesh() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromMrmesh ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in internal MeshLib format Generated from function MR.MeshLoad.fromMrmesh. Parameter settings defaults to {}.

◆ fromObj() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromObj ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in .OBJ format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromObj. Parameter settings defaults to {}.

◆ fromObj() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromObj ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in .OBJ format Generated from function MR.MeshLoad.fromObj. Parameter settings defaults to {}.

◆ fromOff() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromOff ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in .OFF format Generated from function MR.MeshLoad.fromOff. Parameter settings defaults to {}.

◆ fromOff() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromOff ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in .OFF format Generated from function MR.MeshLoad.fromOff. Parameter settings defaults to {}.

◆ fromPly() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromPly ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from stream in .PLY format; important on Windows: in stream must be open in binary mode Generated from function MR.MeshLoad.fromPly. Parameter settings defaults to {}.

◆ fromPly() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromPly ( string file,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

loads mesh from file in .PLY format; Generated from function MR.MeshLoad.fromPly. Parameter settings defaults to {}.

◆ fromSceneObjFile() [1/3]

static unsafe MR.Std.Vector_MRMeshLoadNamedMesh MR.MeshLoad.fromSceneObjFile ( byte? data,
ulong size,
bool combineAllObjects,
string dir,
MR.MeshLoad.Const_ObjLoadSettings? settings = null )
inlinestatic

loads meshes from memory array with .obj file contents

Parameters
dirworking directory where materials and textures are located Generated from function MR.MeshLoad.fromSceneObjFile. Parameter settings defaults to {}.

◆ fromSceneObjFile() [2/3]

static unsafe MR.Std.Vector_MRMeshLoadNamedMesh MR.MeshLoad.fromSceneObjFile ( MR.Std.Istream in_,
bool combineAllObjects,
string dir,
MR.MeshLoad.Const_ObjLoadSettings? settings = null )
inlinestatic

loads meshes from a stream with .obj file contents important on Windows: in stream must be open in binary mode

Parameters
dirworking directory where materials and textures are located Generated from function MR.MeshLoad.fromSceneObjFile. Parameter settings defaults to {}.

◆ fromSceneObjFile() [3/3]

static unsafe MR.Std.Vector_MRMeshLoadNamedMesh MR.MeshLoad.fromSceneObjFile ( string file,
bool combineAllObjects,
MR.MeshLoad.Const_ObjLoadSettings? settings = null )
inlinestatic

loads meshes from .obj file Generated from function MR.MeshLoad.fromSceneObjFile. Parameter settings defaults to {}.

◆ fromSceneStepFile() [1/2]

static unsafe MR.Object MR.MeshLoad.fromSceneStepFile ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

Generated from function MR.MeshLoad.fromSceneStepFile. Parameter settings defaults to {}.

◆ fromSceneStepFile() [2/2]

static unsafe MR.Object MR.MeshLoad.fromSceneStepFile ( string path,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

load scene from STEP file using OpenCASCADE Generated from function MR.MeshLoad.fromSceneStepFile. Parameter settings defaults to {}.

◆ fromStep() [1/2]

static unsafe MR.Mesh MR.MeshLoad.fromStep ( MR.Std.Istream in_,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

Generated from function MR.MeshLoad.fromStep. Parameter settings defaults to {}.

◆ fromStep() [2/2]

static unsafe MR.Mesh MR.MeshLoad.fromStep ( string path,
MR.Const_MeshLoadSettings? settings = null )
inlinestatic

load mesh data from STEP file using OpenCASCADE Generated from function MR.MeshLoad.fromStep. Parameter settings defaults to {}.

◆ loadObjectFromObj()

static unsafe MR.LoadedObjects MR.MeshLoad.loadObjectFromObj ( string file,
MR.Std.Const_Function_BoolFuncFromFloat? cb = null )
inlinestatic

reads all objects from .OBJ file Generated from function MR.MeshLoad.loadObjectFromObj. Parameter cb defaults to {}.


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