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

Classes

class  _ByValue_SavingSettings
 This is used as a function parameter when the underlying function receives SavingSettings by value. Usage:
 
class  _InOptConst_SavingSettings
 This is used for optional parameters of class SavingSettings with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_SavingSettings. Usage:
 
class  _InOptMut_SavingSettings
 This is used for optional parameters of class SavingSettings with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_SavingSettings. Usage:
 
class  Const_SavingSettings
 Generated from class MR.VoxelsSave.SavingSettings. This is the const half of the class.
 
class  SavingSettings
 Generated from class MR.VoxelsSave.SavingSettings. This is the non-const half of the class. More...
 

Static Public Member Functions

static unsafe void toDicom (MR.Const_VdbVolume vdbVolume, string path, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Save voxels object to a single 3d DICOM file Generated from function MR.VoxelsSave.toDicom. Parameter cb defaults to {}.
 
static unsafe void toDicom (MR.Const_SimpleVolumeU16 volume, string path, MR.Std.Const_Optional_MRBox1f? sourceScale=null, MR.Std.Const_Function_BoolFuncFromFloat? cb=null)
 Saves object to a single 3d DICOM file. sourceScale specifies the true scale of the voxel data which will be saved with "slope" and "intercept" parameters of the output dicom. Generated from function MR.VoxelsSave.toDicom<unsigned short>. Parameter sourceScale defaults to {}. Parameter cb defaults to {}.
 
static unsafe void toRawAutoname (MR.Const_VdbVolume vdbVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Save raw voxels file, writing parameters in file name Generated from function MR.VoxelsSave.toRawAutoname. Parameter callback defaults to {}.
 
static unsafe void toRawAutoname (MR.Const_SimpleVolume simpleVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toRawAutoname. Parameter callback defaults to {}.
 
static unsafe void gridToRawAutoname (MR.Const_FloatGrid grid, in MR.Vector3i dims, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.gridToRawAutoname. Parameter callback defaults to {}.
 
static unsafe void gridToRawFloat (MR.Const_FloatGrid grid, in MR.Vector3i dims, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Save voxels in raw format with each value as 32-bit float in given binary stream Generated from function MR.VoxelsSave.gridToRawFloat. Parameter callback defaults to {}.
 
static unsafe void toRawFloat (MR.Const_VdbVolume vdbVolume, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toRawFloat. Parameter callback defaults to {}.
 
static unsafe void toRawFloat (MR.Const_SimpleVolume simpleVolume, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toRawFloat. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_VdbVolume vdbVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Save voxels in Gav-format in given destination Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_VdbVolume vdbVolume, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_SimpleVolumeMinMax simpleVolumeMinMax, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_SimpleVolumeMinMax simpleVolumeMinMax, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_SimpleVolume simpleVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void toGav (MR.Const_SimpleVolume simpleVolume, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.
 
static unsafe void gridToVdb (MR.Const_FloatGrid grid, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Save voxels file in OpenVDB format Generated from function MR.VoxelsSave.gridToVdb. Parameter callback defaults to {}.
 
static unsafe void gridToVdb (MR.Const_FloatGrid grid, MR.Std.Ostream out_, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.gridToVdb. Parameter callback defaults to {}.
 
static unsafe void toVdb (MR.Const_VdbVolume vdbVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toVdb. Parameter callback defaults to {}.
 
static unsafe void gridToAnySupportedFormat (MR.Const_FloatGrid grid, in MR.Vector3i dims, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Saves voxels in a file, detecting the format from file extension Generated from function MR.VoxelsSave.gridToAnySupportedFormat. Parameter callback defaults to {}.
 
static unsafe void toAnySupportedFormat (MR.Const_VdbVolume vdbVolume, string file, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 Generated from function MR.VoxelsSave.toAnySupportedFormat. Parameter callback defaults to {}.
 
static unsafe void saveSliceToImage (string path, MR.Const_VdbVolume vdbVolume, MR.SlicePlane slicePlain, int sliceNumber, MR.Std._ByValue_Function_BoolFuncFromFloat? callback=null)
 save the slice by the active plane through the sliceNumber to an image file Generated from function MR.VoxelsSave.saveSliceToImage. Parameter callback defaults to {}.
 
static unsafe void saveAllSlicesToImage (MR.Const_VdbVolume vdbVolume, MR.VoxelsSave.Const_SavingSettings settings)
 save all slices by the active plane through all voxel planes along the active axis to an image file Generated from function MR.VoxelsSave.saveAllSlicesToImage.
 

Member Function Documentation

◆ gridToAnySupportedFormat()

static unsafe void MR.VoxelsSave.gridToAnySupportedFormat ( MR.Const_FloatGrid grid,
in MR.Vector3i dims,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Saves voxels in a file, detecting the format from file extension Generated from function MR.VoxelsSave.gridToAnySupportedFormat. Parameter callback defaults to {}.

◆ gridToRawAutoname()

static unsafe void MR.VoxelsSave.gridToRawAutoname ( MR.Const_FloatGrid grid,
in MR.Vector3i dims,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.gridToRawAutoname. Parameter callback defaults to {}.

◆ gridToRawFloat()

static unsafe void MR.VoxelsSave.gridToRawFloat ( MR.Const_FloatGrid grid,
in MR.Vector3i dims,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Save voxels in raw format with each value as 32-bit float in given binary stream Generated from function MR.VoxelsSave.gridToRawFloat. Parameter callback defaults to {}.

◆ gridToVdb() [1/2]

static unsafe void MR.VoxelsSave.gridToVdb ( MR.Const_FloatGrid grid,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.gridToVdb. Parameter callback defaults to {}.

◆ gridToVdb() [2/2]

static unsafe void MR.VoxelsSave.gridToVdb ( MR.Const_FloatGrid grid,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Save voxels file in OpenVDB format Generated from function MR.VoxelsSave.gridToVdb. Parameter callback defaults to {}.

◆ saveAllSlicesToImage()

static unsafe void MR.VoxelsSave.saveAllSlicesToImage ( MR.Const_VdbVolume vdbVolume,
MR.VoxelsSave.Const_SavingSettings settings )
inlinestatic

save all slices by the active plane through all voxel planes along the active axis to an image file Generated from function MR.VoxelsSave.saveAllSlicesToImage.

◆ saveSliceToImage()

static unsafe void MR.VoxelsSave.saveSliceToImage ( string path,
MR.Const_VdbVolume vdbVolume,
MR.SlicePlane slicePlain,
int sliceNumber,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

save the slice by the active plane through the sliceNumber to an image file Generated from function MR.VoxelsSave.saveSliceToImage. Parameter callback defaults to {}.

◆ toAnySupportedFormat()

static unsafe void MR.VoxelsSave.toAnySupportedFormat ( MR.Const_VdbVolume vdbVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toAnySupportedFormat. Parameter callback defaults to {}.

◆ toDicom() [1/2]

static unsafe void MR.VoxelsSave.toDicom ( MR.Const_SimpleVolumeU16 volume,
string path,
MR.Std.Const_Optional_MRBox1f? sourceScale = null,
MR.Std.Const_Function_BoolFuncFromFloat? cb = null )
inlinestatic

Saves object to a single 3d DICOM file. sourceScale specifies the true scale of the voxel data which will be saved with "slope" and "intercept" parameters of the output dicom. Generated from function MR.VoxelsSave.toDicom<unsigned short>. Parameter sourceScale defaults to {}. Parameter cb defaults to {}.

◆ toDicom() [2/2]

static unsafe void MR.VoxelsSave.toDicom ( MR.Const_VdbVolume vdbVolume,
string path,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null )
inlinestatic

Save voxels object to a single 3d DICOM file Generated from function MR.VoxelsSave.toDicom. Parameter cb defaults to {}.

◆ toGav() [1/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_SimpleVolume simpleVolume,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toGav() [2/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_SimpleVolume simpleVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toGav() [3/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_SimpleVolumeMinMax simpleVolumeMinMax,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toGav() [4/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_SimpleVolumeMinMax simpleVolumeMinMax,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toGav() [5/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_VdbVolume vdbVolume,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toGav() [6/6]

static unsafe void MR.VoxelsSave.toGav ( MR.Const_VdbVolume vdbVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Save voxels in Gav-format in given destination Generated from function MR.VoxelsSave.toGav. Parameter callback defaults to {}.

◆ toRawAutoname() [1/2]

static unsafe void MR.VoxelsSave.toRawAutoname ( MR.Const_SimpleVolume simpleVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toRawAutoname. Parameter callback defaults to {}.

◆ toRawAutoname() [2/2]

static unsafe void MR.VoxelsSave.toRawAutoname ( MR.Const_VdbVolume vdbVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Save raw voxels file, writing parameters in file name Generated from function MR.VoxelsSave.toRawAutoname. Parameter callback defaults to {}.

◆ toRawFloat() [1/2]

static unsafe void MR.VoxelsSave.toRawFloat ( MR.Const_SimpleVolume simpleVolume,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toRawFloat. Parameter callback defaults to {}.

◆ toRawFloat() [2/2]

static unsafe void MR.VoxelsSave.toRawFloat ( MR.Const_VdbVolume vdbVolume,
MR.Std.Ostream out_,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toRawFloat. Parameter callback defaults to {}.

◆ toVdb()

static unsafe void MR.VoxelsSave.toVdb ( MR.Const_VdbVolume vdbVolume,
string file,
MR.Std._ByValue_Function_BoolFuncFromFloat? callback = null )
inlinestatic

Generated from function MR.VoxelsSave.toVdb. Parameter callback defaults to {}.


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