MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectVoxels.h File Reference
#include <MRCMesh/MRColor.h>
#include <MRCMesh/MRId.h>
#include <MRCMesh/MRMeshFwd.h>
#include <MRCMesh/MRVector2.h>
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Box3i MR_Box3i
 
typedef struct MR_FloatGrid MR_FloatGrid
 
typedef struct MR_Histogram MR_Histogram
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
 
typedef struct MR_ObjectMeshHolder MR_ObjectMeshHolder
 
typedef struct MR_SimpleVolume MR_SimpleVolume
 
typedef struct MR_SimpleVolumeMinMax MR_SimpleVolumeMinMax
 
typedef struct MR_VdbVolume MR_VdbVolume
 
typedef struct MR_Vector3f MR_Vector3f
 
typedef struct MR_VisualObject MR_VisualObject
 
typedef struct MR_VolumeIndexer MR_VolumeIndexer
 
typedef struct MR_VoxelBitSet MR_VoxelBitSet
 
typedef struct MR_expected_bool_std_string MR_expected_bool_std_string
 
typedef struct MR_expected_std_shared_ptr_MR_Mesh_std_string MR_expected_std_shared_ptr_MR_Mesh_std_string
 
typedef struct MR_std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float MR_std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_optional_MR_Vector2f MR_std_optional_MR_Vector2f
 
typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
 
typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_ObjectVoxels MR_ObjectVoxels
 
typedef struct MR_ObjectVoxels_VolumeRenderingParams MR_ObjectVoxels_VolumeRenderingParams
 Generated from class MR::ObjectVoxels::VolumeRenderingParams.
 
typedef int32_t MR_ObjectVoxels_VolumeRenderingParams_ShadingType
 
typedef int32_t MR_ObjectVoxels_VolumeRenderingParams_LutType
 
typedef int32_t MR_ObjectVoxels_VolumeRenderingParams_AlphaType
 

Enumerations

enum  { MR_ObjectVoxels_VolumeRenderingParams_ShadingType_None = 0 , MR_ObjectVoxels_VolumeRenderingParams_ShadingType_ValueGradient = 1 , MR_ObjectVoxels_VolumeRenderingParams_ShadingType_AlphaGradient = 2 }
 
enum  { MR_ObjectVoxels_VolumeRenderingParams_LutType_GrayShades = 0 , MR_ObjectVoxels_VolumeRenderingParams_LutType_Rainbow = 1 , MR_ObjectVoxels_VolumeRenderingParams_LutType_OneColor = 2 }
 
enum  { MR_ObjectVoxels_VolumeRenderingParams_AlphaType_Constant = 0 , MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearIncreasing = 1 , MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearDecreasing = 2 }
 

Functions

MRC_API MR_ObjectVoxelsMR_ObjectVoxels_DefaultConstruct (void)
 
