MeshLib C Docs
Loading...
Searching...
No Matches
MRVoxelsSave.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <MRCVoxels/MRVoxelPath.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_FloatGrid MR_FloatGrid
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectSave_Settings MR_ObjectSave_Settings
 
typedef struct MR_SimpleVolume MR_SimpleVolume
 
typedef struct MR_SimpleVolumeMinMax MR_SimpleVolumeMinMax
 
typedef struct MR_VdbVolume MR_VdbVolume
 
typedef struct MR_Vector3i MR_Vector3i
 
typedef struct MR_expected_void_std_string MR_expected_void_std_string
 
typedef struct MR_std_filesystem_path MR_std_filesystem_path
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_ostream MR_std_ostream
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_VoxelsSave_SavingSettings MR_VoxelsSave_SavingSettings
 

Functions

MRC_API MR_expected_void_std_stringMR_VoxelsSave_toRawAutoname_MR_VdbVolume (const MR_VdbVolume *vdbVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toRawAutoname_MR_SimpleVolume (const MR_SimpleVolume *simpleVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_gridToRawAutoname (const MR_FloatGrid *grid, const MR_Vector3i *dims, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_gridToRawFloat (const MR_FloatGrid *grid, const MR_Vector3i *dims, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toRawFloat_MR_VdbVolume (const MR_VdbVolume *vdbVolume, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toRawFloat_MR_SimpleVolume (const MR_SimpleVolume *simpleVolume, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_filesystem_path (const MR_VdbVolume *vdbVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_ostream (const MR_VdbVolume *vdbVolume, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_filesystem_path (const MR_SimpleVolumeMinMax *simpleVolumeMinMax, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_ostream (const MR_SimpleVolumeMinMax *simpleVolumeMinMax, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_filesystem_path (const MR_SimpleVolume *simpleVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_ostream (const MR_SimpleVolume *simpleVolume, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_gridToVdb_std_filesystem_path (const MR_FloatGrid *grid, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_gridToVdb_std_ostream (const MR_FloatGrid *grid, MR_std_ostream *out, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toVdb (const MR_VdbVolume *vdbVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_gridToAnySupportedFormat (const MR_FloatGrid *grid, const MR_Vector3i *dims, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_toAnySupportedFormat (const MR_VdbVolume *vdbVolume, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_saveSliceToImage (const char *path, const char *path_end, const MR_VdbVolume *vdbVolume, const MR_SlicePlane *slicePlain, int sliceNumber, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API const MR_std_filesystem_pathMR_VoxelsSave_SavingSettings_Get_path (const MR_VoxelsSave_SavingSettings *_this)
 
MRC_API void MR_VoxelsSave_SavingSettings_Set_path (MR_VoxelsSave_SavingSettings *_this, const char *value, const char *value_end)
 
MRC_API MR_std_filesystem_pathMR_VoxelsSave_SavingSettings_GetMutable_path (MR_VoxelsSave_SavingSettings *_this)
 
MRC_API const MR_std_stringMR_VoxelsSave_SavingSettings_Get_format (const MR_VoxelsSave_SavingSettings *_this)
 
MRC_API void MR_VoxelsSave_SavingSettings_Set_format (MR_VoxelsSave_SavingSettings *_this, const char *value, const char *value_end)
 
MRC_API MR_std_stringMR_VoxelsSave_SavingSettings_GetMutable_format (MR_VoxelsSave_SavingSettings *_this)
 
MRC_API const MR_SlicePlaneMR_VoxelsSave_SavingSettings_Get_slicePlane (const MR_VoxelsSave_SavingSettings *_this)
 
MRC_API void MR_VoxelsSave_SavingSettings_Set_slicePlane (MR_VoxelsSave_SavingSettings *_this, MR_SlicePlane value)
 
MRC_API MR_SlicePlaneMR_VoxelsSave_SavingSettings_GetMutable_slicePlane (MR_VoxelsSave_SavingSettings *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_VoxelsSave_SavingSettings_Get_cb (const MR_VoxelsSave_SavingSettings *_this)
 
MRC_API void MR_VoxelsSave_SavingSettings_Set_cb (MR_VoxelsSave_SavingSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_VoxelsSave_SavingSettings_GetMutable_cb (MR_VoxelsSave_SavingSettings *_this)
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_DefaultConstruct (void)
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_ConstructFrom (const char *path, const char *path_end, const char *format, const char *format_end, MR_SlicePlane slicePlane, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API const MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_OffsetPtr (const MR_VoxelsSave_SavingSettings *ptr, ptrdiff_t i)
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_OffsetMutablePtr (MR_VoxelsSave_SavingSettings *ptr, ptrdiff_t i)
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_VoxelsSave_SavingSettings *_other)
 
MRC_API void MR_VoxelsSave_SavingSettings_Destroy (const MR_VoxelsSave_SavingSettings *_this)
 Destroys a heap-allocated instance of MR_VoxelsSave_SavingSettings. Does nothing if the pointer is null.
 
MRC_API void MR_VoxelsSave_SavingSettings_DestroyArray (const MR_VoxelsSave_SavingSettings *_this)
 Destroys a heap-allocated array of MR_VoxelsSave_SavingSettings. Does nothing if the pointer is null.
 
MRC_API MR_VoxelsSave_SavingSettingsMR_VoxelsSave_SavingSettings_AssignFromAnother (MR_VoxelsSave_SavingSettings *_this, MR_PassBy _other_pass_by, MR_VoxelsSave_SavingSettings *_other)
 
MRC_API MR_expected_void_std_stringMR_VoxelsSave_saveAllSlicesToImage (const MR_VdbVolume *vdbVolume, const MR_VoxelsSave_SavingSettings *settings)
 
MRC_API MR_expected_void_std_stringMR_saveObjectVoxelsToFile (const MR_Object *object, const char *path, const char *path_end, const MR_ObjectSave_Settings *settings)
 

Typedef Documentation

◆ MR_expected_void_std_string

◆ MR_FloatGrid

typedef struct MR_FloatGrid MR_FloatGrid

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectSave_Settings

◆ MR_SimpleVolume

◆ MR_SimpleVolumeMinMax

◆ MR_std_filesystem_path

◆ MR_std_function_bool_from_float

◆ MR_std_ostream

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_VdbVolume

typedef struct MR_VdbVolume MR_VdbVolume

◆ MR_Vector3i

typedef struct MR_Vector3i MR_Vector3i

◆ MR_VoxelsSave_SavingSettings

Generated from class MR::VoxelsSave::SavingSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_saveObjectVoxelsToFile()

MRC_API MR_expected_void_std_string * MR_saveObjectVoxelsToFile ( const MR_Object * object,
const char * path,
const char * path_end,
const MR_ObjectSave_Settings * settings )

Generated from function MR::saveObjectVoxelsToFile. Parameter object can not be null. It is a single object. Parameter path is a UTF-8 encoded filesystem path. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_gridToAnySupportedFormat()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_gridToAnySupportedFormat ( const MR_FloatGrid * grid,
const MR_Vector3i * dims,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Saves voxels in a file, detecting the format from file extension Generated from function MR::VoxelsSave::gridToAnySupportedFormat. Parameter grid can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_gridToRawAutoname()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_gridToRawAutoname ( const MR_FloatGrid * grid,
const MR_Vector3i * dims,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::gridToRawAutoname. Parameter grid can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_gridToRawFloat()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_gridToRawFloat ( const MR_FloatGrid * grid,
const MR_Vector3i * dims,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Save voxels in raw format with each value as 32-bit float in given binary stream Generated from function MR::VoxelsSave::gridToRawFloat. Parameter grid can not be null. It is a single object. Parameter dims can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_gridToVdb_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_gridToVdb_std_filesystem_path ( const MR_FloatGrid * grid,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Save voxels file in OpenVDB format Generated from function MR::VoxelsSave::gridToVdb. Parameter grid can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_gridToVdb_std_ostream()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_gridToVdb_std_ostream ( const MR_FloatGrid * grid,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::gridToVdb. Parameter grid can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_saveAllSlicesToImage()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_saveAllSlicesToImage ( const MR_VdbVolume * vdbVolume,
const MR_VoxelsSave_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. Parameter vdbVolume can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_saveSliceToImage()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_saveSliceToImage ( const char * path,
const char * path_end,
const MR_VdbVolume * vdbVolume,
const MR_SlicePlane * slicePlain,
int sliceNumber,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

save the slice by the active plane through the sliceNumber to an image file Generated from function MR::VoxelsSave::saveSliceToImage. Parameter path is a UTF-8 encoded filesystem path. Parameter vdbVolume can not be null. It is a single object. Parameter slicePlain can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_SavingSettings_AssignFromAnother()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_AssignFromAnother ( MR_VoxelsSave_SavingSettings * _this,
MR_PassBy _other_pass_by,
MR_VoxelsSave_SavingSettings * _other )

Generated from method MR::VoxelsSave::SavingSettings::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_VoxelsSave_SavingSettings_ConstructFrom()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_ConstructFrom ( const char * path,
const char * path_end,
const char * format,
const char * format_end,
MR_SlicePlane slicePlane,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs MR::VoxelsSave::SavingSettings elementwise. Parameter path is a UTF-8 encoded filesystem path. The reference to the parameter path might be preserved in the constructed object. Parameter format can not be null. If format_end is null, then format is assumed to be null-terminated. The reference to the parameter format might be preserved in the constructed object. The reference to the parameter slicePlane might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsSave_SavingSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_VoxelsSave_SavingSettings_ConstructFromAnother()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_VoxelsSave_SavingSettings * _other )

Generated from constructor MR::VoxelsSave::SavingSettings::SavingSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsSave_SavingSettings_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_SavingSettings_DefaultConstruct()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsSave_SavingSettings_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_SavingSettings_DefaultConstructArray()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_VoxelsSave_SavingSettings_DestroyArray(). Use MR_VoxelsSave_SavingSettings_OffsetMutablePtr() and MR_VoxelsSave_SavingSettings_OffsetPtr() to access the array elements.

◆ MR_VoxelsSave_SavingSettings_Destroy()

MRC_API void MR_VoxelsSave_SavingSettings_Destroy ( const MR_VoxelsSave_SavingSettings * _this)

Destroys a heap-allocated instance of MR_VoxelsSave_SavingSettings. Does nothing if the pointer is null.

◆ MR_VoxelsSave_SavingSettings_DestroyArray()

MRC_API void MR_VoxelsSave_SavingSettings_DestroyArray ( const MR_VoxelsSave_SavingSettings * _this)

Destroys a heap-allocated array of MR_VoxelsSave_SavingSettings. Does nothing if the pointer is null.

◆ MR_VoxelsSave_SavingSettings_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_VoxelsSave_SavingSettings_Get_cb ( const MR_VoxelsSave_SavingSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsSave::SavingSettings named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_Get_format()

MRC_API const MR_std_string * MR_VoxelsSave_SavingSettings_Get_format ( const MR_VoxelsSave_SavingSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsSave::SavingSettings named format. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_Get_path()

MRC_API const MR_std_filesystem_path * MR_VoxelsSave_SavingSettings_Get_path ( const MR_VoxelsSave_SavingSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsSave::SavingSettings named path. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_Get_slicePlane()

MRC_API const MR_SlicePlane * MR_VoxelsSave_SavingSettings_Get_slicePlane ( const MR_VoxelsSave_SavingSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsSave::SavingSettings named slicePlane. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_VoxelsSave_SavingSettings_GetMutable_cb ( MR_VoxelsSave_SavingSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsSave::SavingSettings named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_GetMutable_format()

MRC_API MR_std_string * MR_VoxelsSave_SavingSettings_GetMutable_format ( MR_VoxelsSave_SavingSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsSave::SavingSettings named format. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_GetMutable_path()

MRC_API MR_std_filesystem_path * MR_VoxelsSave_SavingSettings_GetMutable_path ( MR_VoxelsSave_SavingSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsSave::SavingSettings named path. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_GetMutable_slicePlane()

MRC_API MR_SlicePlane * MR_VoxelsSave_SavingSettings_GetMutable_slicePlane ( MR_VoxelsSave_SavingSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsSave::SavingSettings named slicePlane. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_VoxelsSave_SavingSettings_OffsetMutablePtr()

MRC_API MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_OffsetMutablePtr ( MR_VoxelsSave_SavingSettings * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_VoxelsSave_SavingSettings_OffsetPtr()

MRC_API const MR_VoxelsSave_SavingSettings * MR_VoxelsSave_SavingSettings_OffsetPtr ( const MR_VoxelsSave_SavingSettings * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_VoxelsSave_SavingSettings_Set_cb()

MRC_API void MR_VoxelsSave_SavingSettings_Set_cb ( MR_VoxelsSave_SavingSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

Modifies a member variable of class MR::VoxelsSave::SavingSettings named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it had previously in cb.

◆ MR_VoxelsSave_SavingSettings_Set_format()

MRC_API void MR_VoxelsSave_SavingSettings_Set_format ( MR_VoxelsSave_SavingSettings * _this,
const char * value,
const char * value_end )

Modifies a member variable of class MR::VoxelsSave::SavingSettings named format. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated. The reference to the parameter value might be preserved in this object in element format. When this function is called, this object will drop object references it had previously in format.

◆ MR_VoxelsSave_SavingSettings_Set_path()

MRC_API void MR_VoxelsSave_SavingSettings_Set_path ( MR_VoxelsSave_SavingSettings * _this,
const char * value,
const char * value_end )

Modifies a member variable of class MR::VoxelsSave::SavingSettings named path. Parameter _this can not be null. It is a single object. Parameter value is a UTF-8 encoded filesystem path. The reference to the parameter value might be preserved in this object in element path. When this function is called, this object will drop object references it had previously in path.

◆ MR_VoxelsSave_SavingSettings_Set_slicePlane()

MRC_API void MR_VoxelsSave_SavingSettings_Set_slicePlane ( MR_VoxelsSave_SavingSettings * _this,
MR_SlicePlane value )

Modifies a member variable of class MR::VoxelsSave::SavingSettings named slicePlane. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element slicePlane. When this function is called, this object will drop object references it had previously in slicePlane.

◆ MR_VoxelsSave_toAnySupportedFormat()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toAnySupportedFormat ( const MR_VdbVolume * vdbVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toAnySupportedFormat. Parameter vdbVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_filesystem_path ( const MR_SimpleVolume * simpleVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toGav. Parameter simpleVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_ostream()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_SimpleVolume_ref_std_ostream ( const MR_SimpleVolume * simpleVolume,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toGav. Parameter simpleVolume can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_filesystem_path ( const MR_SimpleVolumeMinMax * simpleVolumeMinMax,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toGav. Parameter simpleVolumeMinMax can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_ostream()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_SimpleVolumeMinMax_ref_std_ostream ( const MR_SimpleVolumeMinMax * simpleVolumeMinMax,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toGav. Parameter simpleVolumeMinMax can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_filesystem_path ( const MR_VdbVolume * vdbVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Save voxels in Gav-format in given destination Generated from function MR::VoxelsSave::toGav. Parameter vdbVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_ostream()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toGav_const_MR_VdbVolume_ref_std_ostream ( const MR_VdbVolume * vdbVolume,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toGav. Parameter vdbVolume can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toRawAutoname_MR_SimpleVolume()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toRawAutoname_MR_SimpleVolume ( const MR_SimpleVolume * simpleVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toRawAutoname. Parameter simpleVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toRawAutoname_MR_VdbVolume()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toRawAutoname_MR_VdbVolume ( const MR_VdbVolume * vdbVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Save raw voxels file, writing parameters in file name Generated from function MR::VoxelsSave::toRawAutoname. Parameter vdbVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toRawFloat_MR_SimpleVolume()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toRawFloat_MR_SimpleVolume ( const MR_SimpleVolume * simpleVolume,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toRawFloat. Parameter simpleVolume can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toRawFloat_MR_VdbVolume()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toRawFloat_MR_VdbVolume ( const MR_VdbVolume * vdbVolume,
MR_std_ostream * out,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toRawFloat. Parameter vdbVolume can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsSave_toVdb()

MRC_API MR_expected_void_std_string * MR_VoxelsSave_toVdb ( const MR_VdbVolume * vdbVolume,
const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::VoxelsSave::toVdb. Parameter vdbVolume can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.