#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRVector2.h>#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_Box2f | MR_Box2f |
| typedef struct MR_Matrix3f | MR_Matrix3f |
| typedef struct MR_MeshPart | MR_MeshPart |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_std_vector_std_vector_MR_Vector2f | MR_std_vector_std_vector_MR_Vector2f |
| typedef struct MR_MeshToDistanceMapParams | MR_MeshToDistanceMapParams |
| typedef struct MR_ContourToDistanceMapParams | MR_ContourToDistanceMapParams |
| typedef struct MR_DistanceMapToWorld | MR_DistanceMapToWorld |
| typedef struct MR_DistanceMapLoadSettings | MR_DistanceMapLoadSettings |
| typedef struct MR_DistanceMapSaveSettings | MR_DistanceMapSaveSettings |
| typedef struct MR_Box2f MR_Box2f |
| typedef struct MR_ContourToDistanceMapParams MR_ContourToDistanceMapParams |
Structure with parameters to generate DistanceMap by Contours Generated from class MR::ContourToDistanceMapParams. 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).
| typedef struct MR_DistanceMapLoadSettings MR_DistanceMapLoadSettings |
settings for loading distance maps from external formats Generated from class MR::DistanceMapLoadSettings. 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).
| typedef struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings |
determines how to save distance maps Generated from class MR::DistanceMapSaveSettings. 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). Cartesian range vector between distance map borders in X direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named xRange. 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.
| typedef struct MR_DistanceMapToWorld MR_DistanceMapToWorld |
This structure store data to transform distance map to world coordinates Generated from class MR::DistanceMapToWorld. 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).
| typedef struct MR_Matrix3f MR_Matrix3f |
| typedef struct MR_MeshPart MR_MeshPart |
| typedef struct MR_MeshToDistanceMapParams MR_MeshToDistanceMapParams |
Generated from class MR::MeshToDistanceMapParams. 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).
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_AssignFromAnother | ( | MR_ContourToDistanceMapParams * | _this, |
| const MR_ContourToDistanceMapParams * | _other ) |
Generated from method MR::ContourToDistanceMapParams::operator=. Parameter _this can not be null. It is a single object. 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 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_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_Construct_1 | ( | const MR_DistanceMapToWorld * | toWorld | ) |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. Parameter toWorld can not be null. It is a single object. The reference to the parameter toWorld might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_Construct_3 | ( | const MR_Vector2i * | resolution, |
| const MR_Box2f * | box, | ||
| const bool * | withSign ) |
Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter box can not be null. It is a single object. The reference to the parameter box might be preserved in the constructed object. Parameter withSign has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_MR_Vector2f | ( | const MR_Vector2i * | resolution, |
| const MR_Vector2f * | oriPoint, | ||
| const MR_Vector2f * | areaSize, | ||
| const bool * | withSign ) |
Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter oriPoint can not be null. It is a single object. The reference to the parameter oriPoint might be preserved in the constructed object. Parameter areaSize can not be null. It is a single object. The reference to the parameter areaSize might be preserved in the constructed object. Parameter withSign has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_std_vector_std_vector_MR_Vector2f | ( | const MR_Vector2i * | resolution, |
| const MR_std_vector_std_vector_MR_Vector2f * | contours, | ||
| float | offset, | ||
| const bool * | withSign ) |
Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter contours can not be null. It is a single object. The reference to the parameter contours might be preserved in the constructed object. Parameter withSign has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_Construct_4_float | ( | float | pixelSize, |
| const MR_std_vector_std_vector_MR_Vector2f * | contours, | ||
| float | offset, | ||
| const bool * | withSign ) |
Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. Parameter contours can not be null. It is a single object. The reference to the parameter contours might be preserved in the constructed object. Parameter withSign has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_ConstructFromAnother | ( | const MR_ContourToDistanceMapParams * | _other | ) |
Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. 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_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_AffineXf3f MR_ContourToDistanceMapParams_ConvertTo_MR_AffineXf3f | ( | const MR_ContourToDistanceMapParams * | _this | ) |
converts in transformation Generated from conversion operator MR::ContourToDistanceMapParams::operator MR::AffineXf3f. Parameter _this can not be null. It is a single object.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ContourToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_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_ContourToDistanceMapParams_DestroyArray(). Use MR_ContourToDistanceMapParams_OffsetMutablePtr() and MR_ContourToDistanceMapParams_OffsetPtr() to access the array elements.
| MRC_API void MR_ContourToDistanceMapParams_Destroy | ( | const MR_ContourToDistanceMapParams * | _this | ) |
Destroys a heap-allocated instance of MR_ContourToDistanceMapParams. Does nothing if the pointer is null.
| MRC_API void MR_ContourToDistanceMapParams_DestroyArray | ( | const MR_ContourToDistanceMapParams * | _this | ) |
Destroys a heap-allocated array of MR_ContourToDistanceMapParams. Does nothing if the pointer is null.
| MRC_API const MR_Vector2f * MR_ContourToDistanceMapParams_Get_orgPoint | ( | const MR_ContourToDistanceMapParams * | _this | ) |
coordinates of origin area corner Modifies a member variable of class MR::ContourToDistanceMapParams named orgPoint. 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 orgPoint. When this function is called, this object will drop object references it had previously in orgPoint.
| MRC_API const MR_Vector2f * MR_ContourToDistanceMapParams_Get_pixelSize | ( | const MR_ContourToDistanceMapParams * | _this | ) |
pixel size Modifies a member variable of class MR::ContourToDistanceMapParams named pixelSize. 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 pixelSize. When this function is called, this object will drop object references it had previously in pixelSize.
| MRC_API const MR_Vector2i * MR_ContourToDistanceMapParams_Get_resolution | ( | const MR_ContourToDistanceMapParams * | _this | ) |
distance map size Modifies a member variable of class MR::ContourToDistanceMapParams named resolution. 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 resolution. When this function is called, this object will drop object references it had previously in resolution.
| MRC_API const bool * MR_ContourToDistanceMapParams_Get_withSign | ( | const MR_ContourToDistanceMapParams * | _this | ) |
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Modifies a member variable of class MR::ContourToDistanceMapParams named withSign. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in withSign.
| MRC_API MR_Vector2f * MR_ContourToDistanceMapParams_GetMutable_orgPoint | ( | MR_ContourToDistanceMapParams * | _this | ) |
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named withSign. 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_Vector2f * MR_ContourToDistanceMapParams_GetMutable_pixelSize | ( | MR_ContourToDistanceMapParams * | _this | ) |
distance map size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named resolution. 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_Vector2i * MR_ContourToDistanceMapParams_GetMutable_resolution | ( | MR_ContourToDistanceMapParams * | _this | ) |
coordinates of origin area corner Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint. 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 bool * MR_ContourToDistanceMapParams_GetMutable_withSign | ( | MR_ContourToDistanceMapParams * | _this | ) |
| MRC_API MR_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_OffsetMutablePtr | ( | MR_ContourToDistanceMapParams * | 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_ContourToDistanceMapParams * MR_ContourToDistanceMapParams_OffsetPtr | ( | const MR_ContourToDistanceMapParams * | 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_ContourToDistanceMapParams_Set_orgPoint | ( | MR_ContourToDistanceMapParams * | _this, |
| MR_Vector2f | value ) |
coordinates of origin area corner Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint. 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 void MR_ContourToDistanceMapParams_Set_pixelSize | ( | MR_ContourToDistanceMapParams * | _this, |
| MR_Vector2f | value ) |
pixel size Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize. 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 void MR_ContourToDistanceMapParams_Set_resolution | ( | MR_ContourToDistanceMapParams * | _this, |
| MR_Vector2i | value ) |
distance map size Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named resolution. 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 void MR_ContourToDistanceMapParams_Set_withSign | ( | MR_ContourToDistanceMapParams * | _this, |
| bool | value ) |
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Returns a mutable pointer to a member variable of class MR::ContourToDistanceMapParams named withSign. 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_Vector2f MR_ContourToDistanceMapParams_toWorld | ( | const MR_ContourToDistanceMapParams * | _this, |
| MR_Vector2f | point ) |
get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR::ContourToDistanceMapParams::toWorld. Parameter _this can not be null. It is a single object.
| MRC_API MR_AffineXf3f MR_ContourToDistanceMapParams_xf | ( | const MR_ContourToDistanceMapParams * | _this | ) |
Generated from method MR::ContourToDistanceMapParams::xf. Parameter _this can not be null. It is a single object.
| MRC_API MR_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_AssignFromAnother | ( | MR_DistanceMapLoadSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_DistanceMapLoadSettings * | _other ) |
Generated from method MR::DistanceMapLoadSettings::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_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_ConstructFrom | ( | MR_DistanceMapToWorld * | distanceMapToWorld, |
| MR_PassBy | progress_pass_by, | ||
| MR_std_function_bool_from_float * | progress ) |
Constructs MR::DistanceMapLoadSettings elementwise. The reference to the parameter distanceMapToWorld might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapLoadSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_DistanceMapLoadSettings * | _other ) |
Generated from constructor MR::DistanceMapLoadSettings::DistanceMapLoadSettings. 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_DistanceMapLoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapLoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_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_DistanceMapLoadSettings_DestroyArray(). Use MR_DistanceMapLoadSettings_OffsetMutablePtr() and MR_DistanceMapLoadSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_DistanceMapLoadSettings_Destroy | ( | const MR_DistanceMapLoadSettings * | _this | ) |
Destroys a heap-allocated instance of MR_DistanceMapLoadSettings. Does nothing if the pointer is null.
| MRC_API void MR_DistanceMapLoadSettings_DestroyArray | ( | const MR_DistanceMapLoadSettings * | _this | ) |
Destroys a heap-allocated array of MR_DistanceMapLoadSettings. Does nothing if the pointer is null.
| MRC_API MR_DistanceMapToWorld *const * MR_DistanceMapLoadSettings_Get_distanceMapToWorld | ( | const MR_DistanceMapLoadSettings * | _this | ) |
optional output: distance map to world transform Returns a pointer to a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld. 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_function_bool_from_float * MR_DistanceMapLoadSettings_Get_progress | ( | const MR_DistanceMapLoadSettings * | _this | ) |
to report load progress and cancel loading if user desires Returns a pointer to a member variable of class MR::DistanceMapLoadSettings named progress. 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_DistanceMapToWorld ** MR_DistanceMapLoadSettings_GetMutable_distanceMapToWorld | ( | MR_DistanceMapLoadSettings * | _this | ) |
optional output: distance map to world transform Returns a mutable pointer to a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld. 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_std_function_bool_from_float * MR_DistanceMapLoadSettings_GetMutable_progress | ( | MR_DistanceMapLoadSettings * | _this | ) |
to report load progress and cancel loading if user desires Returns a mutable pointer to a member variable of class MR::DistanceMapLoadSettings named progress. 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_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_OffsetMutablePtr | ( | MR_DistanceMapLoadSettings * | 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_DistanceMapLoadSettings * MR_DistanceMapLoadSettings_OffsetPtr | ( | const MR_DistanceMapLoadSettings * | 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_DistanceMapLoadSettings_Set_distanceMapToWorld | ( | MR_DistanceMapLoadSettings * | _this, |
| MR_DistanceMapToWorld * | value ) |
optional output: distance map to world transform Modifies a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld. 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 distanceMapToWorld. When this function is called, this object will drop object references it had previously in distanceMapToWorld.
| MRC_API void MR_DistanceMapLoadSettings_Set_progress | ( | MR_DistanceMapLoadSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
to report load progress and cancel loading if user desires Modifies a member variable of class MR::DistanceMapLoadSettings named progress. 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 progress. When this function is called, this object will drop object references it had previously in progress.
| MRC_API MR_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_AssignFromAnother | ( | MR_DistanceMapSaveSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_DistanceMapSaveSettings * | _other ) |
Generated from method MR::DistanceMapSaveSettings::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_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_ConstructFrom | ( | const MR_AffineXf3f * | xf, |
| MR_PassBy | progress_pass_by, | ||
| MR_std_function_bool_from_float * | progress ) |
Constructs MR::DistanceMapSaveSettings elementwise. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapSaveSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_DistanceMapSaveSettings * | _other ) |
Generated from constructor MR::DistanceMapSaveSettings::DistanceMapSaveSettings. 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_DistanceMapSaveSettings_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapSaveSettings_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_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_DistanceMapSaveSettings_DestroyArray(). Use MR_DistanceMapSaveSettings_OffsetMutablePtr() and MR_DistanceMapSaveSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_DistanceMapSaveSettings_Destroy | ( | const MR_DistanceMapSaveSettings * | _this | ) |
Destroys a heap-allocated instance of MR_DistanceMapSaveSettings. Does nothing if the pointer is null.
| MRC_API void MR_DistanceMapSaveSettings_DestroyArray | ( | const MR_DistanceMapSaveSettings * | _this | ) |
Destroys a heap-allocated array of MR_DistanceMapSaveSettings. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_DistanceMapSaveSettings_Get_progress | ( | const MR_DistanceMapSaveSettings * | _this | ) |
to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::DistanceMapSaveSettings named progress. 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_AffineXf3f *const * MR_DistanceMapSaveSettings_Get_xf | ( | const MR_DistanceMapSaveSettings * | _this | ) |
optional distance map to world transform Returns a pointer to a member variable of class MR::DistanceMapSaveSettings named xf. 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_std_function_bool_from_float * MR_DistanceMapSaveSettings_GetMutable_progress | ( | MR_DistanceMapSaveSettings * | _this | ) |
to report save progress and cancel saving if user desires Returns a mutable pointer to a member variable of class MR::DistanceMapSaveSettings named progress. 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_AffineXf3f ** MR_DistanceMapSaveSettings_GetMutable_xf | ( | MR_DistanceMapSaveSettings * | _this | ) |
optional distance map to world transform Returns a mutable pointer to a member variable of class MR::DistanceMapSaveSettings named xf. 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_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_OffsetMutablePtr | ( | MR_DistanceMapSaveSettings * | 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_DistanceMapSaveSettings * MR_DistanceMapSaveSettings_OffsetPtr | ( | const MR_DistanceMapSaveSettings * | 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_DistanceMapSaveSettings_Set_progress | ( | MR_DistanceMapSaveSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
to report save progress and cancel saving if user desires Modifies a member variable of class MR::DistanceMapSaveSettings named progress. 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 progress. When this function is called, this object will drop object references it had previously in progress.
| MRC_API void MR_DistanceMapSaveSettings_Set_xf | ( | MR_DistanceMapSaveSettings * | _this, |
| const MR_AffineXf3f * | value ) |
optional distance map to world transform Modifies a member variable of class MR::DistanceMapSaveSettings named xf. 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 xf. When this function is called, this object will drop object references it had previously in xf.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_AssignFromAnother | ( | MR_DistanceMapToWorld * | _this, |
| const MR_DistanceMapToWorld * | _other ) |
Generated from method MR::DistanceMapToWorld::operator=. Parameter _this can not be null. It is a single object. 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 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_DistanceMapToWorld * MR_DistanceMapToWorld_Construct_MR_AffineXf3f | ( | const MR_AffineXf3f * | xf | ) |
Converts from AffineXf3f Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. Parameter xf can not be null. It is a single object. The reference to the parameter xf might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapToWorld_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_Construct_MR_ContourToDistanceMapParams | ( | const MR_ContourToDistanceMapParams * | params | ) |
Init fields by ContourToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. Parameter params can not be null. It is a single object. The reference to the parameter params might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapToWorld_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_Construct_MR_MeshToDistanceMapParams | ( | const MR_MeshToDistanceMapParams * | params | ) |
Init fields by MeshToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. Parameter params can not be null. It is a single object. The reference to the parameter params might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapToWorld_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_ConstructFromAnother | ( | const MR_DistanceMapToWorld * | _other | ) |
Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. 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_DistanceMapToWorld_Destroy() to free it when you're done using it.
| MRC_API MR_AffineXf3f MR_DistanceMapToWorld_ConvertTo_MR_AffineXf3f | ( | const MR_DistanceMapToWorld * | _this | ) |
converts in transformation X: X(p) == toWorld( p.x, p.y, p.z ) Generated from conversion operator MR::DistanceMapToWorld::operator MR::AffineXf3f. Parameter _this can not be null. It is a single object.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_DistanceMapToWorld_Destroy() to free it when you're done using it.
| MRC_API MR_DistanceMapToWorld * MR_DistanceMapToWorld_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_DistanceMapToWorld_DestroyArray(). Use MR_DistanceMapToWorld_OffsetMutablePtr() and MR_DistanceMapToWorld_OffsetPtr() to access the array elements.
| MRC_API void MR_DistanceMapToWorld_Destroy | ( | const MR_DistanceMapToWorld * | _this | ) |
Destroys a heap-allocated instance of MR_DistanceMapToWorld. Does nothing if the pointer is null.
| MRC_API void MR_DistanceMapToWorld_DestroyArray | ( | const MR_DistanceMapToWorld * | _this | ) |
Destroys a heap-allocated array of MR_DistanceMapToWorld. Does nothing if the pointer is null.
| MRC_API const MR_Vector3f * MR_DistanceMapToWorld_Get_direction | ( | const MR_DistanceMapToWorld * | _this | ) |
vector of depth direction
pixelXVec pixelYVec plane Returns a pointer to a member variable of class MR::DistanceMapToWorld named direction. 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_Vector3f * MR_DistanceMapToWorld_Get_orgPoint | ( | const MR_DistanceMapToWorld * | _this | ) |
world coordinates of distance map origin corner Returns a pointer to a member variable of class MR::DistanceMapToWorld named orgPoint. 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_Vector3f * MR_DistanceMapToWorld_Get_pixelXVec | ( | const MR_DistanceMapToWorld * | _this | ) |
vector in world space of pixel x positive direction length is equal to pixel size
pixelYVec Returns a pointer to a member variable of class MR::DistanceMapToWorld named pixelXVec. 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_Vector3f * MR_DistanceMapToWorld_Get_pixelYVec | ( | const MR_DistanceMapToWorld * | _this | ) |
vector in world space of pixel y positive direction length is equal to pixel size
pixelXVec Returns a pointer to a member variable of class MR::DistanceMapToWorld named pixelYVec. 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_Vector3f * MR_DistanceMapToWorld_GetMutable_direction | ( | MR_DistanceMapToWorld * | _this | ) |
vector of depth direction
pixelXVec pixelYVec plane Returns a mutable pointer to a member variable of class MR::DistanceMapToWorld named direction. 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_Vector3f * MR_DistanceMapToWorld_GetMutable_orgPoint | ( | MR_DistanceMapToWorld * | _this | ) |
world coordinates of distance map origin corner Returns a mutable pointer to a member variable of class MR::DistanceMapToWorld named orgPoint. 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_Vector3f * MR_DistanceMapToWorld_GetMutable_pixelXVec | ( | MR_DistanceMapToWorld * | _this | ) |
vector in world space of pixel x positive direction length is equal to pixel size
pixelYVec Returns a mutable pointer to a member variable of class MR::DistanceMapToWorld named pixelXVec. 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_Vector3f * MR_DistanceMapToWorld_GetMutable_pixelYVec | ( | MR_DistanceMapToWorld * | _this | ) |
vector in world space of pixel y positive direction length is equal to pixel size
pixelXVec Returns a mutable pointer to a member variable of class MR::DistanceMapToWorld named pixelYVec. 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_DistanceMapToWorld * MR_DistanceMapToWorld_OffsetMutablePtr | ( | MR_DistanceMapToWorld * | 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_DistanceMapToWorld * MR_DistanceMapToWorld_OffsetPtr | ( | const MR_DistanceMapToWorld * | 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_DistanceMapToWorld_Set_direction | ( | MR_DistanceMapToWorld * | _this, |
| MR_Vector3f | value ) |
vector of depth direction
pixelXVec pixelYVec plane Modifies a member variable of class MR::DistanceMapToWorld named direction. 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 direction. When this function is called, this object will drop object references it had previously in direction. | MRC_API void MR_DistanceMapToWorld_Set_orgPoint | ( | MR_DistanceMapToWorld * | _this, |
| MR_Vector3f | value ) |
world coordinates of distance map origin corner Modifies a member variable of class MR::DistanceMapToWorld named orgPoint. 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 orgPoint. When this function is called, this object will drop object references it had previously in orgPoint.
| MRC_API void MR_DistanceMapToWorld_Set_pixelXVec | ( | MR_DistanceMapToWorld * | _this, |
| MR_Vector3f | value ) |
vector in world space of pixel x positive direction length is equal to pixel size
pixelYVec Modifies a member variable of class MR::DistanceMapToWorld named pixelXVec. 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 pixelXVec. When this function is called, this object will drop object references it had previously in pixelXVec. | MRC_API void MR_DistanceMapToWorld_Set_pixelYVec | ( | MR_DistanceMapToWorld * | _this, |
| MR_Vector3f | value ) |
vector in world space of pixel y positive direction length is equal to pixel size
pixelXVec Modifies a member variable of class MR::DistanceMapToWorld named pixelYVec. 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 pixelYVec. When this function is called, this object will drop object references it had previously in pixelYVec. | MRC_API MR_Vector3f MR_DistanceMapToWorld_toWorld | ( | const MR_DistanceMapToWorld * | _this, |
| float | x, | ||
| float | y, | ||
| float | depth ) |
get world coordinate by depth map info x - float X coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) y - float Y coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) float depth value (value in distance map, represent depth in world) Generated from method MR::DistanceMapToWorld::toWorld. Parameter _this can not be null. It is a single object.
| MRC_API MR_AffineXf3f MR_DistanceMapToWorld_xf | ( | const MR_DistanceMapToWorld * | _this | ) |
Generated from method MR::DistanceMapToWorld::xf. Parameter _this can not be null. It is a single object.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_AssignFromAnother | ( | MR_MeshToDistanceMapParams * | _this, |
| const MR_MeshToDistanceMapParams * | _other ) |
Generated from method MR::MeshToDistanceMapParams::operator=. Parameter _this can not be null. It is a single object. 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 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_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_3_MR_Vector2f | ( | const MR_AffineXf3f * | xf, |
| const MR_Vector2f * | pixelSize, | ||
| const MR_Vector2i * | resolution ) |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter xf can not be null. It is a single object. The reference to the parameter xf might be preserved in the constructed object. Parameter pixelSize can not be null. It is a single object. The reference to the parameter pixelSize might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_3_MR_Vector2i | ( | const MR_AffineXf3f * | xf, |
| const MR_Vector2i * | resolution, | ||
| const MR_Vector2f * | size ) |
The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter xf can not be null. It is a single object. The reference to the parameter xf might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter size can not be null. It is a single object. The reference to the parameter size might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector2i_ref | ( | const MR_Matrix3f * | rotation, |
| const MR_Vector2i * | resolution, | ||
| const MR_MeshPart * | mp, | ||
| const bool * | usePreciseBoundingBox ) |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter rotation can not be null. It is a single object. The reference to the parameter rotation might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter mp can not be null. It is a single object. The reference to the parameter mp might be preserved in the constructed object. Parameter usePreciseBoundingBox has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2f | ( | const MR_Matrix3f * | rotation, |
| const MR_Vector3f * | origin, | ||
| const MR_Vector2f * | pixelSize, | ||
| const MR_Vector2i * | resolution ) |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter rotation can not be null. It is a single object. The reference to the parameter rotation might be preserved in the constructed object. Parameter origin can not be null. It is a single object. The reference to the parameter origin might be preserved in the constructed object. Parameter pixelSize can not be null. It is a single object. The reference to the parameter pixelSize might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2i | ( | const MR_Matrix3f * | rotation, |
| const MR_Vector3f * | origin, | ||
| const MR_Vector2i * | resolution, | ||
| const MR_Vector2f * | size ) |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter rotation can not be null. It is a single object. The reference to the parameter rotation might be preserved in the constructed object. Parameter origin can not be null. It is a single object. The reference to the parameter origin might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter size can not be null. It is a single object. The reference to the parameter size might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2f | ( | const MR_Vector3f * | direction, |
| const MR_Vector2f * | pixelSize, | ||
| const MR_MeshPart * | mp, | ||
| const bool * | usePreciseBoundingBox ) |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter direction can not be null. It is a single object. The reference to the parameter direction might be preserved in the constructed object. Parameter pixelSize can not be null. It is a single object. The reference to the parameter pixelSize might be preserved in the constructed object. Parameter mp can not be null. It is a single object. The reference to the parameter mp might be preserved in the constructed object. Parameter usePreciseBoundingBox has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2i | ( | const MR_Vector3f * | direction, |
| const MR_Vector2i * | resolution, | ||
| const MR_MeshPart * | mp, | ||
| const bool * | usePreciseBoundingBox ) |
direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. Parameter direction can not be null. It is a single object. The reference to the parameter direction might be preserved in the constructed object. Parameter resolution can not be null. It is a single object. The reference to the parameter resolution might be preserved in the constructed object. Parameter mp can not be null. It is a single object. The reference to the parameter mp might be preserved in the constructed object. Parameter usePreciseBoundingBox has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_ConstructFromAnother | ( | const MR_MeshToDistanceMapParams * | _other | ) |
Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. 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_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_AffineXf3f MR_MeshToDistanceMapParams_ConvertTo_MR_AffineXf3f | ( | const MR_MeshToDistanceMapParams * | _this | ) |
converts in transformation Generated from conversion operator MR::MeshToDistanceMapParams::operator MR::AffineXf3f. Parameter _this can not be null. It is a single object.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshToDistanceMapParams_Destroy() to free it when you're done using it.
| MRC_API MR_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_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_MeshToDistanceMapParams_DestroyArray(). Use MR_MeshToDistanceMapParams_OffsetMutablePtr() and MR_MeshToDistanceMapParams_OffsetPtr() to access the array elements.
| MRC_API void MR_MeshToDistanceMapParams_Destroy | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Destroys a heap-allocated instance of MR_MeshToDistanceMapParams. Does nothing if the pointer is null.
| MRC_API void MR_MeshToDistanceMapParams_DestroyArray | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Destroys a heap-allocated array of MR_MeshToDistanceMapParams. Does nothing if the pointer is null.
| MRC_API const bool * MR_MeshToDistanceMapParams_Get_allowNegativeValues | ( | const MR_MeshToDistanceMapParams * | _this | ) |
allows to find intersections in backward to direction vector with negative values Modifies a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in allowNegativeValues.
| MRC_API const MR_Vector3f * MR_MeshToDistanceMapParams_Get_direction | ( | const MR_MeshToDistanceMapParams * | _this | ) |
direction of intersection ray Modifies a member variable of class MR::MeshToDistanceMapParams named direction. 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 direction. When this function is called, this object will drop object references it had previously in direction.
| MRC_API const float * MR_MeshToDistanceMapParams_Get_maxValue | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named maxValue. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in maxValue.
| MRC_API const float * MR_MeshToDistanceMapParams_Get_minValue | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named minValue. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in minValue.
| MRC_API const MR_Vector3f * MR_MeshToDistanceMapParams_Get_orgPoint | ( | const MR_MeshToDistanceMapParams * | _this | ) |
location of (0,0) pixel with value 0.f Modifies a member variable of class MR::MeshToDistanceMapParams named orgPoint. 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 orgPoint. When this function is called, this object will drop object references it had previously in orgPoint.
| MRC_API const MR_Vector2i * MR_MeshToDistanceMapParams_Get_resolution | ( | const MR_MeshToDistanceMapParams * | _this | ) |
resolution of distance map Modifies a member variable of class MR::MeshToDistanceMapParams named resolution. 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 resolution. When this function is called, this object will drop object references it had previously in resolution.
| MRC_API const bool * MR_MeshToDistanceMapParams_Get_useDistanceLimits | ( | const MR_MeshToDistanceMapParams * | _this | ) |
out of limits intersections will be set to non-valid Modifies a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in useDistanceLimits.
| MRC_API const MR_Vector3f * MR_MeshToDistanceMapParams_Get_xRange | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Cartesian range vector between distance map borders in X direction Modifies a member variable of class MR::MeshToDistanceMapParams named xRange. 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 xRange. When this function is called, this object will drop object references it had previously in xRange.
| MRC_API const MR_Vector3f * MR_MeshToDistanceMapParams_Get_yRange | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Cartesian range vector between distance map borders in Y direction Modifies a member variable of class MR::MeshToDistanceMapParams named yRange. 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 yRange. When this function is called, this object will drop object references it had previously in yRange.
| MRC_API bool * MR_MeshToDistanceMapParams_GetMutable_allowNegativeValues | ( | MR_MeshToDistanceMapParams * | _this | ) |
Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named minValue. 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_Vector3f * MR_MeshToDistanceMapParams_GetMutable_direction | ( | MR_MeshToDistanceMapParams * | _this | ) |
location of (0,0) pixel with value 0.f Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named orgPoint. 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_MeshToDistanceMapParams_GetMutable_maxValue | ( | MR_MeshToDistanceMapParams * | _this | ) |
resolution of distance map Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named resolution. 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_MeshToDistanceMapParams_GetMutable_minValue | ( | MR_MeshToDistanceMapParams * | _this | ) |
Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named maxValue. 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_Vector3f * MR_MeshToDistanceMapParams_GetMutable_orgPoint | ( | MR_MeshToDistanceMapParams * | _this | ) |
out of limits intersections will be set to non-valid Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits. 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_Vector2i * MR_MeshToDistanceMapParams_GetMutable_resolution | ( | MR_MeshToDistanceMapParams * | _this | ) |
| MRC_API bool * MR_MeshToDistanceMapParams_GetMutable_useDistanceLimits | ( | MR_MeshToDistanceMapParams * | _this | ) |
allows to find intersections in backward to direction vector with negative values Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues. 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_Vector3f * MR_MeshToDistanceMapParams_GetMutable_xRange | ( | MR_MeshToDistanceMapParams * | _this | ) |
Cartesian range vector between distance map borders in Y direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named yRange. 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_Vector3f * MR_MeshToDistanceMapParams_GetMutable_yRange | ( | MR_MeshToDistanceMapParams * | _this | ) |
direction of intersection ray Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named direction. 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_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_OffsetMutablePtr | ( | MR_MeshToDistanceMapParams * | 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_MeshToDistanceMapParams * MR_MeshToDistanceMapParams_OffsetPtr | ( | const MR_MeshToDistanceMapParams * | 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_MeshToDistanceMapParams_Set_allowNegativeValues | ( | MR_MeshToDistanceMapParams * | _this, |
| bool | value ) |
allows to find intersections in backward to direction vector with negative values Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues. 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 void MR_MeshToDistanceMapParams_Set_direction | ( | MR_MeshToDistanceMapParams * | _this, |
| MR_Vector3f | value ) |
direction of intersection ray Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named direction. 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 void MR_MeshToDistanceMapParams_Set_maxValue | ( | MR_MeshToDistanceMapParams * | _this, |
| float | value ) |
Using of this parameter depends on useDistanceLimits Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named maxValue. 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 void MR_MeshToDistanceMapParams_Set_minValue | ( | MR_MeshToDistanceMapParams * | _this, |
| float | value ) |
Using of this parameter depends on useDistanceLimits Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named minValue. 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 void MR_MeshToDistanceMapParams_Set_orgPoint | ( | MR_MeshToDistanceMapParams * | _this, |
| MR_Vector3f | value ) |
location of (0,0) pixel with value 0.f Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named orgPoint. 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 void MR_MeshToDistanceMapParams_Set_resolution | ( | MR_MeshToDistanceMapParams * | _this, |
| MR_Vector2i | value ) |
resolution of distance map Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named resolution. 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 void MR_MeshToDistanceMapParams_Set_useDistanceLimits | ( | MR_MeshToDistanceMapParams * | _this, |
| bool | value ) |
out of limits intersections will be set to non-valid Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits. 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 void MR_MeshToDistanceMapParams_Set_xRange | ( | MR_MeshToDistanceMapParams * | _this, |
| MR_Vector3f | value ) |
Cartesian range vector between distance map borders in X direction Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named xRange. 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 void MR_MeshToDistanceMapParams_Set_yRange | ( | MR_MeshToDistanceMapParams * | _this, |
| MR_Vector3f | value ) |
Cartesian range vector between distance map borders in Y direction Returns a mutable pointer to a member variable of class MR::MeshToDistanceMapParams named yRange. 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 void MR_MeshToDistanceMapParams_setDistanceLimits | ( | MR_MeshToDistanceMapParams * | _this, |
| float | min, | ||
| float | max ) |
if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative) Generated from method MR::MeshToDistanceMapParams::setDistanceLimits. Parameter _this can not be null. It is a single object. pixel size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize. 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_AffineXf3f MR_MeshToDistanceMapParams_xf | ( | const MR_MeshToDistanceMapParams * | _this | ) |
Generated from method MR::MeshToDistanceMapParams::xf. Parameter _this can not be null. It is a single object.