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

Go to the source code of this file.

Typedefs

typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
 
typedef struct MR_Box3i MR_Box3i
 
typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_FaceColors MR_FaceColors
 
typedef struct MR_FaceMap MR_FaceMap
 
typedef struct MR_FloatGrid MR_FloatGrid
 
typedef struct MR_Histogram MR_Histogram
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_MeshTexture MR_MeshTexture
 
typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
 
typedef struct MR_ModelRenderParams MR_ModelRenderParams
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
 
typedef struct MR_ObjectMeshData MR_ObjectMeshData
 
typedef struct MR_ObjectMeshHolder MR_ObjectMeshHolder
 
typedef struct MR_SimpleVolume MR_SimpleVolume
 
typedef struct MR_SimpleVolumeMinMax MR_SimpleVolumeMinMax
 
typedef struct MR_TexturePerFace MR_TexturePerFace
 
typedef struct MR_UiRenderParams MR_UiRenderParams
 
typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
 
typedef struct MR_VdbVolume MR_VdbVolume
 
typedef struct MR_Vector3f MR_Vector3f
 
typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId
 
typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_VertCoords2 MR_VertCoords2
 
typedef struct MR_VertMap MR_VertMap
 
typedef struct MR_ViewportMask MR_ViewportMask
 
typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
 
typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
 
typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
 
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_set_std_string MR_std_set_std_string
 
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_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef enum MR_ObjectVoxels_VolumeRenderingParams_ShadingType MR_ObjectVoxels_VolumeRenderingParams_ShadingType
 
typedef enum MR_ObjectVoxels_VolumeRenderingParams_LutType MR_ObjectVoxels_VolumeRenderingParams_LutType
 
typedef enum MR_ObjectVoxels_VolumeRenderingParams_AlphaType MR_ObjectVoxels_VolumeRenderingParams_AlphaType
 
typedef struct MR_ObjectVoxels_VolumeRenderingParams MR_ObjectVoxels_VolumeRenderingParams
 
typedef struct MR_ObjectVoxels MR_ObjectVoxels
 

Enumerations

enum  MR_ObjectVoxels_VolumeRenderingParams_ShadingType { MR_ObjectVoxels_VolumeRenderingParams_ShadingType_None = 0 , MR_ObjectVoxels_VolumeRenderingParams_ShadingType_ValueGradient = 1 , MR_ObjectVoxels_VolumeRenderingParams_ShadingType_AlphaGradient = 2 }
 
enum  MR_ObjectVoxels_VolumeRenderingParams_LutType { MR_ObjectVoxels_VolumeRenderingParams_LutType_GrayShades = 0 , MR_ObjectVoxels_VolumeRenderingParams_LutType_Rainbow = 1 , MR_ObjectVoxels_VolumeRenderingParams_LutType_OneColor = 2 }
 
