#include <MRCMesh/MRVector3.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_DistanceVolumeParams | MR_DistanceVolumeParams |
| typedef struct MR_DistanceVolumeParams MR_DistanceVolumeParams |
Generated from class MR::DistanceVolumeParams. Derived classes: Direct: (non-virtual) MR::PointsToDistanceVolumeParams 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).
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_AssignFromAnother | ( | MR_DistanceVolumeParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_DistanceVolumeParams * | _other ) |
Generated from method MR::DistanceVolumeParams::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 held previously.
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_ConstructFrom | ( | MR_Vector3f | origin, |
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb, | ||
| MR_Vector3f | voxelSize, | ||
| MR_Vector3i | dimensions ) |
Constructs MR::DistanceVolumeParams elementwise. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter dimensions might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceVolumeParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_DistanceVolumeParams * | _other ) |
Generated from constructor MR::DistanceVolumeParams::DistanceVolumeParams. 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_DistanceVolumeParams_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceVolumeParams_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_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_DistanceVolumeParams_DestroyArray(). Use MR_DistanceVolumeParams_OffsetMutablePtr() and MR_DistanceVolumeParams_OffsetPtr() to access the array elements.
| MRC_API void MR_DistanceVolumeParams_Destroy | ( | const MR_DistanceVolumeParams * | _this | ) |
Destroys a heap-allocated instance of MR_DistanceVolumeParams. Does nothing if the pointer is null.
| MRC_API void MR_DistanceVolumeParams_DestroyArray | ( | const MR_DistanceVolumeParams * | _this | ) |
Destroys a heap-allocated array of MR_DistanceVolumeParams. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_DistanceVolumeParams_Get_cb | ( | const MR_DistanceVolumeParams * | _this | ) |
progress callback Returns a pointer to a member variable of class MR::DistanceVolumeParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_Vector3i * MR_DistanceVolumeParams_Get_dimensions | ( | const MR_DistanceVolumeParams * | _this | ) |
num voxels along each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named dimensions. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_Vector3f * MR_DistanceVolumeParams_Get_origin | ( | const MR_DistanceVolumeParams * | _this | ) |
origin point of voxels box Returns a pointer to a member variable of class MR::DistanceVolumeParams named origin. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_Vector3f * MR_DistanceVolumeParams_Get_voxelSize | ( | const MR_DistanceVolumeParams * | _this | ) |
size of voxel on each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_bool_from_float * MR_DistanceVolumeParams_GetMutable_cb | ( | MR_DistanceVolumeParams * | _this | ) |
progress callback Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3i * MR_DistanceVolumeParams_GetMutable_dimensions | ( | MR_DistanceVolumeParams * | _this | ) |
num voxels along each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named dimensions. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3f * MR_DistanceVolumeParams_GetMutable_origin | ( | MR_DistanceVolumeParams * | _this | ) |
origin point of voxels box Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named origin. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3f * MR_DistanceVolumeParams_GetMutable_voxelSize | ( | MR_DistanceVolumeParams * | _this | ) |
size of voxel on each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_DistanceVolumeParams * MR_DistanceVolumeParams_OffsetMutablePtr | ( | MR_DistanceVolumeParams * | 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_DistanceVolumeParams * MR_DistanceVolumeParams_OffsetPtr | ( | const MR_DistanceVolumeParams * | 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 void MR_DistanceVolumeParams_Set_cb | ( | MR_DistanceVolumeParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
progress callback Modifies a member variable of class MR::DistanceVolumeParams named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.
| MRC_API void MR_DistanceVolumeParams_Set_dimensions | ( | MR_DistanceVolumeParams * | _this, |
| MR_Vector3i | value ) |
num voxels along each axis Modifies a member variable of class MR::DistanceVolumeParams named dimensions. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element dimensions. When this function is called, this object will drop object references it held previously in dimensions.
| MRC_API void MR_DistanceVolumeParams_Set_origin | ( | MR_DistanceVolumeParams * | _this, |
| MR_Vector3f | value ) |
origin point of voxels box Modifies a member variable of class MR::DistanceVolumeParams named origin. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element origin. When this function is called, this object will drop object references it held previously in origin.
| MRC_API void MR_DistanceVolumeParams_Set_voxelSize | ( | MR_DistanceVolumeParams * | _this, |
| MR_Vector3f | value ) |
size of voxel on each axis Modifies a member variable of class MR::DistanceVolumeParams named voxelSize. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element voxelSize. When this function is called, this object will drop object references it held previously in voxelSize.