Go to the source code of this file.
Typedefs | |
| typedef struct MR_ProjectAttributeParams | MR_ProjectAttributeParams |
| 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. 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_ProjectAttributeParams * MR_ProjectAttributeParams_AssignFromAnother | ( | MR_ProjectAttributeParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ProjectAttributeParams * | _other ) |
Generated from method MR::ProjectAttributeParams::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_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. The reference to the parameter xfs might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed 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. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_ProjectAttributeParams * MR_ProjectAttributeParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ProjectAttributeParams * | _other ) |
Generated from constructor MR::ProjectAttributeParams::ProjectAttributeParams. 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_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. The reference to this object might be preserved as the return value.
| 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. The reference to this object might be preserved as the return value.
| 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. The reference to this object might be preserved as the return value.
| 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. The reference to this object might be preserved as the return value.
| 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. The reference to the parameter ptr might be preserved in the return value.
| 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. The reference to the parameter ptr might be preserved in the return value.
| 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. The reference to the parameter value might be preserved in this object in element progressCb. When this function is called, this object will drop object references it held previously in progressCb.
| 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. The reference to the parameter value might be preserved in this object in element xfs. When this function is called, this object will drop object references it held previously in xfs.
| 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.