#include <MRCMesh/MRAffineXf.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_PointCloud | MR_PointCloud |
| typedef struct MR_PointsLoadSettings | MR_PointsLoadSettings |
| typedef struct MR_VertColors | MR_VertColors |
| typedef struct MR_expected_MR_LoadedObjects_std_string | MR_expected_MR_LoadedObjects_std_string |
| typedef struct MR_expected_MR_PointCloud_std_string | MR_expected_MR_PointCloud_std_string |
| typedef struct MR_expected_std_vector_MR_PointsLoad_NamedCloud_std_string | MR_expected_std_vector_MR_PointsLoad_NamedCloud_std_string |
| 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_string | MR_std_string |
| typedef struct MR_PointsLoad_E57LoadSettings | MR_PointsLoad_E57LoadSettings |
| typedef struct MR_PointsLoad_NamedCloud | MR_PointsLoad_NamedCloud |
| typedef struct MR_expected_std_vector_MR_PointsLoad_NamedCloud_std_string MR_expected_std_vector_MR_PointsLoad_NamedCloud_std_string |
| typedef struct MR_PointCloud MR_PointCloud |
| typedef struct MR_PointsLoad_E57LoadSettings MR_PointsLoad_E57LoadSettings |
Generated from class MR::PointsLoad::E57LoadSettings. 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).
| typedef struct MR_PointsLoad_NamedCloud MR_PointsLoad_NamedCloud |
loads scene from e57 file Generated from class MR::PointsLoad::NamedCloud. 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).
| typedef struct MR_PointsLoadSettings MR_PointsLoadSettings |
| 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_string MR_std_string |
| typedef struct MR_VertColors MR_VertColors |
| MRC_API MR_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_AssignFromAnother | ( | MR_PointsLoad_E57LoadSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PointsLoad_E57LoadSettings * | _other ) |
Generated from method MR::PointsLoad::E57LoadSettings::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_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_ConstructFrom | ( | bool | combineAllObjects, |
| bool | identityXf, | ||
| MR_PassBy | progress_pass_by, | ||
| MR_std_function_bool_from_float * | progress ) |
Constructs MR::PointsLoad::E57LoadSettings elementwise. The reference to the parameter progress might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsLoad_E57LoadSettings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PointsLoad_E57LoadSettings * | _other ) |
Generated from constructor MR::PointsLoad::E57LoadSettings::E57LoadSettings. 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_PointsLoad_E57LoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsLoad_E57LoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_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_PointsLoad_E57LoadSettings_DestroyArray(). Use MR_PointsLoad_E57LoadSettings_OffsetMutablePtr() and MR_PointsLoad_E57LoadSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_PointsLoad_E57LoadSettings_Destroy | ( | const MR_PointsLoad_E57LoadSettings * | _this | ) |
Destroys a heap-allocated instance of MR_PointsLoad_E57LoadSettings. Does nothing if the pointer is null.
| MRC_API void MR_PointsLoad_E57LoadSettings_DestroyArray | ( | const MR_PointsLoad_E57LoadSettings * | _this | ) |
Destroys a heap-allocated array of MR_PointsLoad_E57LoadSettings. Does nothing if the pointer is null.
| MRC_API const bool * MR_PointsLoad_E57LoadSettings_Get_combineAllObjects | ( | const MR_PointsLoad_E57LoadSettings * | _this | ) |
true => if input file has more than one cloud, they all will be combined in one Returns a pointer to a member variable of class MR::PointsLoad::E57LoadSettings named combineAllObjects. 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 bool * MR_PointsLoad_E57LoadSettings_Get_identityXf | ( | const MR_PointsLoad_E57LoadSettings * | _this | ) |
true => return only identity transforms, applying them to points Returns a pointer to a member variable of class MR::PointsLoad::E57LoadSettings named identityXf. 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_std_function_bool_from_float * MR_PointsLoad_E57LoadSettings_Get_progress | ( | const MR_PointsLoad_E57LoadSettings * | _this | ) |
progress report and cancellation Returns a pointer to a member variable of class MR::PointsLoad::E57LoadSettings named progress. 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_PointsLoad_E57LoadSettings_GetMutable_combineAllObjects | ( | MR_PointsLoad_E57LoadSettings * | _this | ) |
true => if input file has more than one cloud, they all will be combined in one Returns a mutable pointer to a member variable of class MR::PointsLoad::E57LoadSettings named combineAllObjects. 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_PointsLoad_E57LoadSettings_GetMutable_identityXf | ( | MR_PointsLoad_E57LoadSettings * | _this | ) |
true => return only identity transforms, applying them to points Returns a mutable pointer to a member variable of class MR::PointsLoad::E57LoadSettings named identityXf. 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_PointsLoad_E57LoadSettings_GetMutable_progress | ( | MR_PointsLoad_E57LoadSettings * | _this | ) |
progress report and cancellation Returns a mutable pointer to a member variable of class MR::PointsLoad::E57LoadSettings named progress. 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_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_OffsetMutablePtr | ( | MR_PointsLoad_E57LoadSettings * | 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_PointsLoad_E57LoadSettings * MR_PointsLoad_E57LoadSettings_OffsetPtr | ( | const MR_PointsLoad_E57LoadSettings * | 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_PointsLoad_E57LoadSettings_Set_combineAllObjects | ( | MR_PointsLoad_E57LoadSettings * | _this, |
| bool | value ) |
true => if input file has more than one cloud, they all will be combined in one Modifies a member variable of class MR::PointsLoad::E57LoadSettings named combineAllObjects. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in combineAllObjects.
| MRC_API void MR_PointsLoad_E57LoadSettings_Set_identityXf | ( | MR_PointsLoad_E57LoadSettings * | _this, |
| bool | value ) |
true => return only identity transforms, applying them to points Modifies a member variable of class MR::PointsLoad::E57LoadSettings named identityXf. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in identityXf.
| MRC_API void MR_PointsLoad_E57LoadSettings_Set_progress | ( | MR_PointsLoad_E57LoadSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
progress report and cancellation Modifies a member variable of class MR::PointsLoad::E57LoadSettings named progress. 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 progress. When this function is called, this object will drop object references it had previously in progress.
| MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromE57_std_filesystem_path | ( | const char * | file, |
| const char * | file_end, | ||
| const MR_PointsLoadSettings * | settings ) |
loads from .e57 file Generated from function MR::PointsLoad::fromE57. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings 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_MR_PointCloud_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromE57_std_istream | ( | MR_std_istream * | in, |
| const MR_PointsLoadSettings * | settings ) |
Generated from function MR::PointsLoad::fromE57. Parameter in can not be null. It is a single object. Parameter settings is a single object. Parameter settings 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_MR_PointCloud_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_std_vector_MR_PointsLoad_NamedCloud_std_string * MR_PointsLoad_fromSceneE57File | ( | const char * | file, |
| const char * | file_end, | ||
| const MR_PointsLoad_E57LoadSettings * | settings ) |
Generated from function MR::PointsLoad::fromSceneE57File. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings 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_std_vector_MR_PointsLoad_NamedCloud_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_LoadedObjects_std_string * MR_PointsLoad_loadObjectFromE57 | ( | const char * | path, |
| const char * | path_end, | ||
| const MR_std_function_bool_from_float * | cb ) |
Generated from function MR::PointsLoad::loadObjectFromE57. Parameter path is a UTF-8 encoded filesystem path. Parameter cb is a single object. Parameter cb 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_MR_LoadedObjects_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_AssignFromAnother | ( | MR_PointsLoad_NamedCloud * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PointsLoad_NamedCloud * | _other ) |
Generated from method MR::PointsLoad::NamedCloud::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_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_ConstructFrom | ( | const char * | name, |
| const char * | name_end, | ||
| MR_PassBy | cloud_pass_by, | ||
| MR_PointCloud * | cloud, | ||
| MR_AffineXf3f | xf, | ||
| MR_PassBy | colors_pass_by, | ||
| MR_VertColors * | colors ) |
Constructs MR::PointsLoad::NamedCloud elementwise. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter cloud might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsLoad_NamedCloud_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PointsLoad_NamedCloud * | _other ) |
Generated from constructor MR::PointsLoad::NamedCloud::NamedCloud. 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_PointsLoad_NamedCloud_Destroy() to free it when you're done using it.
| MRC_API MR_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointsLoad_NamedCloud_Destroy() to free it when you're done using it.
| MRC_API MR_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_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_PointsLoad_NamedCloud_DestroyArray(). Use MR_PointsLoad_NamedCloud_OffsetMutablePtr() and MR_PointsLoad_NamedCloud_OffsetPtr() to access the array elements.
| MRC_API void MR_PointsLoad_NamedCloud_Destroy | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Destroys a heap-allocated instance of MR_PointsLoad_NamedCloud. Does nothing if the pointer is null.
| MRC_API void MR_PointsLoad_NamedCloud_DestroyArray | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Destroys a heap-allocated array of MR_PointsLoad_NamedCloud. Does nothing if the pointer is null.
| MRC_API const MR_PointCloud * MR_PointsLoad_NamedCloud_Get_cloud | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Returns a pointer to a member variable of class MR::PointsLoad::NamedCloud named cloud. 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_VertColors * MR_PointsLoad_NamedCloud_Get_colors | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Returns a pointer to a member variable of class MR::PointsLoad::NamedCloud 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 const MR_std_string * MR_PointsLoad_NamedCloud_Get_name | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Returns a pointer to a member variable of class MR::PointsLoad::NamedCloud named name. 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_AffineXf3f * MR_PointsLoad_NamedCloud_Get_xf | ( | const MR_PointsLoad_NamedCloud * | _this | ) |
Returns a pointer to a member variable of class MR::PointsLoad::NamedCloud 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.
| MRC_API MR_PointCloud * MR_PointsLoad_NamedCloud_GetMutable_cloud | ( | MR_PointsLoad_NamedCloud * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PointsLoad::NamedCloud named cloud. 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_PointsLoad_NamedCloud_GetMutable_colors | ( | MR_PointsLoad_NamedCloud * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PointsLoad::NamedCloud 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_std_string * MR_PointsLoad_NamedCloud_GetMutable_name | ( | MR_PointsLoad_NamedCloud * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PointsLoad::NamedCloud named name. 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_AffineXf3f * MR_PointsLoad_NamedCloud_GetMutable_xf | ( | MR_PointsLoad_NamedCloud * | _this | ) |
Returns a mutable pointer to a member variable of class MR::PointsLoad::NamedCloud 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.
| MRC_API MR_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_OffsetMutablePtr | ( | MR_PointsLoad_NamedCloud * | 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_PointsLoad_NamedCloud * MR_PointsLoad_NamedCloud_OffsetPtr | ( | const MR_PointsLoad_NamedCloud * | 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_PointsLoad_NamedCloud_Set_cloud | ( | MR_PointsLoad_NamedCloud * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_PointCloud * | value ) |
Modifies a member variable of class MR::PointsLoad::NamedCloud named cloud. 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 cloud. When this function is called, this object will drop object references it had previously in cloud.
| MRC_API void MR_PointsLoad_NamedCloud_Set_colors | ( | MR_PointsLoad_NamedCloud * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_VertColors * | value ) |
Modifies a member variable of class MR::PointsLoad::NamedCloud named colors. 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 colors. When this function is called, this object will drop object references it had previously in colors.
| MRC_API void MR_PointsLoad_NamedCloud_Set_name | ( | MR_PointsLoad_NamedCloud * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
Modifies a member variable of class MR::PointsLoad::NamedCloud named name. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated. The reference to the parameter value might be preserved in this object in element name. When this function is called, this object will drop object references it had previously in name.
| MRC_API void MR_PointsLoad_NamedCloud_Set_xf | ( | MR_PointsLoad_NamedCloud * | _this, |
| MR_AffineXf3f | value ) |
Modifies a member variable of class MR::PointsLoad::NamedCloud 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 had previously in xf.