enum  MR_ObjectVoxels_VolumeRenderingParams_AlphaType { 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_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_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_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 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 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_StaticTypeName (void)
 Generated from method MR::ObjectVoxels::StaticTypeName.
 
MRC_API const char * MR_ObjectVoxels_typeName (const MR_ObjectVoxels *_this)
 
MRC_API const char * MR_ObjectVoxels_StaticClassName (void)
 Generated from method MR::ObjectVoxels::StaticClassName.
 
MRC_API MR_std_stringMR_ObjectVoxels_className (const MR_ObjectVoxels *_this)
 
MRC_API const char * MR_ObjectVoxels_StaticClassNameInPlural (void)
 Generated from method MR::ObjectVoxels::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_ObjectVoxels_classNameInPlural (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 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_AnyVisualizeMaskEnum

◆ MR_Box3i

typedef struct MR_Box3i MR_Box3i

◆ MR_expected_bool_std_string

◆ MR_expected_std_shared_ptr_MR_Mesh_std_string

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FaceColors

typedef struct MR_FaceColors MR_FaceColors

◆ MR_FaceMap

typedef struct MR_FaceMap MR_FaceMap

◆ MR_FloatGrid

typedef struct MR_FloatGrid MR_FloatGrid

◆ MR_Histogram

typedef struct MR_Histogram MR_Histogram

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

◆ MR_MeshTexture

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_ObjectMeshData

◆ 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::ObjectChildrenHolder MR::Object MR::VisualObject Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ObjectVoxels_VolumeRenderingParams

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

◆ 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_set_std_string

◆ MR_std_shared_ptr_const_MR_Mesh

◆ 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_MR_ViewportMask

◆ MR_std_vector_std_string

◆ MR_TexturePerFace

◆ MR_UiRenderParams

◆ MR_UndirectedEdgeBitSet

◆ MR_VdbVolume

typedef struct MR_VdbVolume MR_VdbVolume

◆ MR_Vector3f

typedef struct MR_Vector3f MR_Vector3f

◆ MR_Vector_MR_MeshTexture_MR_TextureId

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

◆ MR_VertCoords2

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

◆ MR_ViewportMask

◆ MR_ViewportProperty_MR_AffineXf3f

◆ MR_ViewportProperty_MR_Color

◆ MR_ViewportProperty_unsigned_char

◆ MR_VisualObject

◆ MR_VolumeIndexer

◆ MR_VoxelBitSet

Enumeration Type Documentation

◆ MR_ObjectVoxels_VolumeRenderingParams_AlphaType

Enumerator
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_Constant 
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearIncreasing 
MR_ObjectVoxels_VolumeRenderingParams_AlphaType_LinearDecreasing 

◆ MR_ObjectVoxels_VolumeRenderingParams_LutType

Enumerator
MR_ObjectVoxels_VolumeRenderingParams_LutType_GrayShades 
MR_ObjectVoxels_VolumeRenderingParams_LutType_Rainbow 
MR_ObjectVoxels_VolumeRenderingParams_LutType_OneColor 

◆ MR_ObjectVoxels_VolumeRenderingParams_ShadingType

Enumerator
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_None 
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_ValueGradient 
MR_ObjectVoxels_VolumeRenderingParams_ShadingType_AlphaGradient 

Function Documentation

◆ MR_ObjectVoxels_applyScale()

MRC_API void MR_ObjectVoxels_applyScale ( MR_ObjectVoxels * _this,
float scaleFactor )

Generated from method MR::ObjectVoxels::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 method MR::ObjectVoxels::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_className()

MRC_API MR_std_string * MR_ObjectVoxels_className ( const MR_ObjectVoxels * _this)

Generated from method MR::ObjectVoxels::className. 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_classNameInPlural()

MRC_API MR_std_string * MR_ObjectVoxels_classNameInPlural ( const MR_ObjectVoxels * _this)

Generated from method MR::ObjectVoxels::classNameInPlural. 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_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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 constructor MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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_getCoordinateByVoxelId()

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

Generated from method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::setVoxelPointPositioner. Parameter _this can not be null. It is a single object.

◆ MR_ObjectVoxels_StaticClassName()

MRC_API const char * MR_ObjectVoxels_StaticClassName ( void )

Generated from method MR::ObjectVoxels::StaticClassName.

◆ MR_ObjectVoxels_StaticClassNameInPlural()

MRC_API const char * MR_ObjectVoxels_StaticClassNameInPlural ( void )

◆ MR_ObjectVoxels_StaticTypeName()

MRC_API const char * MR_ObjectVoxels_StaticTypeName ( void )

Generated from method MR::ObjectVoxels::StaticTypeName.

◆ 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 method MR::ObjectVoxels::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 ( const MR_ObjectVoxels * _this)

Generated from method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::setMaxSurfaceVertices. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setMaxSurfaceVertices(MR_ObjectVoxels *_this, int maxVerts);

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

/ Generated from method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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, unsigned int mask, const bool *invalidateCaches);

/ returns cached information about the number of active voxels / Generated from method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::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 method MR::ObjectVoxels::resetFrontColor. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetFrontColor(MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::mesh. / 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_std_shared_ptr_const_MR_Mesh *MR_ObjectVoxels_mesh(const MR_ObjectVoxels *_this);

/

Returns
the pair ( mesh, selected triangles ) if any triangle is selected or whole mesh otherwise / Generated from method MR::ObjectVoxels::meshPart. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_MeshPart_Destroy() to free it when you're done using it. MRC_API MR_MeshPart *MR_ObjectVoxels_meshPart(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::getSelectedFaces. / 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_FaceBitSet *MR_ObjectVoxels_getSelectedFaces(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::selectFaces. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_selectFaces(MR_ObjectVoxels *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection);

/ returns colors of selected triangles / Generated from method MR::ObjectVoxels::getSelectedFacesColor. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getSelectedFacesColor(const MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ sets colors of selected triangles / Generated from method MR::ObjectVoxels::setSelectedFacesColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setSelectedFacesColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::getSelectedEdges. / 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_UndirectedEdgeBitSet *MR_ObjectVoxels_getSelectedEdges(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::selectEdges. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_selectEdges(MR_ObjectVoxels *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection);

/ returns colors of selected edges / Generated from method MR::ObjectVoxels::getSelectedEdgesColor. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getSelectedEdgesColor(const MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ sets colors of selected edges / Generated from method MR::ObjectVoxels::setSelectedEdgesColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setSelectedEdgesColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::getSelectedEdgesColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getSelectedEdgesColorsForAllViewports(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setSelectedEdgesColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setSelectedEdgesColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ Generated from method MR::ObjectVoxels::getSelectedFacesColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getSelectedFacesColorsForAllViewports(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setSelectedFacesColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setSelectedFacesColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ Generated from method MR::ObjectVoxels::getEdgesColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getEdgesColorsForAllViewports(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setEdgesColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setEdgesColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ Generated from method MR::ObjectVoxels::getPointsColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getPointsColorsForAllViewports(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setPointsColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setPointsColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ Generated from method MR::ObjectVoxels::getBordersColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getBordersColorsForAllViewports(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setBordersColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setBordersColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ set all object solid colors (front/back/etc.) from other object for all viewports / Generated from method MR::ObjectVoxels::copyAllSolidColors. / Parameter _this can not be null. It is a single object. / Parameter other can not be null. It is a single object. MRC_API void MR_ObjectVoxels_copyAllSolidColors(MR_ObjectVoxels *_this, const MR_ObjectMeshHolder *other);

/ Edges on mesh, that will have sharp visualization even with smooth shading / Generated from method MR::ObjectVoxels::creases. / 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_UndirectedEdgeBitSet *MR_ObjectVoxels_creases(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setCreases. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setCreases(MR_ObjectVoxels *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases);

/ sets flat (true) or smooth (false) shading / Generated from method MR::ObjectVoxels::setFlatShading. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setFlatShading(MR_ObjectVoxels *_this, bool on);

/ Generated from method MR::ObjectVoxels::flatShading. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_flatShading(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::supportsVisualizeProperty. / Parameter _this can not be null. It is a single object. / Parameter type can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_supportsVisualizeProperty(const MR_ObjectVoxels *_this, const MR_AnyVisualizeMaskEnum *type);

/ get all visualize properties masks / Generated from method MR::ObjectVoxels::getAllVisualizeProperties. / 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_MR_ViewportMask_Destroy() to free it when you're done using it. MRC_API MR_std_vector_MR_ViewportMask *MR_ObjectVoxels_getAllVisualizeProperties(const MR_ObjectVoxels *_this);

/ returns mask of viewports where given property is set / Generated from method MR::ObjectVoxels::getVisualizePropertyMask. / Parameter _this can not be null. It is a single object. / Parameter type 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_ViewportMask *MR_ObjectVoxels_getVisualizePropertyMask(const MR_ObjectVoxels *_this, const MR_AnyVisualizeMaskEnum *type);

/ provides read-only access to whole ObjectMeshData / Generated from method MR::ObjectVoxels::data. / 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_ObjectMeshData *MR_ObjectVoxels_data(const MR_ObjectVoxels *_this);

/ sets whole new ObjectMeshData / Generated from method MR::ObjectVoxels::setData. / Parameter _this can not be null. It is a single object. / Parameter data can not be null. It is a single object. / In C++ this parameter takes an rvalue reference: it might invalidate the passed object, / but if your pointer is owning, you must still destroy it manually later. MRC_API void MR_ObjectVoxels_setData(MR_ObjectVoxels *_this, MR_ObjectMeshData *data);

/ swaps whole ObjectMeshData with given argument / Generated from method MR::ObjectVoxels::updateData. / Parameter _this can not be null. It is a single object. / Parameter data can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateData(MR_ObjectVoxels *_this, MR_ObjectMeshData *data);

/ returns per-vertex colors of the object / Generated from method MR::ObjectVoxels::getVertsColorMap. / 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_VertColors *MR_ObjectVoxels_getVertsColorMap(const MR_ObjectVoxels *_this);

/ sets per-vertex colors of the object / Generated from method MR::ObjectVoxels::setVertsColorMap. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setVertsColorMap(MR_ObjectVoxels *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);

/ swaps per-vertex colors of the object with given argument / Generated from method MR::ObjectVoxels::updateVertsColorMap. / Parameter _this can not be null. It is a single object. / Parameter vertsColorMap can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateVertsColorMap(MR_ObjectVoxels *_this, MR_VertColors *vertsColorMap);

/ Generated from method MR::ObjectVoxels::getFacesColorMap. / 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_FaceColors *MR_ObjectVoxels_getFacesColorMap(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setFacesColorMap. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setFacesColorMap(MR_ObjectVoxels *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap);

/ Generated from method MR::ObjectVoxels::updateFacesColorMap. / Parameter _this can not be null. It is a single object. / Parameter updated can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateFacesColorMap(MR_ObjectVoxels *_this, MR_FaceColors *updated);

/ Generated from method MR::ObjectVoxels::setEdgeWidth. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setEdgeWidth(MR_ObjectVoxels *_this, float edgeWidth);

/ Generated from method MR::ObjectVoxels::getEdgeWidth. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_getEdgeWidth(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setPointSize. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setPointSize(MR_ObjectVoxels *_this, float size);

/ Generated from method MR::ObjectVoxels::getPointSize. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_getPointSize(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::getEdgesColor. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getEdgesColor(const MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::setEdgesColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setEdgesColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::getPointsColor. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getPointsColor(const MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::setPointsColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setPointsColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::getBordersColor. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getBordersColor(const MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ Generated from method MR::ObjectVoxels::setBordersColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setBordersColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *id);

/ returns first texture in the vector. If there is no textures, returns empty texture / Generated from method MR::ObjectVoxels::getTexture. / 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_MeshTexture *MR_ObjectVoxels_getTexture(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::getTextures. / 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_Vector_MR_MeshTexture_MR_TextureId *MR_ObjectVoxels_getTextures(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setTextures. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setTextures(MR_ObjectVoxels *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture);

/ Generated from method MR::ObjectVoxels::updateTextures. / Parameter _this can not be null. It is a single object. / Parameter updated can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateTextures(MR_ObjectVoxels *_this, MR_Vector_MR_MeshTexture_MR_TextureId *updated);

/ the texture ids for the faces if more than one texture is used to texture the object / texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to / Generated from method MR::ObjectVoxels::setTexturePerFace. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setTexturePerFace(MR_ObjectVoxels *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace);

/ Generated from method MR::ObjectVoxels::updateTexturePerFace. / Parameter _this can not be null. It is a single object. / Parameter texturePerFace can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateTexturePerFace(MR_ObjectVoxels *_this, MR_TexturePerFace *texturePerFace);

/ Generated from method MR::ObjectVoxels::addTexture. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_addTexture(MR_ObjectVoxels *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture);

/ Generated from method MR::ObjectVoxels::getTexturePerFace. / 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_TexturePerFace *MR_ObjectVoxels_getTexturePerFace(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::getUVCoords. / 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_VertCoords2 *MR_ObjectVoxels_getUVCoords(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setUVCoords. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setUVCoords(MR_ObjectVoxels *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);

/ Generated from method MR::ObjectVoxels::updateUVCoords. / Parameter _this can not be null. It is a single object. / Parameter updated can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateUVCoords(MR_ObjectVoxels *_this, MR_VertCoords2 *updated);

/ copies texture, UV-coordinates and vertex colors from given source object

Parameters
srcusing given map
thisToSrc/ Generated from method MR::ObjectVoxels::copyTextureAndColors. / Parameter _this can not be null. It is a single object. / Parameter src can not be null. It is a single object. / Parameter thisToSrc can not be null. It is a single object. / Parameter thisToSrcFaces is a single object. / Parameter thisToSrcFaces has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_copyTextureAndColors(MR_ObjectVoxels *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);

/ copies vertex colors from given source object

Parameters
srcusing given map
thisToSrc/ Generated from method MR::ObjectVoxels::copyColors. / Parameter _this can not be null. It is a single object. / Parameter src can not be null. It is a single object. / Parameter thisToSrc can not be null. It is a single object. / Parameter thisToSrcFaces is a single object. / Parameter thisToSrcFaces has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_copyColors(MR_ObjectVoxels *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);

ancillary texture can be used to have custom features visualization without affecting real one / Generated from method MR::ObjectVoxels::getAncillaryTexture. / 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_MeshTexture *MR_ObjectVoxels_getAncillaryTexture(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setAncillaryTexture. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setAncillaryTexture(MR_ObjectVoxels *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture);

/ Generated from method MR::ObjectVoxels::getAncillaryUVCoords. / 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_VertCoords2 *MR_ObjectVoxels_getAncillaryUVCoords(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setAncillaryUVCoords. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setAncillaryUVCoords(MR_ObjectVoxels *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);

/ Generated from method MR::ObjectVoxels::updateAncillaryUVCoords. / Parameter _this can not be null. It is a single object. / Parameter updated can not be null. It is a single object. MRC_API void MR_ObjectVoxels_updateAncillaryUVCoords(MR_ObjectVoxels *_this, MR_VertCoords2 *updated);

/ Generated from method MR::ObjectVoxels::hasAncillaryTexture. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_hasAncillaryTexture(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::clearAncillaryTexture. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_clearAncillaryTexture(MR_ObjectVoxels *_this);

/ returns dirty flag of currently using normal type if they are dirty in render representation / Generated from method MR::ObjectVoxels::getNeededNormalsRenderDirtyValue. / Parameter _this can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API unsigned int MR_ObjectVoxels_getNeededNormalsRenderDirtyValue(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ Generated from method MR::ObjectVoxels::getRedrawFlag. / Parameter _this can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_getRedrawFlag(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ returns cached information whether the mesh is closed / Generated from method MR::ObjectVoxels::isMeshClosed. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isMeshClosed(const MR_ObjectVoxels *_this);

/ returns cached bounding box of this mesh object in world coordinates; / if you need bounding box in local coordinates please call getBoundingBox() / Generated from method MR::ObjectVoxels::getWorldBox. / Parameter _this can not be null. It is a single object. / Parameter _1 has a default argument: {}, pass a null pointer to use it. MRC_API MR_Box3f MR_ObjectVoxels_getWorldBox(const MR_ObjectVoxels *_this, const MR_ViewportId *_1);

/ returns cached information about the number of selected faces in the mesh / Generated from method MR::ObjectVoxels::numSelectedFaces. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numSelectedFaces(const MR_ObjectVoxels *_this);

/ returns cached information about the number of selected undirected edges in the mesh / Generated from method MR::ObjectVoxels::numSelectedEdges. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numSelectedEdges(const MR_ObjectVoxels *_this);

/ returns cached information about the number of crease undirected edges in the mesh / Generated from method MR::ObjectVoxels::numCreaseEdges. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numCreaseEdges(const MR_ObjectVoxels *_this);

/ returns cached summed area of mesh triangles / Generated from method MR::ObjectVoxels::totalArea. / Parameter _this can not be null. It is a single object. MRC_API double MR_ObjectVoxels_totalArea(const MR_ObjectVoxels *_this);

/ returns cached area of selected triangles / Generated from method MR::ObjectVoxels::selectedArea. / Parameter _this can not be null. It is a single object. MRC_API double MR_ObjectVoxels_selectedArea(const MR_ObjectVoxels *_this);

/ returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed / Generated from method MR::ObjectVoxels::volume. / Parameter _this can not be null. It is a single object. MRC_API double MR_ObjectVoxels_volume(const MR_ObjectVoxels *_this);

/ returns cached average edge length / Generated from method MR::ObjectVoxels::avgEdgeLen. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_avgEdgeLen(const MR_ObjectVoxels *_this);

/ returns cached information about the number of undirected edges in the mesh / Generated from method MR::ObjectVoxels::numUndirectedEdges. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numUndirectedEdges(const MR_ObjectVoxels *_this);

/ returns cached information about the number of holes in the mesh / Generated from method MR::ObjectVoxels::numHoles. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numHoles(const MR_ObjectVoxels *_this);

/ returns cached information about the number of components in the mesh / Generated from method MR::ObjectVoxels::numComponents. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numComponents(const MR_ObjectVoxels *_this);

/ returns cached information about the number of handles in the mesh / Generated from method MR::ObjectVoxels::numHandles. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_numHandles(const MR_ObjectVoxels *_this);

/ returns overriden file extension used to serialize mesh inside this object if set, or defaultSerializeMeshFormat().c_str() otherwise; never returns nullptr / Generated from method MR::ObjectVoxels::actualSerializeFormat. / Parameter _this can not be null. It is a single object. MRC_API const char *MR_ObjectVoxels_actualSerializeFormat(const MR_ObjectVoxels *_this);

/ reset all object colors to their default values from the current theme / Generated from method MR::ObjectVoxels::resetColors. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetColors(MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::getModelHash. / Parameter _this can not be null. It is a single object. MRC_API MR_uint64_t MR_ObjectVoxels_getModelHash(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::sameModels. / Parameter _this can not be null. It is a single object. / Parameter other can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_sameModels(const MR_ObjectVoxels *_this, const MR_Object *other);

/ set visual property in all viewports specified by the mask / Generated from method MR::ObjectVoxels::setVisualizeProperty. / Parameter _this can not be null. It is a single object. / Parameter type can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setVisualizeProperty(MR_ObjectVoxels *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);

/ set visual property mask / Generated from method MR::ObjectVoxels::setVisualizePropertyMask. / Parameter _this can not be null. It is a single object. / Parameter type can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setVisualizePropertyMask(MR_ObjectVoxels *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);

/ returns true if the property is set at least in one viewport specified by the mask / Generated from method MR::ObjectVoxels::getVisualizeProperty. / Parameter _this can not be null. It is a single object. / Parameter type can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_getVisualizeProperty(const MR_ObjectVoxels *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);

/ toggle visual property in all viewports specified by the mask / Generated from method MR::ObjectVoxels::toggleVisualizeProperty. / Parameter _this can not be null. It is a single object. / Parameter type can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API void MR_ObjectVoxels_toggleVisualizeProperty(MR_ObjectVoxels *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);

/ set all visualize properties masks / Generated from method MR::ObjectVoxels::setAllVisualizeProperties. / Parameter _this can not be null. It is a single object. / Parameter properties can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setAllVisualizeProperties(MR_ObjectVoxels *_this, const MR_std_vector_MR_ViewportMask *properties);

/ returns all viewports where this object or any of its parents is clipped by plane / Generated from method MR::ObjectVoxels::globalClippedByPlaneMask. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it. MRC_API MR_ViewportMask *MR_ObjectVoxels_globalClippedByPlaneMask(const MR_ObjectVoxels *_this);

/ returns true if this object or any of its parents is clipped by plane in any of given viewports / Generated from method MR::ObjectVoxels::globalClippedByPlane. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it. MRC_API bool MR_ObjectVoxels_globalClippedByPlane(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only / Generated from method MR::ObjectVoxels::setGlobalClippedByPlane. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setGlobalClippedByPlane(MR_ObjectVoxels *_this, bool on, const MR_ViewportMask *viewportMask);

/ returns color of object when it is selected/not-selected (depending on argument) in given viewport / Generated from method MR::ObjectVoxels::getFrontColor. / Parameter _this can not be null. It is a single object. / Parameter selected has a default argument: true, pass a null pointer to use it. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getFrontColor(const MR_ObjectVoxels *_this, const bool *selected, const MR_ViewportId *viewportId);

/ sets color of object when it is selected/not-selected (depending on argument) in given viewport / Generated from method MR::ObjectVoxels::setFrontColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setFrontColor(MR_ObjectVoxels *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);

/ returns color of object when it is selected/not-selected (depending on argument) in all viewports / Generated from method MR::ObjectVoxels::getFrontColorsForAllViewports. / Parameter _this can not be null. It is a single object. / Parameter selected has a default argument: true, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_ViewportProperty_MR_Color *MR_ObjectVoxels_getFrontColorsForAllViewports(const MR_ObjectVoxels *_this, const bool *selected);

/ sets color of object when it is selected/not-selected (depending on argument) in all viewports / Generated from method MR::ObjectVoxels::setFrontColorsForAllViewports. / Parameter _this can not be null. It is a single object. / Parameter selected has a default argument: true, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setFrontColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected);

/ returns backward color of object in all viewports / Generated from method MR::ObjectVoxels::getBackColorsForAllViewports. / 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_ViewportProperty_MR_Color *MR_ObjectVoxels_getBackColorsForAllViewports(const MR_ObjectVoxels *_this);

/ sets backward color of object in all viewports / Generated from method MR::ObjectVoxels::setBackColorsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setBackColorsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val);

/ returns backward color of object in given viewport / Generated from method MR::ObjectVoxels::getBackColor. / Parameter _this can not be null. It is a single object. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_Color *MR_ObjectVoxels_getBackColor(const MR_ObjectVoxels *_this, const MR_ViewportId *viewportId);

/ sets backward color of object in given viewport / Generated from method MR::ObjectVoxels::setBackColor. / Parameter _this can not be null. It is a single object. / Parameter color can not be null. It is a single object. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setBackColor(MR_ObjectVoxels *_this, const MR_Color *color, const MR_ViewportId *viewportId);

/ returns global transparency alpha of object in given viewport / Generated from method MR::ObjectVoxels::getGlobalAlpha. / Parameter _this can not be null. It is a single object. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const unsigned char *MR_ObjectVoxels_getGlobalAlpha(const MR_ObjectVoxels *_this, const MR_ViewportId *viewportId);

/ sets global transparency alpha of object in given viewport / Generated from method MR::ObjectVoxels::setGlobalAlpha. / Parameter _this can not be null. It is a single object. / Parameter viewportId has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setGlobalAlpha(MR_ObjectVoxels *_this, unsigned char alpha, const MR_ViewportId *viewportId);

/ returns global transparency alpha of object in all viewports / Generated from method MR::ObjectVoxels::getGlobalAlphaForAllViewports. / 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_ViewportProperty_unsigned_char *MR_ObjectVoxels_getGlobalAlphaForAllViewports(const MR_ObjectVoxels *_this);

/ sets global transparency alpha of object in all viewports / Generated from method MR::ObjectVoxels::setGlobalAlphaForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setGlobalAlphaForAllViewports(MR_ObjectVoxels *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val);

/ returns current dirty flags for the object / Generated from method MR::ObjectVoxels::getDirtyFlags. / Parameter _this can not be null. It is a single object. MRC_API unsigned int MR_ObjectVoxels_getDirtyFlags(const MR_ObjectVoxels *_this);

/ resets all dirty flags (except for cache flags that will be reset automatically on cache update) / Generated from method MR::ObjectVoxels::resetDirty. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetDirty(const MR_ObjectVoxels *_this);

/ reset dirty flags without some specific bits (useful for lazy normals update) / Generated from method MR::ObjectVoxels::resetDirtyExceptMask. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetDirtyExceptMask(const MR_ObjectVoxels *_this, unsigned int mask);

/ returns cached bounding box of this object in local coordinates / Generated from method MR::ObjectVoxels::getBoundingBox. / Parameter _this can not be null. It is a single object. MRC_API MR_Box3f MR_ObjectVoxels_getBoundingBox(const MR_ObjectVoxels *_this);

/ whether the object can be picked (by mouse) in any of given viewports / Generated from method MR::ObjectVoxels::isPickable. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it. MRC_API bool MR_ObjectVoxels_isPickable(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ sets the object as can/cannot be picked (by mouse) in all of given viewports / Generated from method MR::ObjectVoxels::setPickable. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setPickable(MR_ObjectVoxels *_this, bool on, const MR_ViewportMask *viewportMask);

/ returns the current coloring mode of the object / Generated from method MR::ObjectVoxels::getColoringType. / Parameter _this can not be null. It is a single object. MRC_API MR_ColoringType MR_ObjectVoxels_getColoringType(const MR_ObjectVoxels *_this);

/ sets coloring mode of the object with given argument / Generated from method MR::ObjectVoxels::setColoringType. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setColoringType(MR_ObjectVoxels *_this, MR_ColoringType coloringType);

/ returns the current shininess visual value / Generated from method MR::ObjectVoxels::getShininess. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_getShininess(const MR_ObjectVoxels *_this);

/ sets shininess visual value of the object with given argument / Generated from method MR::ObjectVoxels::setShininess. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setShininess(MR_ObjectVoxels *_this, float shininess);

/ returns intensity of reflections / Generated from method MR::ObjectVoxels::getSpecularStrength. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_getSpecularStrength(const MR_ObjectVoxels *_this);

/ sets intensity of reflections / Generated from method MR::ObjectVoxels::setSpecularStrength. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setSpecularStrength(MR_ObjectVoxels *_this, float specularStrength);

/ returns intensity of non-directional light / Generated from method MR::ObjectVoxels::getAmbientStrength. / Parameter _this can not be null. It is a single object. MRC_API float MR_ObjectVoxels_getAmbientStrength(const MR_ObjectVoxels *_this);

/ sets intensity of non-directional light / Generated from method MR::ObjectVoxels::setAmbientStrength. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setAmbientStrength(MR_ObjectVoxels *_this, float ambientStrength);

/ draws this object for visualization / Returns true if something was drawn. / Generated from method MR::ObjectVoxels::render. / 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_ObjectVoxels_render(const MR_ObjectVoxels *_this, const MR_ModelRenderParams *_1);

/ draws this object for picking / Generated from method MR::ObjectVoxels::renderForPicker. / Parameter _this can not be null. It is a single object. / Parameter _1 can not be null. It is a single object. MRC_API void MR_ObjectVoxels_renderForPicker(const MR_ObjectVoxels *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2);

/ draws this object for 2d UI / Generated from method MR::ObjectVoxels::renderUi. / 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_renderUi(const MR_ObjectVoxels *_this, const MR_UiRenderParams *params);

/ whether the scene-related properties should get their values from SceneColors and SceneSettings instances / rather than from the input data on deserialization / Generated from method MR::ObjectVoxels::useDefaultScenePropertiesOnDeserialization. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_useDefaultScenePropertiesOnDeserialization(const MR_ObjectVoxels *_this);

/ set whether the scene-related properties should get their values from SceneColors and SceneSettings instances / rather than from the input data on deserialization / Generated from method MR::ObjectVoxels::setUseDefaultScenePropertiesOnDeserialization. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectVoxels *_this, bool useDefaultScenePropertiesOnDeserialization);

/ Generated from method MR::ObjectVoxels::name. / 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_std_string *MR_ObjectVoxels_name(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setName. / Parameter _this can not be null. It is a single object. / Parameter name can not be null. / If name_end is null, then name is assumed to be null-terminated. MRC_API void MR_ObjectVoxels_setName(MR_ObjectVoxels *_this, const char *name, const char *name_end);

/ this space to parent space transformation (to world space if no parent) for default or given viewport /

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) / Generated from method MR::ObjectVoxels::xf. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / Parameter isDef defaults to a null pointer in C++. / The returned pointer will never be null. It is non-owning, do NOT destroy it. MRC_API const MR_AffineXf3f *MR_ObjectVoxels_xf(const MR_ObjectVoxels *_this, const MR_ViewportId *id, bool *isDef);

/ Generated from method MR::ObjectVoxels::setXf. / Parameter _this can not be null. It is a single object. / Parameter xf can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setXf(MR_ObjectVoxels *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);

/ forgets specific transform in given viewport (or forgets all specific transforms for {} input) / Generated from method MR::ObjectVoxels::resetXf. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_resetXf(MR_ObjectVoxels *_this, const MR_ViewportId *id);

/ returns xfs for all viewports, combined into a single object / Generated from method MR::ObjectVoxels::xfsForAllViewports. / 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_ViewportProperty_MR_AffineXf3f *MR_ObjectVoxels_xfsForAllViewports(const MR_ObjectVoxels *_this);

/ modifies xfs for all viewports at once / Generated from method MR::ObjectVoxels::setXfsForAllViewports. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setXfsForAllViewports(MR_ObjectVoxels *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf);

/ this space to world space transformation for default or specific viewport /

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) / Generated from method MR::ObjectVoxels::worldXf. / Parameter _this can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. / Parameter isDef defaults to a null pointer in C++. MRC_API MR_AffineXf3f MR_ObjectVoxels_worldXf(const MR_ObjectVoxels *_this, const MR_ViewportId *id, bool *isDef);

/ Generated from method MR::ObjectVoxels::setWorldXf. / Parameter _this can not be null. It is a single object. / Parameter xf can not be null. It is a single object. / Parameter id has a default argument: {}, pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setWorldXf(MR_ObjectVoxels *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);

/ returns all viewports where this object is visible together with all its parents / Generated from method MR::ObjectVoxels::globalVisibilityMask. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it. MRC_API MR_ViewportMask *MR_ObjectVoxels_globalVisibilityMask(const MR_ObjectVoxels *_this);

/ returns true if this object is visible together with all its parents in any of given viewports / Generated from method MR::ObjectVoxels::globalVisibility. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it. MRC_API bool MR_ObjectVoxels_globalVisibility(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ if true sets all predecessors visible, otherwise sets this object invisible / Generated from method MR::ObjectVoxels::setGlobalVisibility. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setGlobalVisibility(MR_ObjectVoxels *_this, bool on, const MR_ViewportMask *viewportMask);

/ object properties lock for UI / Generated from method MR::ObjectVoxels::isLocked. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isLocked(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setLocked. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setLocked(MR_ObjectVoxels *_this, bool on);

/ If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. / Defaults to false. / Generated from method MR::ObjectVoxels::isParentLocked. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isParentLocked(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::setParentLocked. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setParentLocked(MR_ObjectVoxels *_this, bool lock);

/ return true if given object is ancestor of this one, false otherwise / Generated from method MR::ObjectVoxels::isAncestor. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isAncestor(const MR_ObjectVoxels *_this, const MR_Object *ancestor);

/ removes this from its parent children list / returns false if it was already orphan / Generated from method MR::ObjectVoxels::detachFromParent. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_detachFromParent(MR_ObjectVoxels *_this);

/ adds given object at the end of children (recognized or not); / returns false if it was already child of this, of if given pointer is empty; / child object will always report this as parent after the call; /

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr / Generated from method MR::ObjectVoxels::addChild. / Parameter _this can not be null. It is a single object. / Parameter recognizedChild has a default argument: true, pass a null pointer to use it. MRC_API bool MR_ObjectVoxels_addChild(MR_ObjectVoxels *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);

/ adds given object in the recognized children before existingChild; / if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; / returns false if newChild is nullptr, or existingChild is not a child of this / Generated from method MR::ObjectVoxels::addChildBefore. / Parameter _this can not be null. It is a single object. / Parameter existingChild can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_addChildBefore(MR_ObjectVoxels *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild);

/ detaches all recognized children from this, keeping all unrecognized ones / Generated from method MR::ObjectVoxels::removeAllChildren. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_removeAllChildren(MR_ObjectVoxels *_this);

/ sort recognized children by name / Generated from method MR::ObjectVoxels::sortChildren. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_sortChildren(MR_ObjectVoxels *_this);

/ selects the object, returns true if value changed, otherwise returns false / Generated from method MR::ObjectVoxels::select. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_select(MR_ObjectVoxels *_this, bool on);

/ Generated from method MR::ObjectVoxels::isSelected. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isSelected(const MR_ObjectVoxels *_this);

/ ancillary object is an object hidden (in scene menu) from a regular user / such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary / Generated from method MR::ObjectVoxels::setAncillary. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setAncillary(MR_ObjectVoxels *_this, bool ancillary);

/ Generated from method MR::ObjectVoxels::isAncillary. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isAncillary(const MR_ObjectVoxels *_this);

/ returns true if the object or any of its ancestors are ancillary / Generated from method MR::ObjectVoxels::isGlobalAncillary. / Parameter _this can not be null. It is a single object. MRC_API bool MR_ObjectVoxels_isGlobalAncillary(const MR_ObjectVoxels *_this);

/ sets the object visible in the viewports specified by the mask (by default in all viewports) / Generated from method MR::ObjectVoxels::setVisible. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it. MRC_API void MR_ObjectVoxels_setVisible(MR_ObjectVoxels *_this, bool on, const MR_ViewportMask *viewportMask);

/ checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) / Generated from method MR::ObjectVoxels::isVisible. / Parameter _this can not be null. It is a single object. / Parameter viewportMask is a single object. / Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it. MRC_API bool MR_ObjectVoxels_isVisible(const MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ specifies object visibility as bitmask of viewports / Generated from method MR::ObjectVoxels::setVisibilityMask. / Parameter _this can not be null. It is a single object. / Parameter viewportMask can not be null. It is a single object. MRC_API void MR_ObjectVoxels_setVisibilityMask(MR_ObjectVoxels *_this, const MR_ViewportMask *viewportMask);

/ gets object visibility as bitmask of viewports / Generated from method MR::ObjectVoxels::visibilityMask. / Parameter _this can not be null. It is a single object. / Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it. MRC_API MR_ViewportMask *MR_ObjectVoxels_visibilityMask(const MR_ObjectVoxels *_this);

/ Generated from method MR::ObjectVoxels::resetRedrawFlag. / Parameter _this can not be null. It is a single object. MRC_API void MR_ObjectVoxels_resetRedrawFlag(const MR_ObjectVoxels *_this);

/ clones all tree of this object (except ancillary and unrecognized children) / Generated from method MR::ObjectVoxels::cloneTree. / 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_cloneTree(const MR_ObjectVoxels *_this);

/ clones all tree of this object (except ancillary and unrecognied children) / clones only pointers to mesh, points or voxels / Generated from method MR::ObjectVoxels::shallowCloneTree. / 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_shallowCloneTree(const MR_ObjectVoxels *_this);

/ swaps this object with other / note: do not swap object signals, so listeners will get notifications from swapped object / requires implementation of swapBase_ and swapSignals_ (if type has signals) / Generated from method MR::ObjectVoxels::swap. / Parameter _this can not be null. It is a single object. / Parameter other can not be null. It is a single object. MRC_API void MR_ObjectVoxels_swap(MR_ObjectVoxels *_this, MR_Object *other);

/empty box / returns bounding box of this object and all children visible in given (or default) viewport in world coordinates / Generated from method MR::ObjectVoxels::getWorldTreeBox. / Parameter _this can not be null. It is a single object. / Parameter _1 has a default argument: {}, pass a null pointer to use it. MRC_API MR_Box3f MR_ObjectVoxels_getWorldTreeBox(const MR_ObjectVoxels *_this, const MR_ViewportId *_1);

/ provides read-only access to the tag storage / the storage is a set of unique strings / Generated from method MR::ObjectVoxels::tags. / 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_std_set_std_string *MR_ObjectVoxels_tags(const MR_ObjectVoxels *_this);

/ adds tag to the object's tag storage / additionally calls ObjectTagManager::tagAddedSignal / NOTE: tags starting with a dot are considered as service ones and might be hidden from UI / Generated from method MR::ObjectVoxels::addTag. / Parameter _this can not be null. It is a single object. / Parameter tag can not be null. / If tag_end is null, then tag is assumed to be null-terminated. MRC_API bool MR_ObjectVoxels_addTag(MR_ObjectVoxels *_this, const char *tag, const char *tag_end);

/ removes tag from the object's tag storage / additionally calls ObjectTagManager::tagRemovedSignal / Generated from method MR::ObjectVoxels::removeTag. / Parameter _this can not be null. It is a single object. / Parameter tag can not be null. / If tag_end is null, then tag is assumed to be null-terminated. MRC_API bool MR_ObjectVoxels_removeTag(MR_ObjectVoxels *_this, const char *tag, const char *tag_end);

returns this Object as shared_ptr finds it among its parent's recognized children / Generated from method MR::ObjectVoxels::getSharedPtr. / 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_getSharedPtr(const 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 unsigned char *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, unsigned char 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 unsigned char *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, unsigned char 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 constructor MR::ObjectVoxels::VolumeRenderingParams::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 method MR::ObjectVoxels::VolumeRenderingParams::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 method MR::ObjectVoxels::VolumeRenderingParams::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.