#include <MRCMesh/MRAffineXf.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_LoadedMeshData | MR_LoadedMeshData |
| typedef struct MR_LoadedMeshData MR_LoadedMeshData |
ObjectMeshData and additional information from mesh importer Generated from class MR::LoadedMeshData. Base classes: Direct: (non-virtual) MR::ObjectMeshData 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_LoadedMeshData * MR_LoadedMeshData_AssignFromAnother | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_LoadedMeshData * | _other ) |
Generated from method MR::LoadedMeshData::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_ObjectMeshData * MR_LoadedMeshData_clone | ( | const MR_LoadedMeshData * | _this | ) |
returns copy of this object with mesh cloned Generated from method MR::LoadedMeshData::clone. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshData_Destroy() to free it when you're done using it.
| MRC_API MR_LoadedMeshData * MR_LoadedMeshData_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_LoadedMeshData * | _other ) |
Generated from constructor MR::LoadedMeshData::LoadedMeshData. 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_LoadedMeshData_Destroy() to free it when you're done using it.
| MRC_API MR_LoadedMeshData * MR_LoadedMeshData_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_LoadedMeshData_Destroy() to free it when you're done using it.
| MRC_API MR_LoadedMeshData * MR_LoadedMeshData_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_LoadedMeshData_DestroyArray(). Use MR_LoadedMeshData_OffsetMutablePtr() and MR_LoadedMeshData_OffsetPtr() to access the array elements.
| MRC_API void MR_LoadedMeshData_Destroy | ( | const MR_LoadedMeshData * | _this | ) |
Destroys a heap-allocated instance of MR_LoadedMeshData. Does nothing if the pointer is null.
| MRC_API void MR_LoadedMeshData_DestroyArray | ( | const MR_LoadedMeshData * | _this | ) |
Destroys a heap-allocated array of MR_LoadedMeshData. Does nothing if the pointer is null.
| MRC_API const MR_UndirectedEdgeBitSet * MR_LoadedMeshData_Get_creases | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named creases. 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 int * MR_LoadedMeshData_Get_duplicatedVertexCount | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named duplicatedVertexCount. 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_FaceColors * MR_LoadedMeshData_Get_faceColors | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named faceColors. 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_std_shared_ptr_MR_Mesh * MR_LoadedMeshData_Get_mesh | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named mesh. 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_UndirectedEdgeBitSet * MR_LoadedMeshData_Get_selectedEdges | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named selectedEdges. 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_FaceBitSet * MR_LoadedMeshData_Get_selectedFaces | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named selectedFaces. 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 int * MR_LoadedMeshData_Get_skippedFaceCount | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named skippedFaceCount. 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_MeshTexture * MR_LoadedMeshData_Get_texture | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named texture. 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_TexturePerFace * MR_LoadedMeshData_Get_texturePerFace | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named texturePerFace. 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_VertCoords2 * MR_LoadedMeshData_Get_uvCoordinates | ( | const MR_LoadedMeshData * | _this | ) |
vertices coordinates in texture Modifies a member variable of class MR::LoadedMeshData named uvCoordinates. 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 uvCoordinates. When this function is called, this object will drop object references it held previously in uvCoordinates.
| MRC_API const MR_VertColors * MR_LoadedMeshData_Get_vertColors | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData named vertColors. 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_AffineXf3f * MR_LoadedMeshData_Get_xf | ( | const MR_LoadedMeshData * | _this | ) |
Returns a pointer to a member variable of class MR::LoadedMeshData 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. The reference to this object might be preserved as the return value.
| MRC_API MR_UndirectedEdgeBitSet * MR_LoadedMeshData_GetMutable_creases | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named creases. 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 int * MR_LoadedMeshData_GetMutable_duplicatedVertexCount | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named duplicatedVertexCount. 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_FaceColors * MR_LoadedMeshData_GetMutable_faceColors | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named faceColors. 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. vertices coordinates in texture Returns a pointer to a member variable of class MR::LoadedMeshData named uvCoordinates. 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_shared_ptr_MR_Mesh * MR_LoadedMeshData_GetMutable_mesh | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named mesh. 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_UndirectedEdgeBitSet * MR_LoadedMeshData_GetMutable_selectedEdges | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named selectedEdges. 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_FaceBitSet * MR_LoadedMeshData_GetMutable_selectedFaces | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named selectedFaces. 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 int * MR_LoadedMeshData_GetMutable_skippedFaceCount | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named skippedFaceCount. 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_MeshTexture * MR_LoadedMeshData_GetMutable_texture | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named texture. 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_TexturePerFace * MR_LoadedMeshData_GetMutable_texturePerFace | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named texturePerFace. 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_VertCoords2 * MR_LoadedMeshData_GetMutable_uvCoordinates | ( | MR_LoadedMeshData * | _this | ) |
| MRC_API MR_VertColors * MR_LoadedMeshData_GetMutable_vertColors | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData named vertColors. 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_AffineXf3f * MR_LoadedMeshData_GetMutable_xf | ( | MR_LoadedMeshData * | _this | ) |
Returns a mutable pointer to a member variable of class MR::LoadedMeshData 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. The reference to this object might be preserved as the return value.
| MRC_API MR_uint64_t MR_LoadedMeshData_heapBytes | ( | const MR_LoadedMeshData * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::LoadedMeshData::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API MR_LoadedMeshData * MR_LoadedMeshData_MutableStaticDowncastFrom_MR_ObjectMeshData | ( | MR_ObjectMeshData * | object | ) |
Downcasts an instance of MR::ObjectMeshData to a derived class MR::LoadedMeshData. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectMeshData * MR_LoadedMeshData_MutableUpcastTo_MR_ObjectMeshData | ( | MR_LoadedMeshData * | object | ) |
Upcasts an instance of MR::LoadedMeshData to its base class MR::ObjectMeshData. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_LoadedMeshData * MR_LoadedMeshData_OffsetMutablePtr | ( | MR_LoadedMeshData * | 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_LoadedMeshData * MR_LoadedMeshData_OffsetPtr | ( | const MR_LoadedMeshData * | 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_LoadedMeshData_Set_creases | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_UndirectedEdgeBitSet * | value ) |
Modifies a member variable of class MR::LoadedMeshData named creases. 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 creases. When this function is called, this object will drop object references it held previously in creases.
| MRC_API void MR_LoadedMeshData_Set_duplicatedVertexCount | ( | MR_LoadedMeshData * | _this, |
| int | value ) |
Modifies a member variable of class MR::LoadedMeshData named duplicatedVertexCount. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in duplicatedVertexCount.
| MRC_API void MR_LoadedMeshData_Set_faceColors | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_FaceColors * | value ) |
Modifies a member variable of class MR::LoadedMeshData named faceColors. 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 faceColors. When this function is called, this object will drop object references it held previously in faceColors.
| MRC_API void MR_LoadedMeshData_Set_mesh | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_shared_ptr_MR_Mesh * | value ) |
Modifies a member variable of class MR::LoadedMeshData named mesh. 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 mesh. When this function is called, this object will drop object references it held previously in mesh.
| MRC_API void MR_LoadedMeshData_Set_selectedEdges | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_UndirectedEdgeBitSet * | value ) |
Modifies a member variable of class MR::LoadedMeshData named selectedEdges. 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 selectedEdges. When this function is called, this object will drop object references it held previously in selectedEdges.
| MRC_API void MR_LoadedMeshData_Set_selectedFaces | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_FaceBitSet * | value ) |
Modifies a member variable of class MR::LoadedMeshData named selectedFaces. 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 selectedFaces. When this function is called, this object will drop object references it held previously in selectedFaces.
| MRC_API void MR_LoadedMeshData_Set_skippedFaceCount | ( | MR_LoadedMeshData * | _this, |
| int | value ) |
Modifies a member variable of class MR::LoadedMeshData named skippedFaceCount. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in skippedFaceCount.
| MRC_API void MR_LoadedMeshData_Set_texture | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_MeshTexture * | value ) |
Modifies a member variable of class MR::LoadedMeshData named texture. 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 texture. When this function is called, this object will drop object references it held previously in texture.
| MRC_API void MR_LoadedMeshData_Set_texturePerFace | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_TexturePerFace * | value ) |
Modifies a member variable of class MR::LoadedMeshData named texturePerFace. 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 texturePerFace. When this function is called, this object will drop object references it held previously in texturePerFace.
| MRC_API void MR_LoadedMeshData_Set_uvCoordinates | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_VertCoords2 * | value ) |
vertices coordinates in texture Returns a mutable pointer to a member variable of class MR::LoadedMeshData named uvCoordinates. 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 void MR_LoadedMeshData_Set_vertColors | ( | MR_LoadedMeshData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_VertColors * | value ) |
Modifies a member variable of class MR::LoadedMeshData named vertColors. 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 vertColors. When this function is called, this object will drop object references it held previously in vertColors.
| MRC_API void MR_LoadedMeshData_Set_xf | ( | MR_LoadedMeshData * | _this, |
| MR_AffineXf3f | value ) |
Modifies a member variable of class MR::LoadedMeshData 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 held previously in xf.
| MRC_API const MR_LoadedMeshData * MR_LoadedMeshData_StaticDowncastFrom_MR_ObjectMeshData | ( | const MR_ObjectMeshData * | object | ) |
Downcasts an instance of MR::ObjectMeshData to a derived class MR::LoadedMeshData. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectMeshData * MR_LoadedMeshData_UpcastTo_MR_ObjectMeshData | ( | const MR_LoadedMeshData * | object | ) |
Upcasts an instance of MR::LoadedMeshData to its base class MR::ObjectMeshData. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.