MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.VoxelsSave Class Reference

Classes

class  ConstSavingSettings
class  SavingSettings

Static Public Member Functions

None gridToAnySupportedFormat (ConstFloatGrid grid, ConstVector3i dims, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None gridToRawAutoname (ConstFloatGrid grid, ConstVector3i dims, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None gridToRawFloat (ConstFloatGrid grid, ConstVector3i dims, typing.Any out, Const_func_bool_from_float callback='{}')
None gridToVdb (ConstFloatGrid grid, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None gridToVdb (ConstFloatGrid grid, typing.Any out, Const_func_bool_from_float callback='{}')
None saveAllSlicesToImage (ConstVdbVolume vdbVolume, VoxelsSave.ConstSavingSettings settings)
None saveSliceToImage (os.PathLike|str|bytes path, ConstVdbVolume vdbVolume, SlicePlane slicePlain, int sliceNumber, Const_func_bool_from_float callback='{}')
None toAnySupportedFormat (ConstVdbVolume vdbVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toDicom (ConstVdbVolume vdbVolume, os.PathLike|str|bytes path, Const_func_bool_from_float cb='{}')
None toDicom (ConstSimpleVolumeU16 volume, os.PathLike|str|bytes path, Const_std_optional_Box_float sourceScale=..., Const_func_bool_from_float cb='{}')
None toGav (ConstVdbVolume vdbVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toGav (ConstSimpleVolumeMinMax simpleVolumeMinMax, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toGav (ConstSimpleVolume simpleVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toGav (ConstVdbVolume vdbVolume, typing.Any out, Const_func_bool_from_float callback='{}')
None toGav (ConstSimpleVolumeMinMax simpleVolumeMinMax, typing.Any out, Const_func_bool_from_float callback='{}')
None toGav (ConstSimpleVolume simpleVolume, typing.Any out, Const_func_bool_from_float callback='{}')
None toRawAutoname (ConstVdbVolume vdbVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toRawAutoname (ConstSimpleVolume simpleVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')
None toRawFloat (ConstVdbVolume vdbVolume, typing.Any out, Const_func_bool_from_float callback='{}')
None toRawFloat (ConstSimpleVolume simpleVolume, typing.Any out, Const_func_bool_from_float callback='{}')
None toVdb (ConstVdbVolume vdbVolume, os.PathLike|str|bytes file, Const_func_bool_from_float callback='{}')

Detailed Description

This is a namespace.

Member Function Documentation

◆ gridToAnySupportedFormat()

None mrmeshpy.VoxelsSave.gridToAnySupportedFormat ( ConstFloatGrid grid,
ConstVector3i dims,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static
Saves voxels in a file, detecting the format from file extension

◆ gridToRawAutoname()

None mrmeshpy.VoxelsSave.gridToRawAutoname ( ConstFloatGrid grid,
ConstVector3i dims,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

◆ gridToRawFloat()

None mrmeshpy.VoxelsSave.gridToRawFloat ( ConstFloatGrid grid,
ConstVector3i dims,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static
Save voxels in raw format with each value as 32-bit float in given binary stream

◆ gridToVdb() [1/2]

None mrmeshpy.VoxelsSave.gridToVdb ( ConstFloatGrid grid,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static
Save voxels file in OpenVDB format

◆ gridToVdb() [2/2]

None mrmeshpy.VoxelsSave.gridToVdb ( ConstFloatGrid grid,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ saveAllSlicesToImage()

None mrmeshpy.VoxelsSave.saveAllSlicesToImage ( ConstVdbVolume vdbVolume,
VoxelsSave.ConstSavingSettings settings )
static
save all slices by the active plane through all voxel planes along the active axis to an image file

◆ saveSliceToImage()

None mrmeshpy.VoxelsSave.saveSliceToImage ( os.PathLike | str | bytes path,
ConstVdbVolume vdbVolume,
SlicePlane slicePlain,
int sliceNumber,
Const_func_bool_from_float callback = '{}' )
static
save the slice by the active plane through the sliceNumber to an image file

◆ toAnySupportedFormat()

None mrmeshpy.VoxelsSave.toAnySupportedFormat ( ConstVdbVolume vdbVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

◆ toDicom() [1/2]

None mrmeshpy.VoxelsSave.toDicom ( ConstSimpleVolumeU16 volume,
os.PathLike | str | bytes path,
Const_std_optional_Box_float sourceScale = ...,
Const_func_bool_from_float cb = '{}' )
static
Saves object to a single 3d DICOM file. \\p sourceScale specifies the true scale of the voxel data
which will be saved with "slope" and "intercept" parameters of the output dicom.

◆ toDicom() [2/2]

None mrmeshpy.VoxelsSave.toDicom ( ConstVdbVolume vdbVolume,
os.PathLike | str | bytes path,
Const_func_bool_from_float cb = '{}' )
static
Save voxels object to a single 3d DICOM file

◆ toGav() [1/6]

None mrmeshpy.VoxelsSave.toGav ( ConstSimpleVolume simpleVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

◆ toGav() [2/6]

None mrmeshpy.VoxelsSave.toGav ( ConstSimpleVolume simpleVolume,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ toGav() [3/6]

None mrmeshpy.VoxelsSave.toGav ( ConstSimpleVolumeMinMax simpleVolumeMinMax,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

◆ toGav() [4/6]

None mrmeshpy.VoxelsSave.toGav ( ConstSimpleVolumeMinMax simpleVolumeMinMax,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ toGav() [5/6]

None mrmeshpy.VoxelsSave.toGav ( ConstVdbVolume vdbVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static
Save voxels in Gav-format in given destination

◆ toGav() [6/6]

None mrmeshpy.VoxelsSave.toGav ( ConstVdbVolume vdbVolume,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ toRawAutoname() [1/2]

None mrmeshpy.VoxelsSave.toRawAutoname ( ConstSimpleVolume simpleVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

◆ toRawAutoname() [2/2]

None mrmeshpy.VoxelsSave.toRawAutoname ( ConstVdbVolume vdbVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static
Save raw voxels file, writing parameters in file name

◆ toRawFloat() [1/2]

None mrmeshpy.VoxelsSave.toRawFloat ( ConstSimpleVolume simpleVolume,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ toRawFloat() [2/2]

None mrmeshpy.VoxelsSave.toRawFloat ( ConstVdbVolume vdbVolume,
typing.Any out,
Const_func_bool_from_float callback = '{}' )
static

◆ toVdb()

None mrmeshpy.VoxelsSave.toVdb ( ConstVdbVolume vdbVolume,
os.PathLike | str | bytes file,
Const_func_bool_from_float callback = '{}' )
static

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