Go to the source code of this file.
Typedefs | |
| typedef struct MR_NoiseSettings | MR_NoiseSettings |
| typedef struct MR_NoiseSettings MR_NoiseSettings |
Generated from class MR::NoiseSettings. 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_addNoise_MR_Mesh | ( | MR_Mesh * | mesh, |
| const MR_VertBitSet * | region, | ||
| const MR_NoiseSettings * | settings ) |
Generated from function MR::addNoise. Parameter mesh can not be null. It is a single object. Parameter region defaults to a null pointer in C++. 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_void_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_void_std_string * MR_addNoise_MR_VertCoords | ( | MR_VertCoords * | points, |
| const MR_VertBitSet * | validVerts, | ||
| MR_PassBy | settings_pass_by, | ||
| MR_NoiseSettings * | settings ) |
Generated from function MR::addNoise. Parameter points can not be null. It is a single object. Parameter validVerts 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_NoiseSettings * MR_NoiseSettings_AssignFromAnother | ( | MR_NoiseSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_NoiseSettings * | _other ) |
Generated from method MR::NoiseSettings::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_NoiseSettings * MR_NoiseSettings_ConstructFrom | ( | float | sigma, |
| unsigned int | seed, | ||
| MR_PassBy | callback_pass_by, | ||
| MR_std_function_bool_from_float * | callback ) |
Constructs MR::NoiseSettings elementwise. The reference to the parameter seed might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_NoiseSettings_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_NoiseSettings * MR_NoiseSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_NoiseSettings * | _other ) |
Generated from constructor MR::NoiseSettings::NoiseSettings. 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_NoiseSettings_Destroy() to free it when you're done using it.
| MRC_API MR_NoiseSettings * MR_NoiseSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_NoiseSettings_Destroy() to free it when you're done using it.
| MRC_API MR_NoiseSettings * MR_NoiseSettings_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_NoiseSettings_DestroyArray(). Use MR_NoiseSettings_OffsetMutablePtr() and MR_NoiseSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_NoiseSettings_Destroy | ( | const MR_NoiseSettings * | _this | ) |
Destroys a heap-allocated instance of MR_NoiseSettings. Does nothing if the pointer is null.
| MRC_API void MR_NoiseSettings_DestroyArray | ( | const MR_NoiseSettings * | _this | ) |
Destroys a heap-allocated array of MR_NoiseSettings. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_NoiseSettings_Get_callback | ( | const MR_NoiseSettings * | _this | ) |
Returns a pointer to a member variable of class MR::NoiseSettings 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. The reference to this object might be preserved as the return value.
| MRC_API const unsigned int * MR_NoiseSettings_Get_seed | ( | const MR_NoiseSettings * | _this | ) |
Returns a pointer to a member variable of class MR::NoiseSettings named seed. 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_NoiseSettings_Get_sigma | ( | const MR_NoiseSettings * | _this | ) |
Returns a pointer to a member variable of class MR::NoiseSettings named sigma. 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_NoiseSettings_GetMutable_callback | ( | MR_NoiseSettings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::NoiseSettings 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. The reference to this object might be preserved as the return value.
| MRC_API unsigned int * MR_NoiseSettings_GetMutable_seed | ( | MR_NoiseSettings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::NoiseSettings named seed. 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_NoiseSettings_GetMutable_sigma | ( | MR_NoiseSettings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::NoiseSettings named sigma. 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_NoiseSettings * MR_NoiseSettings_OffsetMutablePtr | ( | MR_NoiseSettings * | 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_NoiseSettings * MR_NoiseSettings_OffsetPtr | ( | const MR_NoiseSettings * | 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_NoiseSettings_Set_callback | ( | MR_NoiseSettings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Modifies a member variable of class MR::NoiseSettings named callback. 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 callback. When this function is called, this object will drop object references it held previously in callback.
| MRC_API void MR_NoiseSettings_Set_seed | ( | MR_NoiseSettings * | _this, |
| unsigned int | value ) |
Modifies a member variable of class MR::NoiseSettings named seed. 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 seed. When this function is called, this object will drop object references it held previously in seed.
| MRC_API void MR_NoiseSettings_Set_sigma | ( | MR_NoiseSettings * | _this, |
| float | value ) |
Modifies a member variable of class MR::NoiseSettings named sigma. 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 sigma.