Go to the source code of this file.
Typedefs | |
| typedef struct MR_FaceColors | MR_FaceColors |
| typedef struct MR_MeshTexture | MR_MeshTexture |
| typedef struct MR_TriCornerUVCoords | MR_TriCornerUVCoords |
| typedef struct MR_VertColors | MR_VertColors |
| typedef struct MR_VertCoords | MR_VertCoords |
| typedef struct MR_VertCoords2 | MR_VertCoords2 |
| typedef struct MR_expected_MR_VertCoords_std_string | MR_expected_MR_VertCoords_std_string |
| typedef struct MR_std_filesystem_path | MR_std_filesystem_path |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_std_istream | MR_std_istream |
| typedef struct MR_std_optional_MR_Edges | MR_std_optional_MR_Edges |
| typedef struct MR_std_optional_MR_Triangulation | MR_std_optional_MR_Triangulation |
| typedef struct MR_PlyLoadParams | MR_PlyLoadParams |
| typedef struct MR_FaceColors MR_FaceColors |
| typedef struct MR_MeshTexture MR_MeshTexture |
| typedef struct MR_PlyLoadParams MR_PlyLoadParams |
optional load artifacts and other setting for PLY file loading Generated from class MR::PlyLoadParams. 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). optional load artifact: mesh triangles Returns a pointer to a member variable of class MR::PlyLoadParams named tris. 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_std_filesystem_path MR_std_filesystem_path |
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| typedef struct MR_std_istream MR_std_istream |
| typedef struct MR_std_optional_MR_Edges MR_std_optional_MR_Edges |
| typedef struct MR_std_optional_MR_Triangulation MR_std_optional_MR_Triangulation |
| typedef struct MR_TriCornerUVCoords MR_TriCornerUVCoords |
| typedef struct MR_VertColors MR_VertColors |
| typedef struct MR_VertCoords MR_VertCoords |
| typedef struct MR_VertCoords2 MR_VertCoords2 |
| MRC_API MR_expected_MR_VertCoords_std_string * MR_loadPly_std_istream_ref_MR_PlyLoadParams | ( | MR_std_istream * | in, |
| const MR_PlyLoadParams * | params ) |
Generated from function MR::loadPly. Parameter in can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VertCoords_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_PlyLoadParams * MR_PlyLoadParams_AssignFromAnother | ( | MR_PlyLoadParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PlyLoadParams * | _other ) |
Generated from method MR::PlyLoadParams::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_PlyLoadParams * MR_PlyLoadParams_ConstructFrom | ( | MR_std_optional_MR_Triangulation * | tris, |
| MR_std_optional_MR_Edges * | edges, | ||
| MR_VertColors * | colors, | ||
| MR_FaceColors * | faceColors, | ||
| MR_VertCoords2 * | uvCoords, | ||
| MR_TriCornerUVCoords * | triCornerUvCoords, | ||
| MR_VertCoords * | normals, | ||
| MR_MeshTexture * | texture, | ||
| const char * | dir, | ||
| const char * | dir_end, | ||
| MR_PassBy | callback_pass_by, | ||
| MR_std_function_bool_from_float * | callback, | ||
| bool | telemetrySignal ) |
Constructs MR::PlyLoadParams elementwise. Parameter dir is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_PlyLoadParams_Destroy() to free it when you're done using it.
| MRC_API MR_PlyLoadParams * MR_PlyLoadParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PlyLoadParams * | _other ) |
Generated from constructor MR::PlyLoadParams::PlyLoadParams. Never returns null. Returns an instance allocated on the heap! Must call MR_PlyLoadParams_Destroy() to free it when you're done using it.
| MRC_API MR_PlyLoadParams * MR_PlyLoadParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PlyLoadParams_Destroy() to free it when you're done using it.
| MRC_API MR_PlyLoadParams * MR_PlyLoadParams_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_PlyLoadParams_DestroyArray(). Use MR_PlyLoadParams_OffsetMutablePtr() and MR_PlyLoadParams_OffsetPtr() to access the array elements.
| MRC_API void MR_PlyLoadParams_Destroy | ( | const MR_PlyLoadParams * | _this | ) |
Destroys a heap-allocated instance of MR_PlyLoadParams. Does nothing if the pointer is null.
| MRC_API void MR_PlyLoadParams_DestroyArray | ( | const MR_PlyLoadParams * | _this | ) |
Destroys a heap-allocated array of MR_PlyLoadParams. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_PlyLoadParams_Get_callback | ( | const MR_PlyLoadParams * | _this | ) |
callback for set progress and stop process Modifies a member variable of class MR::PlyLoadParams named callback. Parameter _this can not be null. It is a single object.
| MRC_API MR_VertColors *const * MR_PlyLoadParams_Get_colors | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex color map Modifies a member variable of class MR::PlyLoadParams named colors. Parameter _this can not be null. It is a single object.
| MRC_API const MR_std_filesystem_path * MR_PlyLoadParams_Get_dir | ( | const MR_PlyLoadParams * | _this | ) |
directory to load texture files from Modifies a member variable of class MR::PlyLoadParams named dir. Parameter _this can not be null. It is a single object. Parameter value is a UTF-8 encoded filesystem path.
| MRC_API MR_std_optional_MR_Edges *const * MR_PlyLoadParams_Get_edges | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: polyline edges Modifies a member variable of class MR::PlyLoadParams named edges. Parameter _this can not be null. It is a single object.
| MRC_API MR_FaceColors *const * MR_PlyLoadParams_Get_faceColors | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: per-face color map Modifies a member variable of class MR::PlyLoadParams named faceColors. Parameter _this can not be null. It is a single object.
| MRC_API MR_VertCoords *const * MR_PlyLoadParams_Get_normals | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex normals Modifies a member variable of class MR::PlyLoadParams named normals. Parameter _this can not be null. It is a single object.
| MRC_API const bool * MR_PlyLoadParams_Get_telemetrySignal | ( | const MR_PlyLoadParams * | _this | ) |
permit telemetry signal about loading Modifies a member variable of class MR::PlyLoadParams named telemetrySignal. Parameter _this can not be null. It is a single object.
| MRC_API MR_MeshTexture *const * MR_PlyLoadParams_Get_texture | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: texture image Modifies a member variable of class MR::PlyLoadParams named texture. Parameter _this can not be null. It is a single object.
| MRC_API MR_TriCornerUVCoords *const * MR_PlyLoadParams_Get_triCornerUvCoords | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: per-corner uv-coordinates for each triangle Modifies a member variable of class MR::PlyLoadParams named triCornerUvCoords. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_optional_MR_Triangulation *const * MR_PlyLoadParams_Get_tris | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: mesh triangles Modifies a member variable of class MR::PlyLoadParams named tris. Parameter _this can not be null. It is a single object.
| MRC_API MR_VertCoords2 *const * MR_PlyLoadParams_Get_uvCoords | ( | const MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex uv-coordinates Modifies a member variable of class MR::PlyLoadParams named uvCoords. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_function_bool_from_float * MR_PlyLoadParams_GetMutable_callback | ( | MR_PlyLoadParams * | _this | ) |
permit telemetry signal about loading Returns a pointer to a member variable of class MR::PlyLoadParams named telemetrySignal. 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_VertColors ** MR_PlyLoadParams_GetMutable_colors | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: per-face color map Returns a pointer to a member variable of class MR::PlyLoadParams 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.
| MRC_API MR_std_filesystem_path * MR_PlyLoadParams_GetMutable_dir | ( | MR_PlyLoadParams * | _this | ) |
callback for set progress and stop process Returns a pointer to a member variable of class MR::PlyLoadParams named callback. 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_optional_MR_Edges ** MR_PlyLoadParams_GetMutable_edges | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::PlyLoadParams named colors. 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_FaceColors ** MR_PlyLoadParams_GetMutable_faceColors | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex uv-coordinates Returns a pointer to a member variable of class MR::PlyLoadParams named uvCoords. 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_VertCoords ** MR_PlyLoadParams_GetMutable_normals | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: texture image Returns a pointer to a member variable of class MR::PlyLoadParams 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.
| MRC_API bool * MR_PlyLoadParams_GetMutable_telemetrySignal | ( | MR_PlyLoadParams * | _this | ) |
| MRC_API MR_MeshTexture ** MR_PlyLoadParams_GetMutable_texture | ( | MR_PlyLoadParams * | _this | ) |
directory to load texture files from Returns a pointer to a member variable of class MR::PlyLoadParams named dir. 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_TriCornerUVCoords ** MR_PlyLoadParams_GetMutable_triCornerUvCoords | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: per-vertex normals Returns a pointer to a member variable of class MR::PlyLoadParams named normals. 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_optional_MR_Triangulation ** MR_PlyLoadParams_GetMutable_tris | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: polyline edges Returns a pointer to a member variable of class MR::PlyLoadParams named edges. 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_VertCoords2 ** MR_PlyLoadParams_GetMutable_uvCoords | ( | MR_PlyLoadParams * | _this | ) |
optional load artifact: per-corner uv-coordinates for each triangle Returns a pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords. 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_PlyLoadParams * MR_PlyLoadParams_OffsetMutablePtr | ( | MR_PlyLoadParams * | 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_PlyLoadParams * MR_PlyLoadParams_OffsetPtr | ( | const MR_PlyLoadParams * | 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_PlyLoadParams_Set_callback | ( | MR_PlyLoadParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::PlyLoadParams named callback. 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_PlyLoadParams_Set_colors | ( | MR_PlyLoadParams * | _this, |
| MR_VertColors * | value ) |
optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams named colors. 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_PlyLoadParams_Set_dir | ( | MR_PlyLoadParams * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
directory to load texture files from Returns a mutable pointer to a member variable of class MR::PlyLoadParams named dir. 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_PlyLoadParams_Set_edges | ( | MR_PlyLoadParams * | _this, |
| MR_std_optional_MR_Edges * | value ) |
optional load artifact: polyline edges Returns a mutable pointer to a member variable of class MR::PlyLoadParams named edges. 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_PlyLoadParams_Set_faceColors | ( | MR_PlyLoadParams * | _this, |
| MR_FaceColors * | value ) |
optional load artifact: per-face color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams 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.
| MRC_API void MR_PlyLoadParams_Set_normals | ( | MR_PlyLoadParams * | _this, |
| MR_VertCoords * | value ) |
optional load artifact: per-vertex normals Returns a mutable pointer to a member variable of class MR::PlyLoadParams named normals. 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_PlyLoadParams_Set_telemetrySignal | ( | MR_PlyLoadParams * | _this, |
| bool | value ) |
permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::PlyLoadParams named telemetrySignal. 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_PlyLoadParams_Set_texture | ( | MR_PlyLoadParams * | _this, |
| MR_MeshTexture * | value ) |
optional load artifact: texture image Returns a mutable pointer to a member variable of class MR::PlyLoadParams 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.
| MRC_API void MR_PlyLoadParams_Set_triCornerUvCoords | ( | MR_PlyLoadParams * | _this, |
| MR_TriCornerUVCoords * | value ) |
optional load artifact: per-corner uv-coordinates for each triangle Returns a mutable pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords. 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_PlyLoadParams_Set_tris | ( | MR_PlyLoadParams * | _this, |
| MR_std_optional_MR_Triangulation * | value ) |
optional load artifact: mesh triangles Returns a mutable pointer to a member variable of class MR::PlyLoadParams named tris. 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_PlyLoadParams_Set_uvCoords | ( | MR_PlyLoadParams * | _this, |
| MR_VertCoords2 * | value ) |
optional load artifact: per-vertex uv-coordinates Returns a mutable pointer to a member variable of class MR::PlyLoadParams named uvCoords. 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.