MRC_API MR_ObjectVoxelsMR_ObjectVoxels_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_ObjectVoxelsMR_ObjectVoxels_OffsetPtr (const MR_ObjectVoxels *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_ObjectVoxelsMR_ObjectVoxels_OffsetMutablePtr (MR_ObjectVoxels *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 const MR_ObjectMR_ObjectVoxels_UpcastTo_MR_Object (const MR_ObjectVoxels *object)
 
MRC_API MR_ObjectMR_ObjectVoxels_MutableUpcastTo_MR_Object (MR_ObjectVoxels *object)
 Upcasts an instance of MR::ObjectVoxels to its base class MR::Object.
 
MRC_API const MR_ObjectChildrenHolderMR_ObjectVoxels_UpcastTo_MR_ObjectChildrenHolder (const MR_ObjectVoxels *object)
 
MRC_API MR_ObjectChildrenHolderMR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder (MR_ObjectVoxels *object)
 Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMeshHolderMR_ObjectVoxels_UpcastTo_MR_ObjectMeshHolder (const MR_ObjectVoxels *object)
 
MRC_API MR_ObjectMeshHolderMR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder (MR_ObjectVoxels *object)
 Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectMeshHolder.
 
MRC_API const MR_VisualObjectMR_ObjectVoxels_UpcastTo_MR_VisualObject (const MR_ObjectVoxels *object)
 
MRC_API MR_VisualObjectMR_ObjectVoxels_MutableUpcastTo_MR_VisualObject (MR_ObjectVoxels *object)
 Upcasts an instance of MR::ObjectVoxels to its base class MR::VisualObject.
 
MRC_API MR_ObjectVoxelsMR_ObjectVoxels_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ObjectVoxels *_other)
 
MRC_API void MR_ObjectVoxels_Destroy (const MR_ObjectVoxels *_this)
 Destroys a heap-allocated instance of MR_ObjectVoxels. Does nothing if the pointer is null.
 
MRC_API void MR_ObjectVoxels_DestroyArray (const MR_ObjectVoxels *_this)
 Destroys a heap-allocated array of MR_ObjectVoxels. Does nothing if the pointer is null.
 
MRC_API MR_ObjectVoxelsMR_ObjectVoxels_AssignFromAnother (MR_ObjectVoxels *_this, MR_PassBy _other_pass_by, MR_ObjectVoxels *_other)
 
MRC_API const char * MR_ObjectVoxels_TypeName (void)
 Generated from a method of class MR::ObjectVoxels named TypeName.
 
MRC_API const char * MR_ObjectVoxels_typeName (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_applyScale (MR_ObjectVoxels *_this, float scaleFactor)
 
MRC_API const MR_std_shared_ptr_MR_MeshMR_ObjectVoxels_surface (const MR_ObjectVoxels *_this)
 
MRC_API const MR_VdbVolumeMR_ObjectVoxels_vdbVolume (const MR_ObjectVoxels *_this)
 
MRC_API MR_VdbVolumeMR_ObjectVoxels_varVdbVolume (MR_ObjectVoxels *_this)
 
MRC_API const MR_FloatGridMR_ObjectVoxels_grid (const MR_ObjectVoxels *_this)
 
MRC_API bool MR_ObjectVoxels_hasModel (const MR_ObjectVoxels *_this)
 
MRC_API const MR_Vector3iMR_ObjectVoxels_dimensions (const MR_ObjectVoxels *_this)
 
MRC_API float MR_ObjectVoxels_getIsoValue (const MR_ObjectVoxels *_this)
 
MRC_API const MR_HistogramMR_ObjectVoxels_histogram (const MR_ObjectVoxels *_this)
 
MRC_API const MR_Vector3fMR_ObjectVoxels_voxelSize (const MR_ObjectVoxels *_this)
 
MRC_API MR_std_vector_std_stringMR_ObjectVoxels_getInfoLines (const MR_ObjectVoxels *_this)
 
MRC_API MR_std_stringMR_ObjectVoxels_getClassName (const MR_ObjectVoxels *_this)
 
MRC_API MR_std_stringMR_ObjectVoxels_getClassNameInPlural (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_construct_4 (MR_ObjectVoxels *_this, const MR_SimpleVolume *simpleVolume, const MR_std_optional_MR_Vector2f *minmax, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const bool *normalPlusGrad)
 
MRC_API void MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax (MR_ObjectVoxels *_this, const MR_SimpleVolumeMinMax *simpleVolumeMinMax, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const bool *normalPlusGrad)
 
MRC_API void MR_ObjectVoxels_construct_3_MR_FloatGrid (MR_ObjectVoxels *_this, const MR_FloatGrid *grid, const MR_Vector3f *voxelSize, const MR_std_optional_MR_Vector2f *minmax)
 
MRC_API void MR_ObjectVoxels_construct_1 (MR_ObjectVoxels *_this, const MR_VdbVolume *vdbVolume)
 
MRC_API void MR_ObjectVoxels_updateHistogramAndSurface (MR_ObjectVoxels *_this, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_bool_std_stringMR_ObjectVoxels_setIsoValue (MR_ObjectVoxels *_this, float iso, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const bool *updateSurface)
 
MRC_API MR_std_shared_ptr_MR_MeshMR_ObjectVoxels_updateIsoSurface (MR_ObjectVoxels *_this, MR_PassBy mesh_pass_by, MR_std_shared_ptr_MR_Mesh *mesh)
 
MRC_API MR_VdbVolumeMR_ObjectVoxels_updateVdbVolume (MR_ObjectVoxels *_this, MR_PassBy vdbVolume_pass_by, MR_VdbVolume *vdbVolume)
 
MRC_API MR_HistogramMR_ObjectVoxels_updateHistogram (MR_ObjectVoxels *_this, MR_PassBy histogram_pass_by, MR_Histogram *histogram)
 
MRC_API MR_expected_std_shared_ptr_MR_Mesh_std_stringMR_ObjectVoxels_recalculateIsoSurface_2 (const MR_ObjectVoxels *_this, float iso, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_expected_std_shared_ptr_MR_Mesh_std_stringMR_ObjectVoxels_recalculateIsoSurface_3 (const MR_ObjectVoxels *_this, const MR_VdbVolume *volume, float iso, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_HistogramMR_ObjectVoxels_recalculateHistogram (const MR_ObjectVoxels *_this, const MR_Vector2f *minmax, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API bool MR_ObjectVoxels_getDualMarchingCubes (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_setDualMarchingCubes (MR_ObjectVoxels *_this, bool on, const bool *updateSurface, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API void MR_ObjectVoxels_setVoxelPointPositioner (MR_ObjectVoxels *_this, MR_PassBy positioner_pass_by, MR_std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float *positioner)
 
MRC_API void MR_ObjectVoxels_setActiveBounds (MR_ObjectVoxels *_this, const MR_Box3i *activeBox, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, const bool *updateSurface)
 
MRC_API const MR_Box3iMR_ObjectVoxels_getActiveBounds (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_invalidateActiveBoundsCaches (MR_ObjectVoxels *_this)
 
MRC_API const MR_VoxelBitSetMR_ObjectVoxels_getSelectedVoxels (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_selectVoxels (MR_ObjectVoxels *_this, const MR_VoxelBitSet *selectedVoxels)
 
MRC_API const MR_VoxelBitSetMR_ObjectVoxels_getVolumeRenderActiveVoxels (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_setVolumeRenderActiveVoxels (MR_ObjectVoxels *_this, const MR_VoxelBitSet *activeVoxels)
 
MRC_API MR_VoxelId MR_ObjectVoxels_getVoxelIdByCoordinate (const MR_ObjectVoxels *_this, const MR_Vector3i *coord)
 
MRC_API MR_VoxelId MR_ObjectVoxels_getVoxelIdByPoint (const MR_ObjectVoxels *_this, const MR_Vector3f *point)
 
MRC_API MR_Vector3i MR_ObjectVoxels_getCoordinateByVoxelId (const MR_ObjectVoxels *_this, MR_VoxelId id)
 
MRC_API const MR_VolumeIndexerMR_ObjectVoxels_getVolumeIndexer (const MR_ObjectVoxels *_this)
 
MRC_API bool MR_ObjectVoxels_prepareDataForVolumeRendering (const MR_ObjectVoxels *_this, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API bool MR_ObjectVoxels_isVolumeRenderingEnabled (const MR_ObjectVoxels *_this)
 
MRC_API void MR_ObjectVoxels_enableVolumeRendering (MR_ObjectVoxels *_this, bool on)
 
MRC_API void MR_setDefaultSerializeVoxelsFormat (const char *newFormat, const char *newFormat_end)
 

Typedef Documentation

◆ MR_Box3i

typedef struct MR_Box3i MR_Box3i

◆ MR_expected_bool_std_string

◆ MR_expected_std_shared_ptr_MR_Mesh_std_string

◆ MR_FloatGrid

typedef struct MR_FloatGrid MR_FloatGrid

◆ MR_Histogram

typedef struct MR_Histogram MR_Histogram

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_ObjectMeshHolder

◆ MR_ObjectVoxels

This class stores information about voxels object Generated from class MR::ObjectVoxels. Base classes: Direct: (non-virtual) MR::ObjectMeshHolder Indirect: (non-virtual) MR::Object MR::ObjectChildrenHolder MR::VisualObject

◆ MR_ObjectVoxels_VolumeRenderingParams

◆ MR_ObjectVoxels_VolumeRenderingParams_AlphaType

◆ MR_ObjectVoxels_VolumeRenderingParams_LutType

◆ MR_ObjectVoxels_VolumeRenderingParams_ShadingType

◆ MR_SimpleVolume

◆ MR_SimpleVolumeMinMax

◆ MR_std_function_bool_from_float

◆ MR_std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float

◆ MR_std_optional_MR_Vector2f

◆ MR_std_shared_ptr_MR_Mesh

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_std_string

◆ MR_VdbVolume

typedef struct MR_VdbVolume MR_VdbVolume

◆ MR_Vector3f

typedef struct MR_Vector3f MR_Vector3f

◆ MR_VisualObject

◆ MR_VolumeIndexer

◆ MR_VoxelBitSet

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_None 
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_ValueGradient 
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_AlphaGradient 

◆ anonymous enum

anonymous enum
Enumerator
MR_ObjectVoxels_VolumeRenderingParams_LutType_GrayShades 
MR_ObjectVoxels_VolumeRenderingParams_LutType_Rainbow 
MR_ObjectVoxels_VolumeRenderingParams_LutType_OneColor 

◆ anonymous enum

anonymous enum
Enumerator
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_Constant 
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearIncreasing 
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearDecreasing 

Function Documentation

◆ MR_ObjectVoxels_applyScale()

MRC_API void MR_ObjectVoxels_applyScale ( MR_ObjectVoxels * _this,
float scaleFactor )

Generated from a method of class MR::ObjectVoxels named applyScale. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_AssignFromAnother()

MRC_API MR_ObjectVoxels * MR_ObjectVoxels_AssignFromAnother ( MR_ObjectVoxels * _this,
MR_PassBy _other_pass_by,
MR_ObjectVoxels * _other )

Generated from a method of class MR::ObjectVoxels 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_ObjectVoxels_construct_1()

MRC_API void MR_ObjectVoxels_construct_1 ( MR_ObjectVoxels * _this,
const MR_VdbVolume * vdbVolume )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface) Generated from a method of class MR::ObjectVoxels named construct. Parameter _this can not be null. It is a single object. Parameter vdbVolume can not be null. It is a single object.

◆ MR_ObjectVoxels_construct_3_MR_FloatGrid()

MRC_API void MR_ObjectVoxels_construct_3_MR_FloatGrid ( MR_ObjectVoxels * _this,
const MR_FloatGrid * grid,
const MR_Vector3f * voxelSize,
const MR_std_optional_MR_Vector2f * minmax )

Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
minmaxoptional data about known min and max values Generated from a method of class MR::ObjectVoxels named construct. Parameter _this can not be null. It is a single object. Parameter grid can not be null. It is a single object. Parameter voxelSize can not be null. It is a single object. Parameter minmax is a single object. Parameter minmax has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax()

MRC_API void MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax ( MR_ObjectVoxels * _this,
const MR_SimpleVolumeMinMax * simpleVolumeMinMax,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
const bool * normalPlusGrad )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from a method of class MR::ObjectVoxels named construct. Parameter _this can not be null. It is a single object. Parameter simpleVolumeMinMax can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Parameter normalPlusGrad has a default argument: false, pass a null pointer to use it.

◆ MR_ObjectVoxels_construct_4()

MRC_API void MR_ObjectVoxels_construct_4 ( MR_ObjectVoxels * _this,
const MR_SimpleVolume * simpleVolume,
const MR_std_optional_MR_Vector2f * minmax,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
const bool * normalPlusGrad )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction
minmaxoptional data about known min and max values set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from a method of class MR::ObjectVoxels named construct. Parameter _this can not be null. It is a single object. Parameter simpleVolume can not be null. It is a single object. Parameter minmax is a single object. Parameter minmax has a default argument: {}, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Parameter normalPlusGrad has a default argument: false, pass a null pointer to use it.

◆ MR_ObjectVoxels_ConstructFromAnother()

MRC_API MR_ObjectVoxels * MR_ObjectVoxels_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ObjectVoxels * _other )

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

◆ MR_ObjectVoxels_DefaultConstruct()

MRC_API MR_ObjectVoxels * MR_ObjectVoxels_DefaultConstruct ( void )

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

◆ MR_ObjectVoxels_DefaultConstructArray()

MRC_API MR_ObjectVoxels * MR_ObjectVoxels_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_ObjectVoxels_DestroyArray(). Use MR_ObjectVoxels_OffsetMutablePtr() and MR_ObjectVoxels_OffsetPtr() to access the array elements.

◆ MR_ObjectVoxels_Destroy()

MRC_API void MR_ObjectVoxels_Destroy ( const MR_ObjectVoxels * _this)

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

◆ MR_ObjectVoxels_DestroyArray()

MRC_API void MR_ObjectVoxels_DestroyArray ( const MR_ObjectVoxels * _this)

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

◆ MR_ObjectVoxels_dimensions()

MRC_API const MR_Vector3i * MR_ObjectVoxels_dimensions ( const MR_ObjectVoxels * _this)

Returns dimensions of voxel objects Generated from a method of class MR::ObjectVoxels 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_ObjectVoxels_enableVolumeRendering()

MRC_API void MR_ObjectVoxels_enableVolumeRendering ( MR_ObjectVoxels * _this,
bool on )

Generated from a method of class MR::ObjectVoxels named enableVolumeRendering. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_getActiveBounds()

MRC_API const MR_Box3i * MR_ObjectVoxels_getActiveBounds ( const MR_ObjectVoxels * _this)

Returns active bounds (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty Generated from a method of class MR::ObjectVoxels named getActiveBounds. 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_ObjectVoxels_getClassName()

MRC_API MR_std_string * MR_ObjectVoxels_getClassName ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named getClassName. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_getClassNameInPlural()

MRC_API MR_std_string * MR_ObjectVoxels_getClassNameInPlural ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named getClassNameInPlural. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_getCoordinateByVoxelId()

MRC_API MR_Vector3i MR_ObjectVoxels_getCoordinateByVoxelId ( const MR_ObjectVoxels * _this,
MR_VoxelId id )

Generated from a method of class MR::ObjectVoxels named getCoordinateByVoxelId. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_getDualMarchingCubes()

MRC_API bool MR_ObjectVoxels_getDualMarchingCubes ( const MR_ObjectVoxels * _this)

returns true if the iso-surface is built using Dual Marching Cubes algorithm or false if using Standard Marching Cubes Generated from a method of class MR::ObjectVoxels named getDualMarchingCubes. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_getInfoLines()

MRC_API MR_std_vector_std_string * MR_ObjectVoxels_getInfoLines ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named getInfoLines. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_getIsoValue()

MRC_API float MR_ObjectVoxels_getIsoValue ( const MR_ObjectVoxels * _this)

Returns current iso value Generated from a method of class MR::ObjectVoxels named getIsoValue. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_getSelectedVoxels()

MRC_API const MR_VoxelBitSet * MR_ObjectVoxels_getSelectedVoxels ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named getSelectedVoxels. 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_ObjectVoxels_getVolumeIndexer()

MRC_API const MR_VolumeIndexer * MR_ObjectVoxels_getVolumeIndexer ( const MR_ObjectVoxels * _this)

Returns indexer with more options Generated from a method of class MR::ObjectVoxels named getVolumeIndexer. 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_ObjectVoxels_getVolumeRenderActiveVoxels()

MRC_API const MR_VoxelBitSet * MR_ObjectVoxels_getVolumeRenderActiveVoxels ( const MR_ObjectVoxels * _this)

get active (visible) voxels Generated from a method of class MR::ObjectVoxels named getVolumeRenderActiveVoxels. 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_ObjectVoxels_getVoxelIdByCoordinate()

MRC_API MR_VoxelId MR_ObjectVoxels_getVoxelIdByCoordinate ( const MR_ObjectVoxels * _this,
const MR_Vector3i * coord )

VoxelId is numerical representation of voxel Coordinate is {x,y,z} indices of voxels in box (base dimensions space, NOT active dimensions) Point is local space coordinate of point in scene Generated from a method of class MR::ObjectVoxels named getVoxelIdByCoordinate. Parameter _this can not be null. It is a single object. Parameter coord can not be null. It is a single object.

◆ MR_ObjectVoxels_getVoxelIdByPoint()

MRC_API MR_VoxelId MR_ObjectVoxels_getVoxelIdByPoint ( const MR_ObjectVoxels * _this,
const MR_Vector3f * point )

Generated from a method of class MR::ObjectVoxels named getVoxelIdByPoint. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object.

◆ MR_ObjectVoxels_grid()

MRC_API const MR_FloatGrid * MR_ObjectVoxels_grid ( const MR_ObjectVoxels * _this)

Returns Float grid which contains voxels data, see more on openvdb::FloatGrid Generated from a method of class MR::ObjectVoxels named grid. 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_ObjectVoxels_hasModel()

MRC_API bool MR_ObjectVoxels_hasModel ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named hasModel. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_histogram()

MRC_API const MR_Histogram * MR_ObjectVoxels_histogram ( const MR_ObjectVoxels * _this)

Returns histogram Generated from a method of class MR::ObjectVoxels named histogram. 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_ObjectVoxels_invalidateActiveBoundsCaches()

MRC_API void MR_ObjectVoxels_invalidateActiveBoundsCaches ( MR_ObjectVoxels * _this)

Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from a method of class MR::ObjectVoxels named invalidateActiveBoundsCaches. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_isVolumeRenderingEnabled()

MRC_API bool MR_ObjectVoxels_isVolumeRenderingEnabled ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named isVolumeRenderingEnabled. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_ObjectVoxels_MutableUpcastTo_MR_Object ( MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::Object.

◆ MR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectChildrenHolder.

◆ MR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder()

MRC_API MR_ObjectMeshHolder * MR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder ( MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectMeshHolder.

◆ MR_ObjectVoxels_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_ObjectVoxels_MutableUpcastTo_MR_VisualObject ( MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::VisualObject.

◆ MR_ObjectVoxels_OffsetMutablePtr()

MRC_API MR_ObjectVoxels * MR_ObjectVoxels_OffsetMutablePtr ( MR_ObjectVoxels * 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_ObjectVoxels_OffsetPtr()

MRC_API const MR_ObjectVoxels * MR_ObjectVoxels_OffsetPtr ( const MR_ObjectVoxels * 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_ObjectVoxels_prepareDataForVolumeRendering()

MRC_API bool MR_ObjectVoxels_prepareDataForVolumeRendering ( const MR_ObjectVoxels * _this,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Generated from a method of class MR::ObjectVoxels named prepareDataForVolumeRendering. Parameter _this can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_ObjectVoxels_recalculateHistogram()

MRC_API MR_Histogram * MR_ObjectVoxels_recalculateHistogram ( const MR_ObjectVoxels * _this,
const MR_Vector2f * minmax,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Calculates and returns new histogram Generated from a method of class MR::ObjectVoxels named recalculateHistogram. Parameter _this can not be null. It is a single object. Parameter minmax is optional. To keep it empty, pass a null pointer. Parameter cb 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_Histogram_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_recalculateIsoSurface_2()

MRC_API MR_expected_std_shared_ptr_MR_Mesh_std_string * MR_ObjectVoxels_recalculateIsoSurface_2 ( const MR_ObjectVoxels * _this,
float iso,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Calculates and return new mesh or error message Generated from a method of class MR::ObjectVoxels named recalculateIsoSurface. Parameter _this can not be null. It is a single object. Parameter cb 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_shared_ptr_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_recalculateIsoSurface_3()

MRC_API MR_expected_std_shared_ptr_MR_Mesh_std_string * MR_ObjectVoxels_recalculateIsoSurface_3 ( const MR_ObjectVoxels * _this,
const MR_VdbVolume * volume,
float iso,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Same as above, but takes external volume Generated from a method of class MR::ObjectVoxels named recalculateIsoSurface. Parameter _this can not be null. It is a single object. Parameter volume can not be null. It is a single object. Parameter cb 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_shared_ptr_MR_Mesh_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_selectVoxels()

MRC_API void MR_ObjectVoxels_selectVoxels ( MR_ObjectVoxels * _this,
const MR_VoxelBitSet * selectedVoxels )

Generated from a method of class MR::ObjectVoxels named selectVoxels. Parameter _this can not be null. It is a single object. Parameter selectedVoxels can not be null. It is a single object.

◆ MR_ObjectVoxels_setActiveBounds()

MRC_API void MR_ObjectVoxels_setActiveBounds ( MR_ObjectVoxels * _this,
const MR_Box3i * activeBox,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
const bool * updateSurface )

Sets active bounds for some simplifications (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty NOTE: don't forget to call invalidateActiveBoundsCaches if you call this function from progress bar thread Generated from a method of class MR::ObjectVoxels named setActiveBounds. Parameter _this can not be null. It is a single object. Parameter activeBox can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Parameter updateSurface has a default argument: true, pass a null pointer to use it.

◆ MR_ObjectVoxels_setDualMarchingCubes()

MRC_API void MR_ObjectVoxels_setDualMarchingCubes ( MR_ObjectVoxels * _this,
bool on,
const bool * updateSurface,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);

Parameters
updateSurfaceforces immediate update Generated from a method of class MR::ObjectVoxels named setDualMarchingCubes. Parameter _this can not be null. It is a single object. Parameter updateSurface has a default argument: true, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_ObjectVoxels_setIsoValue()

MRC_API MR_expected_bool_std_string * MR_ObjectVoxels_setIsoValue ( MR_ObjectVoxels * _this,
float iso,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb,
const bool * updateSurface )

Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from a method of class MR::ObjectVoxels named setIsoValue. Parameter _this can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Parameter updateSurface has a default argument: true, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_bool_std_string_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_setVolumeRenderActiveVoxels()

MRC_API void MR_ObjectVoxels_setVolumeRenderActiveVoxels ( MR_ObjectVoxels * _this,
const MR_VoxelBitSet * activeVoxels )

set active (visible) voxels (using only in Volume Rendering mode) Generated from a method of class MR::ObjectVoxels named setVolumeRenderActiveVoxels. Parameter _this can not be null. It is a single object. Parameter activeVoxels can not be null. It is a single object.

◆ MR_ObjectVoxels_setVoxelPointPositioner()

MRC_API void MR_ObjectVoxels_setVoxelPointPositioner ( MR_ObjectVoxels * _this,
MR_PassBy positioner_pass_by,
MR_std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float * positioner )

set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from a method of class MR::ObjectVoxels named setVoxelPointPositioner. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_surface()

MRC_API const MR_std_shared_ptr_MR_Mesh * MR_ObjectVoxels_surface ( const MR_ObjectVoxels * _this)

Returns iso surface, empty if iso value is not set Generated from a method of class MR::ObjectVoxels named surface. 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_ObjectVoxels_TypeName()

MRC_API const char * MR_ObjectVoxels_TypeName ( void )

Generated from a method of class MR::ObjectVoxels named TypeName.

◆ MR_ObjectVoxels_typeName()

MRC_API const char * MR_ObjectVoxels_typeName ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named typeName. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_ObjectVoxels_UpcastTo_MR_Object ( const MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::Object. This version is acting on mutable pointers.

◆ MR_ObjectVoxels_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_ObjectVoxels_UpcastTo_MR_ObjectChildrenHolder ( const MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.

◆ MR_ObjectVoxels_UpcastTo_MR_ObjectMeshHolder()

MRC_API const MR_ObjectMeshHolder * MR_ObjectVoxels_UpcastTo_MR_ObjectMeshHolder ( const MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::ObjectMeshHolder. This version is acting on mutable pointers.

◆ MR_ObjectVoxels_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_ObjectVoxels_UpcastTo_MR_VisualObject ( const MR_ObjectVoxels * object)

Upcasts an instance of MR::ObjectVoxels to its base class MR::VisualObject. This version is acting on mutable pointers.

◆ MR_ObjectVoxels_updateHistogram()

MRC_API MR_Histogram * MR_ObjectVoxels_updateHistogram ( MR_ObjectVoxels * _this,
MR_PassBy histogram_pass_by,
MR_Histogram * histogram )

Sets external histogram for this object and returns back previous histogram of this Generated from a method of class MR::ObjectVoxels named updateHistogram. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Histogram_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_updateHistogramAndSurface()

MRC_API void MR_ObjectVoxels_updateHistogramAndSurface ( MR_ObjectVoxels * _this,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Updates histogram, by stored grid (evals min and max values from grid) rebuild iso surface if it is present Generated from a method of class MR::ObjectVoxels named updateHistogramAndSurface. Parameter _this can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_ObjectVoxels_updateIsoSurface()

MRC_API MR_std_shared_ptr_MR_Mesh * MR_ObjectVoxels_updateIsoSurface ( MR_ObjectVoxels * _this,
MR_PassBy mesh_pass_by,
MR_std_shared_ptr_MR_Mesh * mesh )

Sets external surface mesh for this object and returns back previous mesh of this Generated from a method of class MR::ObjectVoxels named updateIsoSurface. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Mesh_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_updateVdbVolume()

MRC_API MR_VdbVolume * MR_ObjectVoxels_updateVdbVolume ( MR_ObjectVoxels * _this,
MR_PassBy vdbVolume_pass_by,
MR_VdbVolume * vdbVolume )

Sets external vdb volume for this object and returns back previous vdb volume of this Generated from a method of class MR::ObjectVoxels named updateVdbVolume. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_VdbVolume_Destroy() to free it when you're done using it.

◆ MR_ObjectVoxels_varVdbVolume()

MRC_API MR_VdbVolume * MR_ObjectVoxels_varVdbVolume ( MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels named varVdbVolume. 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_ObjectVoxels_vdbVolume()

MRC_API const MR_VdbVolume * MR_ObjectVoxels_vdbVolume ( const MR_ObjectVoxels * _this)

Return VdbVolume Generated from a method of class MR::ObjectVoxels named vdbVolume. 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_ObjectVoxels_voxelSize()

MRC_API const MR_Vector3f * MR_ObjectVoxels_voxelSize ( const MR_ObjectVoxels * _this)

Generated from a method of class MR::ObjectVoxels 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_setDefaultSerializeVoxelsFormat()

MRC_API void MR_setDefaultSerializeVoxelsFormat ( const char * newFormat,
const char * newFormat_end )

Generated from a method of class MR::ObjectVoxels named getVolumeRenderingData. Parameter _this can not be null. It is a single object. The returned pointer is owning! If not null, it must be deallocated using `MR_SimpleVolume_Destroy(). MRC_API MR_SimpleVolume *MR_ObjectVoxels_getVolumeRenderingData(const MR_ObjectVoxels *_this);

/ Generated from a method of class MR::ObjectVoxels named getVolumeRenderingParams. / 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. MRC_API const MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_getVolumeRenderingParams(const MR_ObjectVoxels *_this);

/ Generated from a method of class MR::ObjectVoxels named setVolumeRenderingParams. / Parameter _this can not be null. It is a single object. / Parameter params can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setVolumeRenderingParams(MR_ObjectVoxels *_this, const MR_ObjectVoxels_VolumeRenderingParams *params);

/ Generated from a method of class MR::ObjectVoxels named hasVisualRepresentation. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_hasVisualRepresentation(const MR_ObjectVoxels *_this);

/ sets top limit on the number of vertices in the iso-surface / Generated from a method of class MR::ObjectVoxels named setMaxSurfaceVertices. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setMaxSurfaceVertices(MR_ObjectVoxels *_this, int32_t maxVerts);

/ gets top limit on the number of vertices in the iso-surface / Generated from a method of class MR::ObjectVoxels named getMaxSurfaceVertices. / Parameter _this can not be null. It is a single object. MRC_API int32_t MR_ObjectVoxels_getMaxSurfaceVertices(const MR_ObjectVoxels *_this);

/ Generated from a method of class MR::ObjectVoxels named clone. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it. MRC_API MR_std_shared_ptr_MR_Object *MR_ObjectVoxels_clone(const MR_ObjectVoxels *_this);

/ Generated from a method of class MR::ObjectVoxels named shallowClone. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it. MRC_API MR_std_shared_ptr_MR_Object *MR_ObjectVoxels_shallowClone(const MR_ObjectVoxels *_this);

/ Generated from a method of class MR::ObjectVoxels named setDirtyFlags. / Parameter _this can not be null. It is a single object. / Parameter invalidateCaches has a default argument: true, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setDirtyFlags(MR_ObjectVoxels *_this, uint32_t mask, const bool *invalidateCaches);

/ returns cached information about the number of active voxels / Generated from a method of class MR::ObjectVoxels named activeVoxels. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_activeVoxels(const MR_ObjectVoxels *_this);

/ returns the amount of memory this object occupies on heap / Generated from a method of class MR::ObjectVoxels named heapBytes. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_heapBytes(const MR_ObjectVoxels *_this);

/ returns overriden file extension used to serialize voxels inside this object, nullptr means defaultSerializeVoxelsFormat() / Generated from a method of class MR::ObjectVoxels named serializeFormat. / Parameter _this can not be null. It is a single object. MRC_API const char *MR_ObjectVoxels_serializeFormat(const MR_ObjectVoxels *_this);

/ overrides file extension used to serialize voxels inside this object: must start from '.', / nullptr means serialize in defaultSerializeVoxelsFormat() / Generated from a method of class MR::ObjectVoxels named setSerializeFormat. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setSerializeFormat(MR_ObjectVoxels *_this, const char *newFormat);

/ reset basic object colors to their default values from the current theme / Generated from a method of class MR::ObjectVoxels named resetFrontColor. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetFrontColor(MR_ObjectVoxels *_this);

volume texture smoothing / Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType. / 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. MRC_API const MR_FilterType *MR_ObjectVoxels_VolumeRenderingParams_Get_volumeFilterType(const MR_ObjectVoxels_VolumeRenderingParams *_this);

volume texture smoothing / Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_volumeFilterType(MR_ObjectVoxels_VolumeRenderingParams *_this, MR_FilterType value);

volume texture smoothing / Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType. / 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. MRC_API MR_FilterType *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_volumeFilterType(MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType. / 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. MRC_API const MR_ObjectVoxels_VolumeRenderingParams_ShadingType *MR_ObjectVoxels_VolumeRenderingParams_Get_shadingType(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_shadingType(MR_ObjectVoxels_VolumeRenderingParams *_this, MR_ObjectVoxels_VolumeRenderingParams_ShadingType value);

/ Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType. / 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. MRC_API MR_ObjectVoxels_VolumeRenderingParams_ShadingType *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_shadingType(MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType. / 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. MRC_API const MR_ObjectVoxels_VolumeRenderingParams_LutType *MR_ObjectVoxels_VolumeRenderingParams_Get_lutType(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_lutType(MR_ObjectVoxels_VolumeRenderingParams *_this, MR_ObjectVoxels_VolumeRenderingParams_LutType value);

/ Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType. / 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. MRC_API MR_ObjectVoxels_VolumeRenderingParams_LutType *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_lutType(MR_ObjectVoxels_VolumeRenderingParams *_this);

color that is used for OneColor mode / Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor. / 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. MRC_API const MR_Color *MR_ObjectVoxels_VolumeRenderingParams_Get_oneColor(const MR_ObjectVoxels_VolumeRenderingParams *_this);

color that is used for OneColor mode / Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_oneColor(MR_ObjectVoxels_VolumeRenderingParams *_this, MR_Color value);

color that is used for OneColor mode / Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor. / 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. MRC_API MR_Color *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_oneColor(MR_ObjectVoxels_VolumeRenderingParams *_this);

minimum colored value (voxels with lower values are transparent) / Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min. / 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. MRC_API const float *MR_ObjectVoxels_VolumeRenderingParams_Get_min(const MR_ObjectVoxels_VolumeRenderingParams *_this);

minimum colored value (voxels with lower values are transparent) / Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_min(MR_ObjectVoxels_VolumeRenderingParams *_this, float value);

minimum colored value (voxels with lower values are transparent) / Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min. / 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. MRC_API float *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_min(MR_ObjectVoxels_VolumeRenderingParams *_this);

maximum colored value (voxels with higher values are transparent) / Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max. / 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. MRC_API const float *MR_ObjectVoxels_VolumeRenderingParams_Get_max(const MR_ObjectVoxels_VolumeRenderingParams *_this);

maximum colored value (voxels with higher values are transparent) / Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_max(MR_ObjectVoxels_VolumeRenderingParams *_this, float value);

maximum colored value (voxels with higher values are transparent) / Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max. / 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. MRC_API float *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_max(MR_ObjectVoxels_VolumeRenderingParams *_this);

step to sample each ray with if <= 0 then default sampling is used / Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep. / 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. MRC_API const float *MR_ObjectVoxels_VolumeRenderingParams_Get_samplingStep(const MR_ObjectVoxels_VolumeRenderingParams *_this);

step to sample each ray with if <= 0 then default sampling is used / Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_samplingStep(MR_ObjectVoxels_VolumeRenderingParams *_this, float value);

step to sample each ray with if <= 0 then default sampling is used / Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep. / 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. MRC_API float *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_samplingStep(MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType. / 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. MRC_API const MR_ObjectVoxels_VolumeRenderingParams_AlphaType *MR_ObjectVoxels_VolumeRenderingParams_Get_alphaType(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_alphaType(MR_ObjectVoxels_VolumeRenderingParams *_this, MR_ObjectVoxels_VolumeRenderingParams_AlphaType value);

/ Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType. / 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. MRC_API MR_ObjectVoxels_VolumeRenderingParams_AlphaType *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_alphaType(MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit. / 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. MRC_API const uint8_t *MR_ObjectVoxels_VolumeRenderingParams_Get_alphaLimit(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Set_alphaLimit(MR_ObjectVoxels_VolumeRenderingParams *_this, uint8_t value);

/ Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit. / 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. MRC_API uint8_t *MR_ObjectVoxels_VolumeRenderingParams_GetMutable_alphaLimit(MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Constructs an empty (default-constructed) instance. / Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectVoxels_VolumeRenderingParams_Destroy() to free it when you're done using it. MRC_API MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_DefaultConstruct(void);

/ Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. / The array must be destroyed using MR_ObjectVoxels_VolumeRenderingParams_DestroyArray(). / Use MR_ObjectVoxels_VolumeRenderingParams_OffsetMutablePtr() and MR_ObjectVoxels_VolumeRenderingParams_OffsetPtr() to access the array elements. MRC_API MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_DefaultConstructArray(size_t num_elems);

/ Constructs MR::ObjectVoxels::VolumeRenderingParams elementwise. / Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectVoxels_VolumeRenderingParams_Destroy() to free it when you're done using it. MRC_API MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_ConstructFrom(MR_FilterType volumeFilterType, MR_ObjectVoxels_VolumeRenderingParams_ShadingType shadingType, MR_ObjectVoxels_VolumeRenderingParams_LutType lutType, MR_Color oneColor, float min, float max, float samplingStep, MR_ObjectVoxels_VolumeRenderingParams_AlphaType alphaType, uint8_t alphaLimit);

/ 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 const MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_OffsetPtr(const MR_ObjectVoxels_VolumeRenderingParams *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_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_OffsetMutablePtr(MR_ObjectVoxels_VolumeRenderingParams *ptr, ptrdiff_t i);

/ Generated from a constructor of class MR::ObjectVoxels::VolumeRenderingParams. / Parameter _other can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectVoxels_VolumeRenderingParams_Destroy() to free it when you're done using it. MRC_API MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_ConstructFromAnother(const MR_ObjectVoxels_VolumeRenderingParams *_other);

/ Destroys a heap-allocated instance of MR_ObjectVoxels_VolumeRenderingParams. Does nothing if the pointer is null. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_Destroy(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Destroys a heap-allocated array of MR_ObjectVoxels_VolumeRenderingParams. Does nothing if the pointer is null. MRC_API void MR_ObjectVoxels_VolumeRenderingParams_DestroyArray(const MR_ObjectVoxels_VolumeRenderingParams *_this);

/ Generated from a method of class MR::ObjectVoxels::VolumeRenderingParams 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. MRC_API MR_ObjectVoxels_VolumeRenderingParams *MR_ObjectVoxels_VolumeRenderingParams_AssignFromAnother(MR_ObjectVoxels_VolumeRenderingParams *_this, const MR_ObjectVoxels_VolumeRenderingParams *_other);

/ Generated from a method of class MR::ObjectVoxels::VolumeRenderingParams named operator==. / Parameter _this can not be null. It is a single object. / Parameter _1 can not be null. It is a single object. MRC_API bool MR_equal_MR_ObjectVoxels_VolumeRenderingParams(const MR_ObjectVoxels_VolumeRenderingParams *_this, const MR_ObjectVoxels_VolumeRenderingParams *_1);

/ returns file extension used to serialize ObjectVoxels by default (if not overridden in specific object), / the string starts with '.' / Generated from function MR::defaultSerializeVoxelsFormat. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_std_string *MR_defaultSerializeVoxelsFormat(void);

/ sets file extension used to serialize serialize ObjectVoxels by default (if not overridden in specific object), / the string must start from '.' / Generated from function MR::setDefaultSerializeVoxelsFormat. / Parameter newFormat can not be null. / If newFormat_end is null, then newFormat is assumed to be null-terminated.