MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.voxelssave.Functions Class Reference

Static Public Member Functions

static void toDicom (meshlib.VdbVolume vdbVolume, java.lang.String path, meshlib.std_function_bool_from_float cb)
static void toDicom (meshlib.SimpleVolumeU16 volume, java.lang.String path, meshlib.std_optional_MR_Box1f sourceScale, meshlib.std_function_bool_from_float cb)
static void toRawAutoname (meshlib.VdbVolume vdbVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void toRawAutoname (meshlib.SimpleVolume simpleVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void gridToRawAutoname (meshlib.FloatGrid grid, meshlib.Vector3i dims, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void gridToRawFloat (meshlib.FloatGrid grid, meshlib.Vector3i dims, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toRawFloat (meshlib.VdbVolume vdbVolume, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toRawFloat (meshlib.SimpleVolume simpleVolume, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.VdbVolume vdbVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.VdbVolume vdbVolume, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.SimpleVolumeMinMax simpleVolumeMinMax, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.SimpleVolumeMinMax simpleVolumeMinMax, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.SimpleVolume simpleVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void toGav (meshlib.SimpleVolume simpleVolume, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void gridToVdb (meshlib.FloatGrid grid, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void gridToVdb (meshlib.FloatGrid grid, meshlib.std_ostream out, meshlib.std_function_bool_from_float callback)
static void toVdb (meshlib.VdbVolume vdbVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void gridToAnySupportedFormat (meshlib.FloatGrid grid, meshlib.Vector3i dims, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void toAnySupportedFormat (meshlib.VdbVolume vdbVolume, java.lang.String file, meshlib.std_function_bool_from_float callback)
static void saveSliceToImage (java.lang.String path, meshlib.VdbVolume vdbVolume, meshlib.SlicePlane slicePlain, int sliceNumber, meshlib.std_function_bool_from_float callback)
static void saveAllSlicesToImage (meshlib.VdbVolume vdbVolume, meshlib.voxelssave.SavingSettings settings)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ gridToAnySupportedFormat()

void meshlib.voxelssave.Functions.gridToAnySupportedFormat ( meshlib.FloatGrid grid,
meshlib.Vector3i dims,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Saves voxels in a file, detecting the format from file extension Generated from function MR::VoxelsSave::gridToAnySupportedFormat.

Calls MR_VoxelsSave_gridToAnySupportedFormat(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ gridToRawAutoname()

void meshlib.voxelssave.Functions.gridToRawAutoname ( meshlib.FloatGrid grid,
meshlib.Vector3i dims,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::gridToRawAutoname.

Calls MR_VoxelsSave_gridToRawAutoname(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ gridToRawFloat()

void meshlib.voxelssave.Functions.gridToRawFloat ( meshlib.FloatGrid grid,
meshlib.Vector3i dims,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Save voxels in raw format with each value as 32-bit float in given binary stream Generated from function MR::VoxelsSave::gridToRawFloat.

Calls MR_VoxelsSave_gridToRawFloat(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ gridToVdb() [1/2]

void meshlib.voxelssave.Functions.gridToVdb ( meshlib.FloatGrid grid,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Save voxels file in OpenVDB format Generated from function MR::VoxelsSave::gridToVdb.

Calls MR_VoxelsSave_gridToVdb_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ gridToVdb() [2/2]

void meshlib.voxelssave.Functions.gridToVdb ( meshlib.FloatGrid grid,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::gridToVdb.

Calls MR_VoxelsSave_gridToVdb_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ saveAllSlicesToImage()

void meshlib.voxelssave.Functions.saveAllSlicesToImage ( meshlib.VdbVolume vdbVolume,
meshlib.voxelssave.SavingSettings settings )
static

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.

Calls MR_VoxelsSave_saveAllSlicesToImage(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ saveSliceToImage()

void meshlib.voxelssave.Functions.saveSliceToImage ( java.lang.String path,
meshlib.VdbVolume vdbVolume,
meshlib.SlicePlane slicePlain,
int sliceNumber,
meshlib.std_function_bool_from_float callback )
static

save the slice by the active plane through the sliceNumber to an image file Generated from function MR::VoxelsSave::saveSliceToImage.

Calls MR_VoxelsSave_saveSliceToImage(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toAnySupportedFormat()

void meshlib.voxelssave.Functions.toAnySupportedFormat ( meshlib.VdbVolume vdbVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toAnySupportedFormat.

Calls MR_VoxelsSave_toAnySupportedFormat(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDicom() [1/2]

void meshlib.voxelssave.Functions.toDicom ( meshlib.SimpleVolumeU16 volume,
java.lang.String path,
meshlib.std_optional_MR_Box1f sourceScale,
meshlib.std_function_bool_from_float cb )
static

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>.

Calls MR_VoxelsSave_toDicom_unsigned_short(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDicom() [2/2]

void meshlib.voxelssave.Functions.toDicom ( meshlib.VdbVolume vdbVolume,
java.lang.String path,
meshlib.std_function_bool_from_float cb )
static

Save voxels object to a single 3d DICOM file Generated from function MR::VoxelsSave::toDicom.

Calls MR_VoxelsSave_toDicom(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [1/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.SimpleVolume simpleVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [2/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.SimpleVolume simpleVolume,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [3/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.SimpleVolumeMinMax simpleVolumeMinMax,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [4/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.SimpleVolumeMinMax simpleVolumeMinMax,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [5/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.VdbVolume vdbVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Save voxels in Gav-format in given destination Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toGav() [6/6]

void meshlib.voxelssave.Functions.toGav ( meshlib.VdbVolume vdbVolume,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toGav.

Calls MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toRawAutoname() [1/2]

void meshlib.voxelssave.Functions.toRawAutoname ( meshlib.SimpleVolume simpleVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toRawAutoname.

Calls MR_VoxelsSave_toRawAutoname_MR_SimpleVolume(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toRawAutoname() [2/2]

void meshlib.voxelssave.Functions.toRawAutoname ( meshlib.VdbVolume vdbVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Save raw voxels file, writing parameters in file name Generated from function MR::VoxelsSave::toRawAutoname.

Calls MR_VoxelsSave_toRawAutoname_MR_VdbVolume(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toRawFloat() [1/2]

void meshlib.voxelssave.Functions.toRawFloat ( meshlib.SimpleVolume simpleVolume,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toRawFloat.

Calls MR_VoxelsSave_toRawFloat_MR_SimpleVolume(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toRawFloat() [2/2]

void meshlib.voxelssave.Functions.toRawFloat ( meshlib.VdbVolume vdbVolume,
meshlib.std_ostream out,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toRawFloat.

Calls MR_VoxelsSave_toRawFloat_MR_VdbVolume(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toVdb()

void meshlib.voxelssave.Functions.toVdb ( meshlib.VdbVolume vdbVolume,
java.lang.String file,
meshlib.std_function_bool_from_float callback )
static

Generated from function MR::VoxelsSave::toVdb.

Calls MR_VoxelsSave_toVdb(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


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