MeshLib C Docs
Loading...
Searching...
No Matches
MRVoxelsLoad.h File Reference
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <MRCVoxels/MRScalarConvert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_expected_MR_FloatGrid_std_string MR_expected_MR_FloatGrid_std_string
 
typedef struct MR_expected_MR_LoadedObjects_std_string MR_expected_MR_LoadedObjects_std_string
 
typedef struct MR_expected_MR_VdbVolume_std_string MR_expected_MR_VdbVolume_std_string
 
typedef struct MR_expected_MR_VoxelsLoad_RawParameters_std_string MR_expected_MR_VoxelsLoad_RawParameters_std_string
 
typedef struct MR_expected_std_vector_MR_FloatGrid_std_string MR_expected_std_vector_MR_FloatGrid_std_string
 
typedef struct MR_expected_std_vector_MR_VdbVolume_std_string MR_expected_std_vector_MR_VdbVolume_std_string
 
typedef struct MR_expected_std_vector_std_shared_ptr_MR_ObjectVoxels_std_string MR_expected_std_vector_std_shared_ptr_MR_ObjectVoxels_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_istream MR_std_istream
 
typedef struct MR_VoxelsLoad_RawParameters MR_VoxelsLoad_RawParameters
 Generated from class MR::VoxelsLoad::RawParameters.
 
typedef int32_t MR_VoxelsLoad_GridType
 
typedef struct MR_VoxelsLoad_LoadingTiffSettings MR_VoxelsLoad_LoadingTiffSettings
 Generated from class MR::VoxelsLoad::LoadingTiffSettings.
 

Enumerations

enum  { MR_VoxelsLoad_GridType_DenseGrid = 0 , MR_VoxelsLoad_GridType_LevelSet = 1 }
 

Functions

MRC_API const MR_Vector3iMR_VoxelsLoad_RawParameters_Get_dimensions (const MR_VoxelsLoad_RawParameters *_this)
 
MRC_API void MR_VoxelsLoad_RawParameters_Set_dimensions (MR_VoxelsLoad_RawParameters *_this, MR_Vector3i value)
 
MRC_API MR_Vector3iMR_VoxelsLoad_RawParameters_GetMutable_dimensions (MR_VoxelsLoad_RawParameters *_this)
 
MRC_API const MR_Vector3fMR_VoxelsLoad_RawParameters_Get_voxelSize (const MR_VoxelsLoad_RawParameters *_this)
 
