Go to the source code of this file.
Typedefs | |
| typedef struct MR_Vector_MR_Nesting_MeshXf_MR_ObjId | MR_Vector_MR_Nesting_MeshXf_MR_ObjId |
| std::vector<T>-like container that requires specific indexing type, | |
| typedef struct MR_std_vector_MR_Image | MR_std_vector_MR_Image |
| typedef struct MR_std_vector_std_string | MR_std_vector_std_string |
| typedef struct MR_Nesting_Nesting3mfParams | MR_Nesting_Nesting3mfParams |
| typedef struct MR_Nesting_Nesting3mfParams MR_Nesting_Nesting3mfParams |
Generated from class MR::Nesting::Nesting3mfParams. 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_std_vector_MR_Image MR_std_vector_MR_Image |
Generated from C++ container std::vector<MR::Image>. 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_std_vector_std_string MR_std_vector_std_string |
Generated from C++ container std::vector<std::string>. 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).
std::vector<T>-like container that requires specific indexing type,
| T | type of stored elements |
| I | type of index (shall be convertible to size_t) Generated from class MR::Vector<MR::Nesting::MeshXf, MR::ObjId>. 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_expected_void_std_string * MR_Nesting_exportNesting3mf | ( | const char * | path, |
| const char * | path_end, | ||
| const MR_Nesting_Nesting3mfParams * | params ) |
exports slicestack 3mf file based on placed meshes Generated from function MR::Nesting::exportNesting3mf. Parameter path is a UTF-8 encoded filesystem path. 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_void_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_AssignFromAnother | ( | MR_Nesting_Nesting3mfParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_Nesting_Nesting3mfParams * | _other ) |
Generated from method MR::Nesting::Nesting3mfParams::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_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_ConstructFrom | ( | MR_PassBy | meshes_pass_by, |
| MR_Vector_MR_Nesting_MeshXf_MR_ObjId * | meshes, | ||
| float | zStep, | ||
| bool | decimateSlices, | ||
| const MR_Image * | image, | ||
| const MR_std_vector_MR_Image * | meshImages, | ||
| const MR_std_vector_std_string * | meshNames, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Constructs MR::Nesting::Nesting3mfParams elementwise. The reference to the parameter meshes might be preserved in the constructed object. The reference to the parameter image might be preserved in the constructed object. The reference to the parameter meshImages might be preserved in the constructed object. The reference to the parameter meshNames might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_Nesting3mfParams_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_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_Nesting_Nesting3mfParams * | _other ) |
Generated from constructor MR::Nesting::Nesting3mfParams::Nesting3mfParams. 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_Nesting_Nesting3mfParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_Nesting3mfParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_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_Nesting_Nesting3mfParams_DestroyArray(). Use MR_Nesting_Nesting3mfParams_OffsetMutablePtr() and MR_Nesting_Nesting3mfParams_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_Nesting3mfParams_Destroy | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_Nesting3mfParams. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_Nesting3mfParams_DestroyArray | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_Nesting3mfParams. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_Nesting_Nesting3mfParams_Get_cb | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named cb. 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 bool * MR_Nesting_Nesting3mfParams_Get_decimateSlices | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
if set: decimate slices Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named decimateSlices. 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_Image *const * MR_Nesting_Nesting3mfParams_Get_image | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
optional image of all meshes in nest Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named image. 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_Vector_MR_Nesting_MeshXf_MR_ObjId * MR_Nesting_Nesting3mfParams_Get_meshes | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
nested meshes with their transforms into nest Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshes. 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_vector_MR_Image *const * MR_Nesting_Nesting3mfParams_Get_meshImages | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
optional screen shots of each mesh one by one Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshImages. 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_vector_std_string *const * MR_Nesting_Nesting3mfParams_Get_meshNames | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
optional names of each mesh one by one Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshNames. 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 float * MR_Nesting_Nesting3mfParams_Get_zStep | ( | const MR_Nesting_Nesting3mfParams * | _this | ) |
slicing step Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named zStep. 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_Nesting_Nesting3mfParams_GetMutable_cb | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named cb. 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 bool * MR_Nesting_Nesting3mfParams_GetMutable_decimateSlices | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
if set: decimate slices Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named decimateSlices. 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_Image ** MR_Nesting_Nesting3mfParams_GetMutable_image | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
optional image of all meshes in nest Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named image. 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_Vector_MR_Nesting_MeshXf_MR_ObjId * MR_Nesting_Nesting3mfParams_GetMutable_meshes | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
nested meshes with their transforms into nest Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshes. 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_vector_MR_Image ** MR_Nesting_Nesting3mfParams_GetMutable_meshImages | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
optional screen shots of each mesh one by one Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshImages. 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_vector_std_string ** MR_Nesting_Nesting3mfParams_GetMutable_meshNames | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
optional names of each mesh one by one Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshNames. 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 float * MR_Nesting_Nesting3mfParams_GetMutable_zStep | ( | MR_Nesting_Nesting3mfParams * | _this | ) |
slicing step Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named zStep. 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_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_OffsetMutablePtr | ( | MR_Nesting_Nesting3mfParams * | 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_Nesting_Nesting3mfParams * MR_Nesting_Nesting3mfParams_OffsetPtr | ( | const MR_Nesting_Nesting3mfParams * | 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_Nesting_Nesting3mfParams_Set_cb | ( | MR_Nesting_Nesting3mfParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Modifies a member variable of class MR::Nesting::Nesting3mfParams named cb. 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 cb. When this function is called, this object will drop object references it held previously in cb.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_decimateSlices | ( | MR_Nesting_Nesting3mfParams * | _this, |
| bool | value ) |
if set: decimate slices Modifies a member variable of class MR::Nesting::Nesting3mfParams named decimateSlices. 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 decimateSlices.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_image | ( | MR_Nesting_Nesting3mfParams * | _this, |
| const MR_Image * | value ) |
optional image of all meshes in nest Modifies a member variable of class MR::Nesting::Nesting3mfParams named image. 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 image. When this function is called, this object will drop object references it held previously in image.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_meshes | ( | MR_Nesting_Nesting3mfParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_Vector_MR_Nesting_MeshXf_MR_ObjId * | value ) |
nested meshes with their transforms into nest Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshes. 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 meshes. When this function is called, this object will drop object references it held previously in meshes.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_meshImages | ( | MR_Nesting_Nesting3mfParams * | _this, |
| const MR_std_vector_MR_Image * | value ) |
optional screen shots of each mesh one by one Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshImages. 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 meshImages. When this function is called, this object will drop object references it held previously in meshImages.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_meshNames | ( | MR_Nesting_Nesting3mfParams * | _this, |
| const MR_std_vector_std_string * | value ) |
optional names of each mesh one by one Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshNames. 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 meshNames. When this function is called, this object will drop object references it held previously in meshNames.
| MRC_API void MR_Nesting_Nesting3mfParams_Set_zStep | ( | MR_Nesting_Nesting3mfParams * | _this, |
| float | value ) |
slicing step Modifies a member variable of class MR::Nesting::Nesting3mfParams named zStep. 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 zStep.