MeshLib Python Docs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
mrmeshpy.VoxelsSave Class Reference

Classes

class  SavingSettings
 

Static Public Member Functions

None saveAllSlicesToImage (VdbVolume vdbVolume, VoxelsSave.SavingSettings settings)
 
None saveSliceToImage (os.PathLike|str|bytes path, VdbVolume vdbVolume, SlicePlane slicePlain, int sliceNumber, func_bool_from_float callback='{}')
 
None toAnySupportedFormat (VdbVolume vdbVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toDicom (VdbVolume vdbVolume, os.PathLike|str|bytes path, func_bool_from_float cb='{}')
 
None toDicom (SimpleVolumeU16 volume, os.PathLike|str|bytes path, std_optional_Box_float sourceScale='{}', func_bool_from_float cb='{}')
 
None toGav (VdbVolume vdbVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toGav (SimpleVolumeMinMax simpleVolumeMinMax, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toGav (SimpleVolume simpleVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toGav (VdbVolume vdbVolume, typing.Any out, func_bool_from_float callback='{}')
 
None toGav (SimpleVolumeMinMax simpleVolumeMinMax, typing.Any out, func_bool_from_float callback='{}')
 
None toGav (SimpleVolume simpleVolume, typing.Any out, func_bool_from_float callback='{}')
 
None toRawAutoname (VdbVolume vdbVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toRawAutoname (SimpleVolume simpleVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 
None toRawFloat (VdbVolume vdbVolume, typing.Any out, func_bool_from_float callback='{}')
 
None toRawFloat (SimpleVolume simpleVolume, typing.Any out, func_bool_from_float callback='{}')
 
None toVdb (VdbVolume vdbVolume, os.PathLike|str|bytes file, func_bool_from_float callback='{}')
 

Detailed Description

This is a namespace.

Member Function Documentation

◆ saveAllSlicesToImage()

None mrmeshpy.VoxelsSave.saveAllSlicesToImage ( VdbVolume vdbVolume,
VoxelsSave.SavingSettings 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,
VdbVolume vdbVolume,
SlicePlane slicePlain,
int sliceNumber,
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 ( VdbVolume vdbVolume,
os.PathLike | str | bytes file,
func_bool_from_float callback = '{}' )
static
Saves voxels in a file, detecting the format from file extension

◆ toDicom() [1/2]

None mrmeshpy.VoxelsSave.toDicom ( SimpleVolumeU16 volume,
os.PathLike | str | bytes path,
std_optional_Box_float sourceScale = '{}',
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 ( VdbVolume vdbVolume,
os.PathLike | str | bytes path,
func_bool_from_float cb = '{}' )
static
Save voxels objet to a single 3d DICOM file

◆ toGav() [1/6]

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

◆ toGav() [2/6]

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

◆ toGav() [3/6]

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

◆ toGav() [4/6]

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

◆ toGav() [5/6]

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

◆ toGav() [6/6]

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

◆ toRawAutoname() [1/2]

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

◆ toRawAutoname() [2/2]

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

◆ toRawFloat() [1/2]

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

◆ toRawFloat() [2/2]

None mrmeshpy.VoxelsSave.toRawFloat ( VdbVolume vdbVolume,
typing.Any out,
func_bool_from_float callback = '{}' )
static
Save voxels in raw format with each value as 32-bit float in given binary stream

◆ toVdb()

None mrmeshpy.VoxelsSave.toVdb ( VdbVolume vdbVolume,
os.PathLike | str | bytes file,
func_bool_from_float callback = '{}' )
static
Save voxels file in OpenVDB format

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