Go to the source code of this file.
Typedefs | |
| typedef struct MR_FaceBitSet | MR_FaceBitSet |
| typedef struct MR_MeshProjectionTransforms | MR_MeshProjectionTransforms |
| typedef struct MR_ObjectMeshData | MR_ObjectMeshData |
| typedef struct MR_expected_void_std_string | MR_expected_void_std_string |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_ProjectAttributeParams | MR_ProjectAttributeParams |
| typedef struct MR_expected_void_std_string MR_expected_void_std_string |
| typedef struct MR_FaceBitSet MR_FaceBitSet |
| typedef struct MR_MeshProjectionTransforms MR_MeshProjectionTransforms |
| typedef struct MR_ObjectMeshData MR_ObjectMeshData |
| typedef struct MR_ProjectAttributeParams MR_ProjectAttributeParams |
this structure contains transformation for projection from one mesh to another and progress callback Generated from class MR::ProjectAttributeParams.
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_AssignFromAnother | ( | MR_ProjectAttributeParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ProjectAttributeParams * | _other ) |
Generated from a method of class MR::ProjectAttributeParams named operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_ConstructFrom | ( | const MR_MeshProjectionTransforms * | xfs, |
| MR_PassBy | progressCb_pass_by, | ||
| MR_std_function_bool_from_float * | progressCb ) |
Constructs MR::ProjectAttributeParams elementwise. Parameter xfs can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ProjectAttributeParams_Destroy() to free it when you're done using it.
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ProjectAttributeParams * | _other ) |
Generated from a constructor of class MR::ProjectAttributeParams. Never returns null. Returns an instance allocated on the heap! Must call MR_ProjectAttributeParams_Destroy() to free it when you're done using it.
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ProjectAttributeParams_Destroy() to free it when you're done using it.
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_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_ProjectAttributeParams_DestroyArray(). Use MR_ProjectAttributeParams_OffsetMutablePtr() and MR_ProjectAttributeParams_OffsetPtr() to access the array elements.
| MRC_API void MR_ProjectAttributeParams_Destroy | ( | const MR_ProjectAttributeParams * | _this | ) |
Destroys a heap-allocated instance of MR_ProjectAttributeParams. Does nothing if the pointer is null.
| MRC_API void MR_ProjectAttributeParams_DestroyArray | ( | const MR_ProjectAttributeParams * | _this | ) |
Destroys a heap-allocated array of MR_ProjectAttributeParams. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_ProjectAttributeParams_Get_progressCb | ( | const MR_ProjectAttributeParams * | _this | ) |
Returns a pointer to a member variable of class MR::ProjectAttributeParams named progressCb. 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_MeshProjectionTransforms * MR_ProjectAttributeParams_Get_xfs | ( | const MR_ProjectAttributeParams * | _this | ) |
Returns a pointer to a member variable of class MR::ProjectAttributeParams named xfs. 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_ProjectAttributeParams_GetMutable_progressCb | ( | MR_ProjectAttributeParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ProjectAttributeParams named progressCb. 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_MeshProjectionTransforms * MR_ProjectAttributeParams_GetMutable_xfs | ( | MR_ProjectAttributeParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ProjectAttributeParams named xfs. 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_ProjectAttributeParams * MR_ProjectAttributeParams_OffsetMutablePtr | ( | MR_ProjectAttributeParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_ProjectAttributeParams * MR_ProjectAttributeParams_OffsetPtr | ( | const MR_ProjectAttributeParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API void MR_ProjectAttributeParams_Set_progressCb | ( | MR_ProjectAttributeParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Modifies a member variable of class MR::ProjectAttributeParams named progressCb. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ProjectAttributeParams_Set_xfs | ( | MR_ProjectAttributeParams * | _this, |
| const MR_MeshProjectionTransforms * | value ) |
Modifies a member variable of class MR::ProjectAttributeParams named xfs. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object.
| MRC_API MR_expected_void_std_string * MR_projectObjectMeshData | ( | const MR_ObjectMeshData * | oldMeshData, |
| MR_ObjectMeshData * | newMeshData, | ||
| const MR_FaceBitSet * | region, | ||
| const MR_ProjectAttributeParams * | params ) |
finds attributes of new mesh by projecting faces/vertices on old mesh
| oldMeshData | old mesh along with input attributes |
| newMeshData | new mesh along with outpuyt attributes |
| region | optional input region for projecting (usefull if newMesh is changed part of old mesh) |
| params | parameters of prohecting |
Generated from function MR::projectObjectMeshData. Parameter oldMeshData can not be null. It is a single object. Parameter newMeshData can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.