#include <MRCMesh/MRVector3.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_FunctionVolume | MR_FunctionVolume |
| typedef struct MR_Mesh | MR_Mesh |
| typedef struct MR_expected_MR_Mesh_std_string | MR_expected_MR_Mesh_std_string |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_std_optional_float | MR_std_optional_float |
| typedef struct MR_std_vector_std_string | MR_std_vector_std_string |
| typedef enum MR_FillingSurface_TPMS_Type | MR_FillingSurface_TPMS_Type |
| Supported types of TPMS (Triply Periodic Minimal Surfaces) | |
| typedef struct MR_FillingSurface_TPMS_VolumeParams | MR_FillingSurface_TPMS_VolumeParams |
| typedef struct MR_FillingSurface_TPMS_MeshParams | MR_FillingSurface_TPMS_MeshParams |
| typedef struct MR_FillingSurface_CellularSurface_Params | MR_FillingSurface_CellularSurface_Params |
Generated from class MR::FillingSurface::CellularSurface::Params. | |
| typedef enum MR_FillingSurface_Kind | MR_FillingSurface_Kind |
Enumerations | |
| enum | MR_FillingSurface_TPMS_Type { MR_FillingSurface_TPMS_Type_SchwartzP = 0 , MR_FillingSurface_TPMS_Type_ThickSchwartzP = 1 , MR_FillingSurface_TPMS_Type_DoubleGyroid = 2 , MR_FillingSurface_TPMS_Type_ThickGyroid = 3 , MR_FillingSurface_TPMS_Type_Count = 4 } |
| Supported types of TPMS (Triply Periodic Minimal Surfaces) More... | |
| enum | MR_FillingSurface_Kind { MR_FillingSurface_Kind_TPMS = 0 , MR_FillingSurface_Kind_Cellular = 1 } |
| typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string |
Generated from class MR::FillingSurface::CellularSurface::Params.
| typedef enum MR_FillingSurface_Kind MR_FillingSurface_Kind |
Generated from class MR::FillingSurface::TPMS::MeshParams. Base classes: Direct: (non-virtual) MR::FillingSurface::TPMS::VolumeParams
| typedef enum MR_FillingSurface_TPMS_Type MR_FillingSurface_TPMS_Type |
Supported types of TPMS (Triply Periodic Minimal Surfaces)
Generated from class MR::FillingSurface::TPMS::VolumeParams. Derived classes: Direct: (non-virtual) MR::FillingSurface::TPMS::MeshParams
| typedef struct MR_FunctionVolume MR_FunctionVolume |
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| typedef struct MR_std_optional_float MR_std_optional_float |
| typedef struct MR_std_vector_std_string MR_std_vector_std_string |
| MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_CellularSurface_build | ( | const MR_Vector3f * | size, |
| const MR_FillingSurface_CellularSurface_Params * | params, | ||
| const MR_std_function_bool_from_float * | cb ) |
Build a cellular surface of size size Generated from function MR::FillingSurface::CellularSurface::build. Parameter size can not be null. It is a single object. Parameter params can not be null. It is a single object. 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_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API float MR_FillingSurface_CellularSurface_estimateDensity | ( | float | period, |
| float | width, | ||
| float | r ) |
Estimate the density of the cellular surface Generated from function MR::FillingSurface::CellularSurface::estimateDensity.
| MRC_API MR_std_optional_float * MR_FillingSurface_CellularSurface_estimateWidth | ( | float | period, |
| float | r, | ||
| float | targetDensity ) |
Estimate the width that is needed to attain the targetDensity. Inverse of estimateDensity.
MR::FillingSurface::CellularSurface::estimateWidth. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_float_Destroy() to free it when you're done using it. | MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_CellularSurface_fill | ( | const MR_Mesh * | mesh, |
| const MR_FillingSurface_CellularSurface_Params * | params, | ||
| const MR_std_function_bool_from_float * | cb ) |
Fill given mesh with a cellular surface Generated from function MR::FillingSurface::CellularSurface::fill. Parameter mesh can not be null. It is a single object. Parameter params can not be null. It is a single object. 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_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_AssignFromAnother | ( | MR_FillingSurface_CellularSurface_Params * | _this, |
| const MR_FillingSurface_CellularSurface_Params * | _other ) |
Generated from a method of class MR::FillingSurface::CellularSurface::Params named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_ConstructFrom | ( | MR_Vector3f | period, |
| MR_Vector3f | width, | ||
| float | r, | ||
| bool | highRes ) |
Constructs MR::FillingSurface::CellularSurface::Params elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_ConstructFromAnother | ( | const MR_FillingSurface_CellularSurface_Params * | _other | ) |
Generated from a constructor of class MR::FillingSurface::CellularSurface::Params. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_CellularSurface_Params_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_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_FillingSurface_CellularSurface_Params_DestroyArray(). Use MR_FillingSurface_CellularSurface_Params_OffsetMutablePtr() and MR_FillingSurface_CellularSurface_Params_OffsetPtr() to access the array elements.
| MRC_API void MR_FillingSurface_CellularSurface_Params_Destroy | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
Destroys a heap-allocated instance of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.
| MRC_API void MR_FillingSurface_CellularSurface_Params_DestroyArray | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
Destroys a heap-allocated array of MR_FillingSurface_CellularSurface_Params. Does nothing if the pointer is null.
| MRC_API const bool * MR_FillingSurface_CellularSurface_Params_Get_highRes | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. 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_Vector3f * MR_FillingSurface_CellularSurface_Params_Get_period | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
the distance between consecutive cylinders in each direction Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named period. Parameter _this can not be null. It is a single object.
| MRC_API const float * MR_FillingSurface_CellularSurface_Params_Get_r | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
the radius of uniting spheres Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named r. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Vector3f * MR_FillingSurface_CellularSurface_Params_Get_width | ( | const MR_FillingSurface_CellularSurface_Params * | _this | ) |
the width of cylinders in each direction Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named width. Parameter _this can not be null. It is a single object.
| MRC_API bool * MR_FillingSurface_CellularSurface_Params_GetMutable_highRes | ( | MR_FillingSurface_CellularSurface_Params * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. 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_Vector3f * MR_FillingSurface_CellularSurface_Params_GetMutable_period | ( | MR_FillingSurface_CellularSurface_Params * | _this | ) |
the width of cylinders in each direction Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named width. 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 float * MR_FillingSurface_CellularSurface_Params_GetMutable_r | ( | MR_FillingSurface_CellularSurface_Params * | _this | ) |
| MRC_API MR_Vector3f * MR_FillingSurface_CellularSurface_Params_GetMutable_width | ( | MR_FillingSurface_CellularSurface_Params * | _this | ) |
the radius of uniting spheres Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named r. 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_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_OffsetMutablePtr | ( | MR_FillingSurface_CellularSurface_Params * | 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_FillingSurface_CellularSurface_Params * MR_FillingSurface_CellularSurface_Params_OffsetPtr | ( | const MR_FillingSurface_CellularSurface_Params * | 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_FillingSurface_CellularSurface_Params_Set_highRes | ( | MR_FillingSurface_CellularSurface_Params * | _this, |
| bool | value ) |
Modifies a member variable of class MR::FillingSurface::CellularSurface::Params named highRes. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FillingSurface_CellularSurface_Params_Set_period | ( | MR_FillingSurface_CellularSurface_Params * | _this, |
| MR_Vector3f | value ) |
the distance between consecutive cylinders in each direction Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named period. 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_FillingSurface_CellularSurface_Params_Set_r | ( | MR_FillingSurface_CellularSurface_Params * | _this, |
| float | value ) |
the radius of uniting spheres Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named r. 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_FillingSurface_CellularSurface_Params_Set_width | ( | MR_FillingSurface_CellularSurface_Params * | _this, |
| MR_Vector3f | value ) |
the width of cylinders in each direction Returns a mutable pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named width. 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_vector_std_string * MR_FillingSurface_getKindNames | ( | void | ) |
Generated from function MR::FillingSurface::getKindNames. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_TPMS_build | ( | const MR_Vector3f * | size, |
| const MR_FillingSurface_TPMS_MeshParams * | params, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Constructs TPMS level-set and then convert it to mesh Generated from function MR::FillingSurface::TPMS::build. Parameter size can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_FunctionVolume * MR_FillingSurface_TPMS_buildVolume | ( | const MR_Vector3f * | size, |
| const MR_FillingSurface_TPMS_VolumeParams * | params ) |
Construct TPMS using implicit function (https://www.researchgate.net/publication/350658078_Computational_method_and_program_for_generating_a_porous_scaffold_based_on_implicit_surfaces)
| size | Size of the cube with the surface |
size Generated from function MR::FillingSurface::TPMS::buildVolume. Parameter size 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_FunctionVolume_Destroy() to free it when you're done using it. | MRC_API float MR_FillingSurface_TPMS_estimateDensity | ( | MR_FillingSurface_TPMS_Type | type, |
| float | targetIso ) |
Returns approximate density corresponding to the given ISO value
| targetIso | value in [-1; 1] |
MR::FillingSurface::TPMS::estimateDensity. | MRC_API float MR_FillingSurface_TPMS_estimateIso | ( | MR_FillingSurface_TPMS_Type | type, |
| float | targetDensity ) |
Returns approximated ISO value corresponding to the given density
| targetDensity | value in [0; 1] |
MR::FillingSurface::TPMS::estimateIso. | MRC_API MR_expected_MR_Mesh_std_string * MR_FillingSurface_TPMS_fill | ( | const MR_Mesh * | mesh, |
| const MR_FillingSurface_TPMS_MeshParams * | params, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Constructs TPMS-filling for the given mesh Generated from function MR::FillingSurface::TPMS::fill. Parameter mesh can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API float MR_FillingSurface_TPMS_getMinimalResolution | ( | MR_FillingSurface_TPMS_Type | type, |
| float | iso ) |
Returns minimal reasonable resolution for given parameters Generated from function MR::FillingSurface::TPMS::getMinimalResolution. the distance between consecutive cylinders in each direction Returns a pointer to a member variable of class MR::FillingSurface::CellularSurface::Params named period. 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_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Mesh | ( | const MR_Mesh * | mesh, |
| float | frequency, | ||
| float | resolution ) |
Returns number of voxels that would be used to perform fillWithTPMS Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels. Parameter mesh can not be null. It is a single object.
| MRC_API MR_uint64_t MR_FillingSurface_TPMS_getNumberOfVoxels_MR_Vector3f | ( | const MR_Vector3f * | size, |
| float | frequency, | ||
| float | resolution ) |
Returns number of voxels that would be used to perform buildTPMS or buildTPMSVolume Generated from function MR::FillingSurface::TPMS::getNumberOfVoxels. Parameter size can not be null. It is a single object.
| MRC_API MR_std_vector_std_string * MR_FillingSurface_TPMS_getTypeNames | ( | void | ) |
Returns the names for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeNames. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_std_vector_std_string * MR_FillingSurface_TPMS_getTypeTooltips | ( | void | ) |
Returns the tooltips for each type of filling Generated from function MR::FillingSurface::TPMS::getTypeTooltips. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.
| MRC_API bool MR_FillingSurface_TPMS_isThick | ( | MR_FillingSurface_TPMS_Type | type | ) |
Returns true if the type is thick Generated from function MR::FillingSurface::TPMS::isThick.
| MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_AssignFromAnother | ( | MR_FillingSurface_TPMS_MeshParams * | _this, |
| const MR_FillingSurface_TPMS_MeshParams * | _other ) |
Generated from a method of class MR::FillingSurface::TPMS::MeshParams named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_ConstructFromAnother | ( | const MR_FillingSurface_TPMS_MeshParams * | _other | ) |
Generated from a constructor of class MR::FillingSurface::TPMS::MeshParams. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_MeshParams_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_MeshParams_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_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_FillingSurface_TPMS_MeshParams_DestroyArray(). Use MR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr() and MR_FillingSurface_TPMS_MeshParams_OffsetPtr() to access the array elements.
| MRC_API void MR_FillingSurface_TPMS_MeshParams_Destroy | ( | const MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Destroys a heap-allocated instance of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.
| MRC_API void MR_FillingSurface_TPMS_MeshParams_DestroyArray | ( | const MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Destroys a heap-allocated array of MR_FillingSurface_TPMS_MeshParams. Does nothing if the pointer is null.
| MRC_API const bool * MR_FillingSurface_TPMS_MeshParams_Get_decimate | ( | const MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. 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 float * MR_FillingSurface_TPMS_MeshParams_Get_iso | ( | const MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. 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_FillingSurface_TPMS_MeshParams_GetMutable_decimate | ( | MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. 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 float * MR_FillingSurface_TPMS_MeshParams_GetMutable_iso | ( | MR_FillingSurface_TPMS_MeshParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. 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_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_MeshParams_MutableUpcastTo_MR_FillingSurface_TPMS_VolumeParams | ( | MR_FillingSurface_TPMS_MeshParams * | object | ) |
Upcasts an instance of MR::FillingSurface::TPMS::MeshParams to its base class MR::FillingSurface::TPMS::VolumeParams.
| MRC_API MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_OffsetMutablePtr | ( | MR_FillingSurface_TPMS_MeshParams * | 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_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_MeshParams_OffsetPtr | ( | const MR_FillingSurface_TPMS_MeshParams * | 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_FillingSurface_TPMS_MeshParams_Set_decimate | ( | MR_FillingSurface_TPMS_MeshParams * | _this, |
| bool | value ) |
Modifies a member variable of class MR::FillingSurface::TPMS::MeshParams named decimate. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FillingSurface_TPMS_MeshParams_Set_iso | ( | MR_FillingSurface_TPMS_MeshParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::FillingSurface::TPMS::MeshParams named iso. Parameter _this can not be null. It is a single object.
| MRC_API const MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_MeshParams_UpcastTo_MR_FillingSurface_TPMS_VolumeParams | ( | const MR_FillingSurface_TPMS_MeshParams * | object | ) |
Upcasts an instance of MR::FillingSurface::TPMS::MeshParams to its base class MR::FillingSurface::TPMS::VolumeParams. This version is acting on mutable pointers.
| MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_AssignFromAnother | ( | MR_FillingSurface_TPMS_VolumeParams * | _this, |
| const MR_FillingSurface_TPMS_VolumeParams * | _other ) |
Generated from a method of class MR::FillingSurface::TPMS::VolumeParams named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_ConstructFrom | ( | MR_FillingSurface_TPMS_Type | type, |
| float | frequency, | ||
| float | resolution ) |
Constructs MR::FillingSurface::TPMS::VolumeParams elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_ConstructFromAnother | ( | const MR_FillingSurface_TPMS_VolumeParams * | _other | ) |
Generated from a constructor of class MR::FillingSurface::TPMS::VolumeParams. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FillingSurface_TPMS_VolumeParams_Destroy() to free it when you're done using it.
| MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_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_FillingSurface_TPMS_VolumeParams_DestroyArray(). Use MR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr() and MR_FillingSurface_TPMS_VolumeParams_OffsetPtr() to access the array elements.
| MRC_API void MR_FillingSurface_TPMS_VolumeParams_Destroy | ( | const MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Destroys a heap-allocated instance of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.
| MRC_API void MR_FillingSurface_TPMS_VolumeParams_DestroyArray | ( | const MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Destroys a heap-allocated array of MR_FillingSurface_TPMS_VolumeParams. Does nothing if the pointer is null.
| MRC_API const float * MR_FillingSurface_TPMS_VolumeParams_Get_frequency | ( | const MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. 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 float * MR_FillingSurface_TPMS_VolumeParams_Get_resolution | ( | const MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. 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_FillingSurface_TPMS_Type * MR_FillingSurface_TPMS_VolumeParams_Get_type | ( | const MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. 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 float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_frequency | ( | MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. 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 float * MR_FillingSurface_TPMS_VolumeParams_GetMutable_resolution | ( | MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. 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_FillingSurface_TPMS_Type * MR_FillingSurface_TPMS_VolumeParams_GetMutable_type | ( | MR_FillingSurface_TPMS_VolumeParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. 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_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_VolumeParams_MutableStaticDowncastTo_MR_FillingSurface_TPMS_MeshParams | ( | MR_FillingSurface_TPMS_VolumeParams * | object | ) |
Downcasts an instance of MR::FillingSurface::TPMS::VolumeParams to a derived class MR::FillingSurface::TPMS::MeshParams. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_OffsetMutablePtr | ( | MR_FillingSurface_TPMS_VolumeParams * | 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_FillingSurface_TPMS_VolumeParams * MR_FillingSurface_TPMS_VolumeParams_OffsetPtr | ( | const MR_FillingSurface_TPMS_VolumeParams * | 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_FillingSurface_TPMS_VolumeParams_Set_frequency | ( | MR_FillingSurface_TPMS_VolumeParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named frequency. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_resolution | ( | MR_FillingSurface_TPMS_VolumeParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named resolution. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FillingSurface_TPMS_VolumeParams_Set_type | ( | MR_FillingSurface_TPMS_VolumeParams * | _this, |
| MR_FillingSurface_TPMS_Type | value ) |
Modifies a member variable of class MR::FillingSurface::TPMS::VolumeParams named type. Parameter _this can not be null. It is a single object.
| MRC_API const MR_FillingSurface_TPMS_MeshParams * MR_FillingSurface_TPMS_VolumeParams_StaticDowncastTo_MR_FillingSurface_TPMS_MeshParams | ( | const MR_FillingSurface_TPMS_VolumeParams * | object | ) |
Downcasts an instance of MR::FillingSurface::TPMS::VolumeParams to a derived class MR::FillingSurface::TPMS::MeshParams. 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.