MRC_API void MR_VoxelsLoad_RawParameters_Set_voxelSize (MR_VoxelsLoad_RawParameters *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_VoxelsLoad_RawParameters_GetMutable_voxelSize (MR_VoxelsLoad_RawParameters *_this)
 
MRC_API const bool * MR_VoxelsLoad_RawParameters_Get_gridLevelSet (const MR_VoxelsLoad_RawParameters *_this)
 
MRC_API void MR_VoxelsLoad_RawParameters_Set_gridLevelSet (MR_VoxelsLoad_RawParameters *_this, bool value)
 
MRC_API bool * MR_VoxelsLoad_RawParameters_GetMutable_gridLevelSet (MR_VoxelsLoad_RawParameters *_this)
 
MRC_API const MR_ScalarTypeMR_VoxelsLoad_RawParameters_Get_scalarType (const MR_VoxelsLoad_RawParameters *_this)
 
MRC_API void MR_VoxelsLoad_RawParameters_Set_scalarType (MR_VoxelsLoad_RawParameters *_this, MR_ScalarType value)
 
MRC_API MR_ScalarTypeMR_VoxelsLoad_RawParameters_GetMutable_scalarType (MR_VoxelsLoad_RawParameters *_this)
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_DefaultConstruct (void)
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_ConstructFrom (MR_Vector3i dimensions, MR_Vector3f voxelSize, bool gridLevelSet, MR_ScalarType scalarType)
 
MRC_API const MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_OffsetPtr (const MR_VoxelsLoad_RawParameters *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.
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_OffsetMutablePtr (MR_VoxelsLoad_RawParameters *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.
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_ConstructFromAnother (const MR_VoxelsLoad_RawParameters *_other)
 
MRC_API void MR_VoxelsLoad_RawParameters_Destroy (const MR_VoxelsLoad_RawParameters *_this)
 Destroys a heap-allocated instance of MR_VoxelsLoad_RawParameters. Does nothing if the pointer is null.
 
MRC_API void MR_VoxelsLoad_RawParameters_DestroyArray (const MR_VoxelsLoad_RawParameters *_this)
 Destroys a heap-allocated array of MR_VoxelsLoad_RawParameters. Does nothing if the pointer is null.
 
MRC_API MR_VoxelsLoad_RawParametersMR_VoxelsLoad_RawParameters_AssignFromAnother (MR_VoxelsLoad_RawParameters *_this, const MR_VoxelsLoad_RawParameters *_other)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_fromRaw_3_std_filesystem_path (const char *file, const char *file_end, const MR_VoxelsLoad_RawParameters *params, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_fromRaw_3_std_istream (MR_std_istream *in, const MR_VoxelsLoad_RawParameters *params, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_FloatGrid_std_stringMR_VoxelsLoad_gridFromRaw_3_std_filesystem_path (const char *file, const char *file_end, const MR_VoxelsLoad_RawParameters *params, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_FloatGrid_std_stringMR_VoxelsLoad_gridFromRaw_3_std_istream (MR_std_istream *in, const MR_VoxelsLoad_RawParameters *params, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_VoxelsLoad_RawParameters_std_stringMR_VoxelsLoad_findRawParameters (MR_std_filesystem_path *file)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_fromRaw_2 (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_FloatGrid_std_stringMR_VoxelsLoad_gridFromRaw_2 (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_vector_MR_VdbVolume_std_stringMR_VoxelsLoad_fromVdb (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_vector_MR_FloatGrid_std_stringMR_VoxelsLoad_gridsFromVdb_std_filesystem_path (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_vector_MR_FloatGrid_std_stringMR_VoxelsLoad_gridsFromVdb_std_istream (MR_std_istream *in, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_fromGav_std_filesystem_path (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_fromGav_std_istream (MR_std_istream *in, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_vector_MR_FloatGrid_std_stringMR_VoxelsLoad_gridsFromAnySupportedFormat (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_vector_MR_VdbVolume_std_stringMR_VoxelsLoad_fromAnySupportedFormat (const char *file, const char *file_end, const MR_std_function_bool_from_float *cb)
 
MRC_API const MR_std_filesystem_pathMR_VoxelsLoad_LoadingTiffSettings_Get_dir (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_dir (MR_VoxelsLoad_LoadingTiffSettings *_this, const char *value, const char *value_end)
 
MRC_API MR_std_filesystem_pathMR_VoxelsLoad_LoadingTiffSettings_GetMutable_dir (MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API const MR_Vector3fMR_VoxelsLoad_LoadingTiffSettings_Get_voxelSize (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_voxelSize (MR_VoxelsLoad_LoadingTiffSettings *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_VoxelsLoad_LoadingTiffSettings_GetMutable_voxelSize (MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API const MR_VoxelsLoad_GridTypeMR_VoxelsLoad_LoadingTiffSettings_Get_gridType (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_gridType (MR_VoxelsLoad_LoadingTiffSettings *_this, MR_VoxelsLoad_GridType value)
 
MRC_API MR_VoxelsLoad_GridTypeMR_VoxelsLoad_LoadingTiffSettings_GetMutable_gridType (MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_VoxelsLoad_LoadingTiffSettings_Get_cb (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_cb (MR_VoxelsLoad_LoadingTiffSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_VoxelsLoad_LoadingTiffSettings_GetMutable_cb (MR_VoxelsLoad_LoadingTiffSettings *_this)
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_DefaultConstruct (void)
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_ConstructFrom (const char *dir, const char *dir_end, MR_Vector3f voxelSize, MR_VoxelsLoad_GridType gridType, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API const MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_OffsetPtr (const MR_VoxelsLoad_LoadingTiffSettings *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.
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_OffsetMutablePtr (MR_VoxelsLoad_LoadingTiffSettings *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.
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_VoxelsLoad_LoadingTiffSettings *_other)
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Destroy (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 Destroys a heap-allocated instance of MR_VoxelsLoad_LoadingTiffSettings. Does nothing if the pointer is null.
 
MRC_API void MR_VoxelsLoad_LoadingTiffSettings_DestroyArray (const MR_VoxelsLoad_LoadingTiffSettings *_this)
 Destroys a heap-allocated array of MR_VoxelsLoad_LoadingTiffSettings. Does nothing if the pointer is null.
 
MRC_API MR_VoxelsLoad_LoadingTiffSettingsMR_VoxelsLoad_LoadingTiffSettings_AssignFromAnother (MR_VoxelsLoad_LoadingTiffSettings *_this, MR_PassBy _other_pass_by, MR_VoxelsLoad_LoadingTiffSettings *_other)
 
MRC_API MR_expected_MR_VdbVolume_std_stringMR_VoxelsLoad_loadTiffDir (const MR_VoxelsLoad_LoadingTiffSettings *settings)
 
MRC_API MR_expected_std_vector_std_shared_ptr_MR_ObjectVoxels_std_stringMR_makeObjectVoxelsFromFile (const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_MR_LoadedObjects_std_stringMR_makeObjectFromVoxelsFile (const char *file, const char *file_end, const MR_std_function_bool_from_float *callback)
 

Typedef Documentation

◆ MR_expected_MR_FloatGrid_std_string

◆ MR_expected_MR_LoadedObjects_std_string

◆ MR_expected_MR_VdbVolume_std_string

◆ MR_expected_MR_VoxelsLoad_RawParameters_std_string

◆ MR_expected_std_vector_MR_FloatGrid_std_string

◆ MR_expected_std_vector_MR_VdbVolume_std_string

◆ MR_expected_std_vector_std_shared_ptr_MR_ObjectVoxels_std_string

◆ MR_std_filesystem_path

◆ MR_std_function_bool_from_float

◆ MR_std_istream

◆ MR_VoxelsLoad_GridType

typedef int32_t MR_VoxelsLoad_GridType

◆ MR_VoxelsLoad_LoadingTiffSettings

◆ MR_VoxelsLoad_RawParameters

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MR_VoxelsLoad_GridType_DenseGrid 
MR_VoxelsLoad_GridType_LevelSet 

Function Documentation

◆ MR_makeObjectFromVoxelsFile()

MRC_API MR_expected_MR_LoadedObjects_std_string * MR_makeObjectFromVoxelsFile ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * callback )

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

◆ MR_makeObjectVoxelsFromFile()

MRC_API MR_expected_std_vector_std_shared_ptr_MR_ObjectVoxels_std_string * MR_makeObjectVoxelsFromFile ( const char * file,
const char * file_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

loads voxels from given file in new object Generated from function MR::makeObjectVoxelsFromFile. 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_std_vector_std_shared_ptr_MR_ObjectVoxels_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_findRawParameters()

finds raw voxels file and its encoding parameters

Parameters
fileon input: file name probably without suffix with parameters on output: if success existing file name Generated from function MR::VoxelsLoad::findRawParameters. Parameter file can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VoxelsLoad_RawParameters_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromAnySupportedFormat()

MRC_API MR_expected_std_vector_MR_VdbVolume_std_string * MR_VoxelsLoad_fromAnySupportedFormat ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Detects the format from file extension and loads voxels from it Generated from function MR::VoxelsLoad::fromAnySupportedFormat. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromGav_std_filesystem_path()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_fromGav_std_filesystem_path ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Load voxel from Gav-file with micro CT reconstruction Generated from function MR::VoxelsLoad::fromGav. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromGav_std_istream()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_fromGav_std_istream ( MR_std_istream * in,
const MR_std_function_bool_from_float * cb )

Load voxel from Gav-stream with micro CT reconstruction Generated from function MR::VoxelsLoad::fromGav. Parameter in can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromRaw_2()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_fromRaw_2 ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Load raw voxels file, parsing parameters from name Generated from function MR::VoxelsLoad::fromRaw. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromRaw_3_std_filesystem_path()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_fromRaw_3_std_filesystem_path ( const char * file,
const char * file_end,
const MR_VoxelsLoad_RawParameters * params,
const MR_std_function_bool_from_float * cb )

Load raw voxels from file with provided parameters Generated from function MR::VoxelsLoad::fromRaw. Parameter file is a UTF-8 encoded filesystem path. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromRaw_3_std_istream()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_fromRaw_3_std_istream ( MR_std_istream * in,
const MR_VoxelsLoad_RawParameters * params,
const MR_std_function_bool_from_float * cb )

Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode Generated from function MR::VoxelsLoad::fromRaw. Parameter in can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_fromVdb()

MRC_API MR_expected_std_vector_MR_VdbVolume_std_string * MR_VoxelsLoad_fromVdb ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Load all voxel volumes from OpenVDB file Generated from function MR::VoxelsLoad::fromVdb. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridFromRaw_2()

MRC_API MR_expected_MR_FloatGrid_std_string * MR_VoxelsLoad_gridFromRaw_2 ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Load raw voxels file, parsing parameters from name Generated from function MR::VoxelsLoad::gridFromRaw. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridFromRaw_3_std_filesystem_path()

MRC_API MR_expected_MR_FloatGrid_std_string * MR_VoxelsLoad_gridFromRaw_3_std_filesystem_path ( const char * file,
const char * file_end,
const MR_VoxelsLoad_RawParameters * params,
const MR_std_function_bool_from_float * cb )

Load raw voxels from file with provided parameters Generated from function MR::VoxelsLoad::gridFromRaw. Parameter file is a UTF-8 encoded filesystem path. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridFromRaw_3_std_istream()

MRC_API MR_expected_MR_FloatGrid_std_string * MR_VoxelsLoad_gridFromRaw_3_std_istream ( MR_std_istream * in,
const MR_VoxelsLoad_RawParameters * params,
const MR_std_function_bool_from_float * cb )

Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode Generated from function MR::VoxelsLoad::gridFromRaw. Parameter in can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridsFromAnySupportedFormat()

MRC_API MR_expected_std_vector_MR_FloatGrid_std_string * MR_VoxelsLoad_gridsFromAnySupportedFormat ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Detects the format from file extension and loads voxels from it Generated from function MR::VoxelsLoad::gridsFromAnySupportedFormat. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridsFromVdb_std_filesystem_path()

MRC_API MR_expected_std_vector_MR_FloatGrid_std_string * MR_VoxelsLoad_gridsFromVdb_std_filesystem_path ( const char * file,
const char * file_end,
const MR_std_function_bool_from_float * cb )

Generated from function MR::VoxelsLoad::gridsFromVdb. Parameter file is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_gridsFromVdb_std_istream()

MRC_API MR_expected_std_vector_MR_FloatGrid_std_string * MR_VoxelsLoad_gridsFromVdb_std_istream ( MR_std_istream * in,
const MR_std_function_bool_from_float * cb )

Generated from function MR::VoxelsLoad::gridsFromVdb. Parameter in can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_vector_MR_FloatGrid_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_LoadingTiffSettings_AssignFromAnother()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_AssignFromAnother ( MR_VoxelsLoad_LoadingTiffSettings * _this,
MR_PassBy _other_pass_by,
MR_VoxelsLoad_LoadingTiffSettings * _other )

Generated from a method of class MR::VoxelsLoad::LoadingTiffSettings named operator=. 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_VoxelsLoad_LoadingTiffSettings_ConstructFrom()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_ConstructFrom ( const char * dir,
const char * dir_end,
MR_Vector3f voxelSize,
MR_VoxelsLoad_GridType gridType,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Constructs MR::VoxelsLoad::LoadingTiffSettings elementwise. Parameter dir is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsLoad_LoadingTiffSettings_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_LoadingTiffSettings_ConstructFromAnother()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_VoxelsLoad_LoadingTiffSettings * _other )

Generated from a constructor of class MR::VoxelsLoad::LoadingTiffSettings. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsLoad_LoadingTiffSettings_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_LoadingTiffSettings_DefaultConstruct()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_DefaultConstruct ( void )

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

◆ MR_VoxelsLoad_LoadingTiffSettings_DefaultConstructArray()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_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_VoxelsLoad_LoadingTiffSettings_DestroyArray(). Use MR_VoxelsLoad_LoadingTiffSettings_OffsetMutablePtr() and MR_VoxelsLoad_LoadingTiffSettings_OffsetPtr() to access the array elements.

◆ MR_VoxelsLoad_LoadingTiffSettings_Destroy()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Destroy ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

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

◆ MR_VoxelsLoad_LoadingTiffSettings_DestroyArray()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_DestroyArray ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

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

◆ MR_VoxelsLoad_LoadingTiffSettings_Get_cb()

MRC_API const MR_std_function_bool_from_float * MR_VoxelsLoad_LoadingTiffSettings_Get_cb ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings 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_VoxelsLoad_LoadingTiffSettings_Get_dir()

MRC_API const MR_std_filesystem_path * MR_VoxelsLoad_LoadingTiffSettings_Get_dir ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named dir. 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_VoxelsLoad_LoadingTiffSettings_Get_gridType()

MRC_API const MR_VoxelsLoad_GridType * MR_VoxelsLoad_LoadingTiffSettings_Get_gridType ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named gridType. 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_VoxelsLoad_LoadingTiffSettings_Get_voxelSize()

MRC_API const MR_Vector3f * MR_VoxelsLoad_LoadingTiffSettings_Get_voxelSize ( const MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named voxelSize. 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_VoxelsLoad_LoadingTiffSettings_GetMutable_cb()

MRC_API MR_std_function_bool_from_float * MR_VoxelsLoad_LoadingTiffSettings_GetMutable_cb ( MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings 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_VoxelsLoad_LoadingTiffSettings_GetMutable_dir()

MRC_API MR_std_filesystem_path * MR_VoxelsLoad_LoadingTiffSettings_GetMutable_dir ( MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named dir. 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_VoxelsLoad_LoadingTiffSettings_GetMutable_gridType()

MRC_API MR_VoxelsLoad_GridType * MR_VoxelsLoad_LoadingTiffSettings_GetMutable_gridType ( MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named gridType. 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_VoxelsLoad_LoadingTiffSettings_GetMutable_voxelSize()

MRC_API MR_Vector3f * MR_VoxelsLoad_LoadingTiffSettings_GetMutable_voxelSize ( MR_VoxelsLoad_LoadingTiffSettings * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::LoadingTiffSettings named voxelSize. 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_VoxelsLoad_LoadingTiffSettings_OffsetMutablePtr()

MRC_API MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_OffsetMutablePtr ( MR_VoxelsLoad_LoadingTiffSettings * 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.

◆ MR_VoxelsLoad_LoadingTiffSettings_OffsetPtr()

MRC_API const MR_VoxelsLoad_LoadingTiffSettings * MR_VoxelsLoad_LoadingTiffSettings_OffsetPtr ( const MR_VoxelsLoad_LoadingTiffSettings * 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.

◆ MR_VoxelsLoad_LoadingTiffSettings_Set_cb()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_cb ( MR_VoxelsLoad_LoadingTiffSettings * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

Modifies a member variable of class MR::VoxelsLoad::LoadingTiffSettings named cb. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_LoadingTiffSettings_Set_dir()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_dir ( MR_VoxelsLoad_LoadingTiffSettings * _this,
const char * value,
const char * value_end )

Modifies a member variable of class MR::VoxelsLoad::LoadingTiffSettings named dir. Parameter _this can not be null. It is a single object. Parameter value is a UTF-8 encoded filesystem path.

◆ MR_VoxelsLoad_LoadingTiffSettings_Set_gridType()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_gridType ( MR_VoxelsLoad_LoadingTiffSettings * _this,
MR_VoxelsLoad_GridType value )

Modifies a member variable of class MR::VoxelsLoad::LoadingTiffSettings named gridType. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_LoadingTiffSettings_Set_voxelSize()

MRC_API void MR_VoxelsLoad_LoadingTiffSettings_Set_voxelSize ( MR_VoxelsLoad_LoadingTiffSettings * _this,
MR_Vector3f value )

Modifies a member variable of class MR::VoxelsLoad::LoadingTiffSettings named voxelSize. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_loadTiffDir()

MRC_API MR_expected_MR_VdbVolume_std_string * MR_VoxelsLoad_loadTiffDir ( const MR_VoxelsLoad_LoadingTiffSettings * settings)

Load voxels from a set of TIFF files Generated from function MR::VoxelsLoad::loadTiffDir. 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_MR_VdbVolume_std_string_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_RawParameters_AssignFromAnother()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_AssignFromAnother ( MR_VoxelsLoad_RawParameters * _this,
const MR_VoxelsLoad_RawParameters * _other )

Generated from a method of class MR::VoxelsLoad::RawParameters named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_VoxelsLoad_RawParameters_ConstructFrom()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_ConstructFrom ( MR_Vector3i dimensions,
MR_Vector3f voxelSize,
bool gridLevelSet,
MR_ScalarType scalarType )

Constructs MR::VoxelsLoad::RawParameters elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsLoad_RawParameters_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_RawParameters_ConstructFromAnother()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_ConstructFromAnother ( const MR_VoxelsLoad_RawParameters * _other)

Generated from a constructor of class MR::VoxelsLoad::RawParameters. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsLoad_RawParameters_Destroy() to free it when you're done using it.

◆ MR_VoxelsLoad_RawParameters_DefaultConstruct()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_DefaultConstruct ( void )

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

◆ MR_VoxelsLoad_RawParameters_DefaultConstructArray()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_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_VoxelsLoad_RawParameters_DestroyArray(). Use MR_VoxelsLoad_RawParameters_OffsetMutablePtr() and MR_VoxelsLoad_RawParameters_OffsetPtr() to access the array elements.

◆ MR_VoxelsLoad_RawParameters_Destroy()

MRC_API void MR_VoxelsLoad_RawParameters_Destroy ( const MR_VoxelsLoad_RawParameters * _this)

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

◆ MR_VoxelsLoad_RawParameters_DestroyArray()

MRC_API void MR_VoxelsLoad_RawParameters_DestroyArray ( const MR_VoxelsLoad_RawParameters * _this)

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

◆ MR_VoxelsLoad_RawParameters_Get_dimensions()

MRC_API const MR_Vector3i * MR_VoxelsLoad_RawParameters_Get_dimensions ( const MR_VoxelsLoad_RawParameters * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named dimensions. 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_VoxelsLoad_RawParameters_Get_gridLevelSet()

MRC_API const bool * MR_VoxelsLoad_RawParameters_Get_gridLevelSet ( const MR_VoxelsLoad_RawParameters * _this)

OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Modifies a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_RawParameters_Get_scalarType()

MRC_API const MR_ScalarType * MR_VoxelsLoad_RawParameters_Get_scalarType ( const MR_VoxelsLoad_RawParameters * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named scalarType. 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_VoxelsLoad_RawParameters_Get_voxelSize()

MRC_API const MR_Vector3f * MR_VoxelsLoad_RawParameters_Get_voxelSize ( const MR_VoxelsLoad_RawParameters * _this)

Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named voxelSize. 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_VoxelsLoad_RawParameters_GetMutable_dimensions()

MRC_API MR_Vector3i * MR_VoxelsLoad_RawParameters_GetMutable_dimensions ( MR_VoxelsLoad_RawParameters * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named dimensions. 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_VoxelsLoad_RawParameters_GetMutable_gridLevelSet()

MRC_API bool * MR_VoxelsLoad_RawParameters_GetMutable_gridLevelSet ( MR_VoxelsLoad_RawParameters * _this)

◆ MR_VoxelsLoad_RawParameters_GetMutable_scalarType()

MRC_API MR_ScalarType * MR_VoxelsLoad_RawParameters_GetMutable_scalarType ( MR_VoxelsLoad_RawParameters * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named scalarType. 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_VoxelsLoad_RawParameters_GetMutable_voxelSize()

MRC_API MR_Vector3f * MR_VoxelsLoad_RawParameters_GetMutable_voxelSize ( MR_VoxelsLoad_RawParameters * _this)

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named voxelSize. 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. OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet. 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_VoxelsLoad_RawParameters_OffsetMutablePtr()

MRC_API MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_OffsetMutablePtr ( MR_VoxelsLoad_RawParameters * 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.

◆ MR_VoxelsLoad_RawParameters_OffsetPtr()

MRC_API const MR_VoxelsLoad_RawParameters * MR_VoxelsLoad_RawParameters_OffsetPtr ( const MR_VoxelsLoad_RawParameters * 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.

◆ MR_VoxelsLoad_RawParameters_Set_dimensions()

MRC_API void MR_VoxelsLoad_RawParameters_Set_dimensions ( MR_VoxelsLoad_RawParameters * _this,
MR_Vector3i value )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named dimensions. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_RawParameters_Set_gridLevelSet()

MRC_API void MR_VoxelsLoad_RawParameters_Set_gridLevelSet ( MR_VoxelsLoad_RawParameters * _this,
bool value )

OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet. 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_VoxelsLoad_RawParameters_Set_scalarType()

MRC_API void MR_VoxelsLoad_RawParameters_Set_scalarType ( MR_VoxelsLoad_RawParameters * _this,
MR_ScalarType value )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named scalarType. Parameter _this can not be null. It is a single object.

◆ MR_VoxelsLoad_RawParameters_Set_voxelSize()

MRC_API void MR_VoxelsLoad_RawParameters_Set_voxelSize ( MR_VoxelsLoad_RawParameters * _this,
MR_Vector3f value )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named voxelSize. Parameter _this can not be null. It is a single object.