Go to the source code of this file.
Typedefs | |
| typedef struct MR_Mesh | MR_Mesh |
| typedef struct MR_MeshDiff | MR_MeshDiff |
| typedef struct MR_MeshDiff MR_MeshDiff |
this object stores a difference between two meshes: both in coordinates and in topology
if the meshes are similar then this object is small, if the meshes are very distinct then this object will be even larger than one mesh itself Generated from class MR::MeshDiff. 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 bool MR_MeshDiff_any | ( | const MR_MeshDiff * | _this | ) |
returns true if this object does contain some difference in point coordinates or in topology; if (from) mesh has just more points or more topology elements than (to) and the common elements are the same, then the method will return false since nothing is stored here Generated from method MR::MeshDiff::any. Parameter _this can not be null. It is a single object.
| MRC_API void MR_MeshDiff_applyAndSwap | ( | MR_MeshDiff * | _this, |
| MR_Mesh * | m ) |
given mesh-from on input converts it in mesh-to, this object is updated to become the reverse difference from original mesh-to to original mesh-from Generated from method MR::MeshDiff::applyAndSwap. Parameter _this can not be null. It is a single object. Parameter m can not be null. It is a single object.
| MRC_API MR_MeshDiff * MR_MeshDiff_AssignFromAnother | ( | MR_MeshDiff * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_MeshDiff * | _other ) |
Generated from method MR::MeshDiff::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_MeshDiff * MR_MeshDiff_Construct | ( | const MR_Mesh * | from, |
| const MR_Mesh * | to ) |
computes the difference, that can be applied to mesh-from in order to get mesh-to Generated from constructor MR::MeshDiff::MeshDiff. Parameter from can not be null. It is a single object. The reference to the parameter from might be preserved in the constructed object. Parameter to can not be null. It is a single object. The reference to the parameter to might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshDiff_Destroy() to free it when you're done using it.
| MRC_API MR_MeshDiff * MR_MeshDiff_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_MeshDiff * | _other ) |
Generated from constructor MR::MeshDiff::MeshDiff. 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_MeshDiff_Destroy() to free it when you're done using it.
| MRC_API MR_MeshDiff * MR_MeshDiff_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshDiff_Destroy() to free it when you're done using it.
| MRC_API MR_MeshDiff * MR_MeshDiff_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_MeshDiff_DestroyArray(). Use MR_MeshDiff_OffsetMutablePtr() and MR_MeshDiff_OffsetPtr() to access the array elements.
| MRC_API void MR_MeshDiff_Destroy | ( | const MR_MeshDiff * | _this | ) |
Destroys a heap-allocated instance of MR_MeshDiff. Does nothing if the pointer is null.
| MRC_API void MR_MeshDiff_DestroyArray | ( | const MR_MeshDiff * | _this | ) |
Destroys a heap-allocated array of MR_MeshDiff. Does nothing if the pointer is null.
| MRC_API MR_uint64_t MR_MeshDiff_heapBytes | ( | const MR_MeshDiff * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::MeshDiff::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_MeshDiff * MR_MeshDiff_OffsetMutablePtr | ( | MR_MeshDiff * | 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_MeshDiff * MR_MeshDiff_OffsetPtr | ( | const MR_MeshDiff * | 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.