#include <MRCMesh/MRVector3.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_FunctionVolume | MR_FunctionVolume |
| typedef struct MR_SimpleVolume | MR_SimpleVolume |
| typedef struct MR_VdbVolume | MR_VdbVolume |
| typedef struct MR_Vector3i | MR_Vector3i |
| typedef struct MR_VoxelLocation | MR_VoxelLocation |
| typedef struct MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax | MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax |
| typedef struct MR_VoxelsVolumeAccessor_MR_SimpleVolume | MR_VoxelsVolumeAccessor_MR_SimpleVolume |
| typedef struct MR_VoxelsVolumeAccessor_MR_FunctionVolume | MR_VoxelsVolumeAccessor_MR_FunctionVolume |
| typedef struct MR_VoxelsVolumeAccessor_MR_VdbVolume | MR_VoxelsVolumeAccessor_MR_VdbVolume |
| typedef struct MR_FunctionVolume MR_FunctionVolume |
| typedef struct MR_SimpleVolume MR_SimpleVolume |
| typedef struct MR_VdbVolume MR_VdbVolume |
| typedef struct MR_Vector3i MR_Vector3i |
| typedef struct MR_VoxelLocation MR_VoxelLocation |
VoxelsVolumeAccessor specialization for value getters Generated from class MR::VoxelsVolumeAccessor<MR::FunctionVolume>. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
VoxelsVolumeAccessor specialization for simple volumes Generated from class MR::VoxelsVolumeAccessor<MR::SimpleVolume>. Derived classes: Direct: (non-virtual) MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax> Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax |
VoxelsVolumeAccessor specialization for simple volumes with min/max Generated from class MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>. Base classes: Direct: (non-virtual) MR::VoxelsVolumeAccessor<MR::SimpleVolume> Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
VoxelsVolumeAccessor specialization for VDB volume Generated from class MR::VoxelsVolumeAccessor<MR::VdbVolume>. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee). caching results of this accessor does not make any sense since it returns values from a simple container Returns a pointer to a member variable of class MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax> named cacheEffective. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_VoxelsVolumeAccessor_MR_FunctionVolume * MR_VoxelsVolumeAccessor_MR_FunctionVolume_Construct | ( | const MR_FunctionVolume * | volume | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::FunctionVolume>::VoxelsVolumeAccessor. Parameter volume can not be null. It is a single object. The reference to the parameter volume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_FunctionVolume_Destroy() to free it when you're done using it.
| MRC_API MR_VoxelsVolumeAccessor_MR_FunctionVolume * MR_VoxelsVolumeAccessor_MR_FunctionVolume_ConstructFromAnother | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _other | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::FunctionVolume>::VoxelsVolumeAccessor. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_FunctionVolume_Destroy() to free it when you're done using it.
| MRC_API void MR_VoxelsVolumeAccessor_MR_FunctionVolume_Destroy | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _this | ) |
Destroys a heap-allocated instance of MR_VoxelsVolumeAccessor_MR_FunctionVolume. Does nothing if the pointer is null.
| MRC_API void MR_VoxelsVolumeAccessor_MR_FunctionVolume_DestroyArray | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _this | ) |
Destroys a heap-allocated array of MR_VoxelsVolumeAccessor_MR_FunctionVolume. Does nothing if the pointer is null.
| MRC_API const bool * MR_VoxelsVolumeAccessor_MR_FunctionVolume_Get_cacheEffective | ( | void | ) |
| MRC_API float MR_VoxelsVolumeAccessor_MR_FunctionVolume_get_MR_Vector3i | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _this, |
| const MR_Vector3i * | pos ) |
Generated from method MR::VoxelsVolumeAccessor<MR::FunctionVolume>::get. Parameter _this can not be null. It is a single object. Parameter pos can not be null. It is a single object.
| MRC_API float MR_VoxelsVolumeAccessor_MR_FunctionVolume_get_MR_VoxelLocation | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _this, |
| const MR_VoxelLocation * | loc ) |
Generated from method MR::VoxelsVolumeAccessor<MR::FunctionVolume>::get. Parameter _this can not be null. It is a single object. Parameter loc can not be null. It is a single object.
| MRC_API MR_VoxelsVolumeAccessor_MR_FunctionVolume * MR_VoxelsVolumeAccessor_MR_FunctionVolume_OffsetMutablePtr | ( | MR_VoxelsVolumeAccessor_MR_FunctionVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_VoxelsVolumeAccessor_MR_FunctionVolume * MR_VoxelsVolumeAccessor_MR_FunctionVolume_OffsetPtr | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_Vector3f MR_VoxelsVolumeAccessor_MR_FunctionVolume_shift | ( | const MR_VoxelsVolumeAccessor_MR_FunctionVolume * | _this | ) |
this additional shift shall be added to integer voxel coordinates during transformation in 3D space Generated from method MR::VoxelsVolumeAccessor<MR::FunctionVolume>::shift. Parameter _this can not be null. It is a single object. caching results of this accessor can improve performance Returns a pointer to a member variable of class MR::VoxelsVolumeAccessor<MR::VdbVolume> named cacheEffective. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolume_Construct | ( | const MR_SimpleVolume * | volume | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::SimpleVolume>::VoxelsVolumeAccessor. Parameter volume can not be null. It is a single object. The reference to the parameter volume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_SimpleVolume_Destroy() to free it when you're done using it.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolume_ConstructFromAnother | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _other | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::SimpleVolume>::VoxelsVolumeAccessor. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_SimpleVolume_Destroy() to free it when you're done using it.
| MRC_API void MR_VoxelsVolumeAccessor_MR_SimpleVolume_Destroy | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _this | ) |
Destroys a heap-allocated instance of MR_VoxelsVolumeAccessor_MR_SimpleVolume. Does nothing if the pointer is null.
| MRC_API void MR_VoxelsVolumeAccessor_MR_SimpleVolume_DestroyArray | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _this | ) |
Destroys a heap-allocated array of MR_VoxelsVolumeAccessor_MR_SimpleVolume. Does nothing if the pointer is null.
| MRC_API const bool * MR_VoxelsVolumeAccessor_MR_SimpleVolume_Get_cacheEffective | ( | void | ) |
| MRC_API float MR_VoxelsVolumeAccessor_MR_SimpleVolume_get_MR_Vector3i | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _this, |
| const MR_Vector3i * | pos ) |
Generated from method MR::VoxelsVolumeAccessor<MR::SimpleVolume>::get. Parameter _this can not be null. It is a single object. Parameter pos can not be null. It is a single object.
| MRC_API float MR_VoxelsVolumeAccessor_MR_SimpleVolume_get_MR_VoxelLocation | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _this, |
| const MR_VoxelLocation * | loc ) |
Generated from method MR::VoxelsVolumeAccessor<MR::SimpleVolume>::get. Parameter _this can not be null. It is a single object. Parameter loc can not be null. It is a single object.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolume_MutableStaticDowncastTo_MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax | ( | MR_VoxelsVolumeAccessor_MR_SimpleVolume * | object | ) |
Downcasts an instance of MR::VoxelsVolumeAccessor<MR::SimpleVolume> to a derived class MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolume_OffsetMutablePtr | ( | MR_VoxelsVolumeAccessor_MR_SimpleVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolume_OffsetPtr | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_Vector3f MR_VoxelsVolumeAccessor_MR_SimpleVolume_shift | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | _this | ) |
this additional shift shall be added to integer voxel coordinates during transformation in 3D space Generated from method MR::VoxelsVolumeAccessor<MR::SimpleVolume>::shift. Parameter _this can not be null. It is a single object. caching results of this accessor can improve performance Returns a pointer to a member variable of class MR::VoxelsVolumeAccessor<MR::FunctionVolume> named cacheEffective. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolume_StaticDowncastTo_MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolume * | object | ) |
Downcasts an instance of MR::VoxelsVolumeAccessor<MR::SimpleVolume> to a derived class MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_Construct | ( | const MR_SimpleVolume * | volume | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>::VoxelsVolumeAccessor. Parameter volume can not be null. It is a single object. The reference to the parameter volume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_Destroy() to free it when you're done using it.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_ConstructFromAnother | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | _other | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>::VoxelsVolumeAccessor. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_Destroy() to free it when you're done using it.
| MRC_API void MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_Destroy | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | _this | ) |
Destroys a heap-allocated instance of MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax. Does nothing if the pointer is null.
| MRC_API void MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_DestroyArray | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | _this | ) |
Destroys a heap-allocated array of MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax. Does nothing if the pointer is null.
| MRC_API const bool * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_Get_cacheEffective | ( | void | ) |
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_MutableUpcastTo_MR_VoxelsVolumeAccessor_MR_SimpleVolume | ( | MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | object | ) |
Upcasts an instance of MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax> to its base class MR::VoxelsVolumeAccessor<MR::SimpleVolume>. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_OffsetMutablePtr | ( | MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_OffsetPtr | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_Vector3f MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_shift | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | _this | ) |
this additional shift shall be added to integer voxel coordinates during transformation in 3D space Generated from method MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax>::shift. Parameter _this can not be null. It is a single object. caching results of this accessor does not make any sense since it returns values from a simple container Returns a pointer to a member variable of class MR::VoxelsVolumeAccessor<MR::SimpleVolume> named cacheEffective. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VoxelsVolumeAccessor_MR_SimpleVolume * MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax_UpcastTo_MR_VoxelsVolumeAccessor_MR_SimpleVolume | ( | const MR_VoxelsVolumeAccessor_MR_SimpleVolumeMinMax * | object | ) |
Upcasts an instance of MR::VoxelsVolumeAccessor<MR::SimpleVolumeMinMax> to its base class MR::VoxelsVolumeAccessor<MR::SimpleVolume>. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VoxelsVolumeAccessor_MR_VdbVolume * MR_VoxelsVolumeAccessor_MR_VdbVolume_AssignFromAnother | ( | MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_VoxelsVolumeAccessor_MR_VdbVolume * | _other ) |
Generated from method MR::VoxelsVolumeAccessor<MR::VdbVolume>::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_VoxelsVolumeAccessor_MR_VdbVolume * MR_VoxelsVolumeAccessor_MR_VdbVolume_Construct | ( | const MR_VdbVolume * | volume | ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::VdbVolume>::VoxelsVolumeAccessor. Parameter volume can not be null. It is a single object. The reference to the parameter volume might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_VdbVolume_Destroy() to free it when you're done using it.
| MRC_API MR_VoxelsVolumeAccessor_MR_VdbVolume * MR_VoxelsVolumeAccessor_MR_VdbVolume_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_VoxelsVolumeAccessor_MR_VdbVolume * | _other ) |
Generated from constructor MR::VoxelsVolumeAccessor<MR::VdbVolume>::VoxelsVolumeAccessor. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VoxelsVolumeAccessor_MR_VdbVolume_Destroy() to free it when you're done using it.
| MRC_API void MR_VoxelsVolumeAccessor_MR_VdbVolume_Destroy | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this | ) |
Destroys a heap-allocated instance of MR_VoxelsVolumeAccessor_MR_VdbVolume. Does nothing if the pointer is null.
| MRC_API void MR_VoxelsVolumeAccessor_MR_VdbVolume_DestroyArray | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this | ) |
Destroys a heap-allocated array of MR_VoxelsVolumeAccessor_MR_VdbVolume. Does nothing if the pointer is null.
| MRC_API const bool * MR_VoxelsVolumeAccessor_MR_VdbVolume_Get_cacheEffective | ( | void | ) |
| MRC_API float MR_VoxelsVolumeAccessor_MR_VdbVolume_get_MR_Vector3i | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this, |
| const MR_Vector3i * | pos ) |
Generated from method MR::VoxelsVolumeAccessor<MR::VdbVolume>::get. Parameter _this can not be null. It is a single object. Parameter pos can not be null. It is a single object.
| MRC_API float MR_VoxelsVolumeAccessor_MR_VdbVolume_get_MR_VoxelLocation | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this, |
| const MR_VoxelLocation * | loc ) |
Generated from method MR::VoxelsVolumeAccessor<MR::VdbVolume>::get. Parameter _this can not be null. It is a single object. Parameter loc can not be null. It is a single object.
| MRC_API const MR_Vector3i * MR_VoxelsVolumeAccessor_MR_VdbVolume_minCoord | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this | ) |
Generated from method MR::VoxelsVolumeAccessor<MR::VdbVolume>::minCoord. 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_VoxelsVolumeAccessor_MR_VdbVolume * MR_VoxelsVolumeAccessor_MR_VdbVolume_OffsetMutablePtr | ( | MR_VoxelsVolumeAccessor_MR_VdbVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_VoxelsVolumeAccessor_MR_VdbVolume * MR_VoxelsVolumeAccessor_MR_VdbVolume_OffsetPtr | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_Vector3f MR_VoxelsVolumeAccessor_MR_VdbVolume_shift | ( | const MR_VoxelsVolumeAccessor_MR_VdbVolume * | _this | ) |
this additional shift shall be added to integer voxel coordinates during transformation in 3D space Generated from method MR::VoxelsVolumeAccessor<MR::VdbVolume>::shift. Parameter _this can not be null. It is a single object.