Go to the source code of this file.
Typedefs | |
| typedef struct MR_BitSet | MR_BitSet |
| typedef struct MR_std_vector_MR_Vector3f | MR_std_vector_MR_Vector3f |
| typedef struct MR_MarkedContour3f | MR_MarkedContour3f |
| typedef struct MR_SplineSettings | MR_SplineSettings |
| typedef struct MR_MarkedContour3f MR_MarkedContour3f |
Generated from class MR::MarkedContour3f. 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_SplineSettings MR_SplineSettings |
Generated from class MR::SplineSettings. 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_Vector3f MR_std_vector_MR_Vector3f |
| MRC_API bool MR_isClosed_std_vector_MR_Vector3f | ( | const MR_std_vector_MR_Vector3f * | c | ) |
Generated from function MR::isClosed. Parameter c can not be null. It is a single object.
| MRC_API MR_MarkedContour3f * MR_makeSpline_2 | ( | const MR_std_vector_MR_Vector3f * | controlPoints, |
| const MR_SplineSettings * | settings ) |
| controlPoints | ordered point the spline to interpolate |
MR::makeSpline. Parameter controlPoints can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. | MRC_API MR_MarkedContour3f * MR_makeSpline_3_float | ( | MR_PassBy | in_pass_by, |
| MR_MarkedContour3f * | in, | ||
| const float * | markStability, | ||
| const MR_std_vector_MR_Vector3f * | normals ) |
| in | input marked contour |
| markStability | a positive value, the more the value the closer marked points will be to their original positions |
| normals | if provided the curve at marked points will try to be orthogonal to given normal there |
MR::makeSpline. Parameter markStability has a default argument: 1, pass a null pointer to use it. Parameter normals defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. | MRC_API MR_MarkedContour3f * MR_makeSpline_3_std_vector_MR_Vector3f | ( | MR_PassBy | in_pass_by, |
| MR_MarkedContour3f * | in, | ||
| const MR_std_vector_MR_Vector3f * | normals, | ||
| const float * | markStability ) |
| in | input marked contour |
| normals | the curve at marked points will try to be orthogonal to given normal there |
| markStability | a positive value, the more the value the closer marked points will be to their original positions |
MR::makeSpline. Parameter normals can not be null. It is a single object. Parameter markStability has a default argument: 1, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. | MRC_API MR_MarkedContour3f * MR_markedContour | ( | MR_PassBy | in_pass_by, |
| MR_std_vector_MR_Vector3f * | in ) |
MR::markedContour. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. | MRC_API MR_MarkedContour3f * MR_MarkedContour3f_AssignFromAnother | ( | MR_MarkedContour3f * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_MarkedContour3f * | _other ) |
Generated from method MR::MarkedContour3f::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_MarkedContour3f * MR_MarkedContour3f_ConstructFrom | ( | MR_PassBy | contour_pass_by, |
| MR_std_vector_MR_Vector3f * | contour, | ||
| MR_PassBy | marks_pass_by, | ||
| MR_BitSet * | marks ) |
Constructs MR::MarkedContour3f elementwise. The reference to the parameter contour might be preserved in the constructed object. The reference to the parameter marks might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_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_MarkedContour3f * MR_MarkedContour3f_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_MarkedContour3f * | _other ) |
Generated from constructor MR::MarkedContour3f::MarkedContour3f. 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_MarkedContour3f_Destroy() to free it when you're done using it.
| MRC_API MR_MarkedContour3f * MR_MarkedContour3f_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it.
| MRC_API MR_MarkedContour3f * MR_MarkedContour3f_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_MarkedContour3f_DestroyArray(). Use MR_MarkedContour3f_OffsetMutablePtr() and MR_MarkedContour3f_OffsetPtr() to access the array elements.
| MRC_API void MR_MarkedContour3f_Destroy | ( | const MR_MarkedContour3f * | _this | ) |
Destroys a heap-allocated instance of MR_MarkedContour3f. Does nothing if the pointer is null.
| MRC_API void MR_MarkedContour3f_DestroyArray | ( | const MR_MarkedContour3f * | _this | ) |
Destroys a heap-allocated array of MR_MarkedContour3f. Does nothing if the pointer is null.
| MRC_API const MR_std_vector_MR_Vector3f * MR_MarkedContour3f_Get_contour | ( | const MR_MarkedContour3f * | _this | ) |
Returns a pointer to a member variable of class MR::MarkedContour3f named contour. 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_BitSet * MR_MarkedContour3f_Get_marks | ( | const MR_MarkedContour3f * | _this | ) |
indices of control (marked) points Modifies a member variable of class MR::MarkedContour3f named marks. 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 marks. When this function is called, this object will drop object references it had previously in marks.
| MRC_API MR_std_vector_MR_Vector3f * MR_MarkedContour3f_GetMutable_contour | ( | MR_MarkedContour3f * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MarkedContour3f named contour. 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. indices of control (marked) points Returns a pointer to a member variable of class MR::MarkedContour3f named marks. 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_BitSet * MR_MarkedContour3f_GetMutable_marks | ( | MR_MarkedContour3f * | _this | ) |
| MRC_API MR_MarkedContour3f * MR_MarkedContour3f_OffsetMutablePtr | ( | MR_MarkedContour3f * | 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_MarkedContour3f * MR_MarkedContour3f_OffsetPtr | ( | const MR_MarkedContour3f * | 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_MarkedContour3f_Set_contour | ( | MR_MarkedContour3f * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_vector_MR_Vector3f * | value ) |
Modifies a member variable of class MR::MarkedContour3f named contour. 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 contour. When this function is called, this object will drop object references it had previously in contour.
| MRC_API void MR_MarkedContour3f_Set_marks | ( | MR_MarkedContour3f * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_BitSet * | value ) |
indices of control (marked) points Returns a mutable pointer to a member variable of class MR::MarkedContour3f named marks. 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_MarkedContour3f * MR_markedFirstLast | ( | MR_PassBy | in_pass_by, |
| MR_std_vector_MR_Vector3f * | in ) |
MR::markedFirstLast. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. | MRC_API MR_MarkedContour3f * MR_resample | ( | const MR_MarkedContour3f * | in, |
| float | minStep, | ||
| MR_std_vector_MR_Vector3f * | normals ) |
keeps all marked points from input contour and adds/removes other points to have them as many as possible, but at the distance along the input line not shorter than (minStep) from their neighbor points
| normals | optional parameter with the normals of input points that will be resampled to become normals of output points Generated from function MR::resample. Parameter in can not be null. It is a single object. Parameter normals defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_MarkedContour3f_Destroy() to free it when you're done using it. |
| MRC_API MR_SplineSettings * MR_SplineSettings_AssignFromAnother | ( | MR_SplineSettings * | _this, |
| const MR_SplineSettings * | _other ) |
Generated from method MR::SplineSettings::operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_SplineSettings * MR_SplineSettings_ConstructFrom | ( | float | samplingStep, |
| float | controlStability, | ||
| int | iterations, | ||
| MR_std_vector_MR_Vector3f * | normals, | ||
| bool | normalsAffectShape ) |
Constructs MR::SplineSettings elementwise. The reference to the parameter normals might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SplineSettings_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_SplineSettings * MR_SplineSettings_ConstructFromAnother | ( | const MR_SplineSettings * | _other | ) |
Generated from constructor MR::SplineSettings::SplineSettings. Parameter _other 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 the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SplineSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SplineSettings * MR_SplineSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SplineSettings_Destroy() to free it when you're done using it.
| MRC_API MR_SplineSettings * MR_SplineSettings_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_SplineSettings_DestroyArray(). Use MR_SplineSettings_OffsetMutablePtr() and MR_SplineSettings_OffsetPtr() to access the array elements.
| MRC_API void MR_SplineSettings_Destroy | ( | const MR_SplineSettings * | _this | ) |
Destroys a heap-allocated instance of MR_SplineSettings. Does nothing if the pointer is null.
| MRC_API void MR_SplineSettings_DestroyArray | ( | const MR_SplineSettings * | _this | ) |
Destroys a heap-allocated array of MR_SplineSettings. Does nothing if the pointer is null.
| MRC_API const float * MR_SplineSettings_Get_controlStability | ( | const MR_SplineSettings * | _this | ) |
a positive value, the more the value the closer resulting spline will be to given control points Returns a pointer to a member variable of class MR::SplineSettings named controlStability. 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 int * MR_SplineSettings_Get_iterations | ( | const MR_SplineSettings * | _this | ) |
the shape of resulting spline depends on the total number of points in the contour, which in turn depends on the length of input contour being sampled; setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm Returns a pointer to a member variable of class MR::SplineSettings named iterations. 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_MR_Vector3f *const * MR_SplineSettings_Get_normals | ( | const MR_SplineSettings * | _this | ) |
optional parameter with the normals of input points that will be resampled to become normals of output points Returns a pointer to a member variable of class MR::SplineSettings 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 const bool * MR_SplineSettings_Get_normalsAffectShape | ( | const MR_SplineSettings * | _this | ) |
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there Returns a pointer to a member variable of class MR::SplineSettings named normalsAffectShape. 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_SplineSettings_Get_samplingStep | ( | const MR_SplineSettings * | _this | ) |
additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance Returns a pointer to a member variable of class MR::SplineSettings named samplingStep. 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_SplineSettings_GetMutable_controlStability | ( | MR_SplineSettings * | _this | ) |
a positive value, the more the value the closer resulting spline will be to given control points Returns a mutable pointer to a member variable of class MR::SplineSettings named controlStability. 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 int * MR_SplineSettings_GetMutable_iterations | ( | MR_SplineSettings * | _this | ) |
the shape of resulting spline depends on the total number of points in the contour, which in turn depends on the length of input contour being sampled; setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm Returns a mutable pointer to a member variable of class MR::SplineSettings named iterations. 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_MR_Vector3f ** MR_SplineSettings_GetMutable_normals | ( | MR_SplineSettings * | _this | ) |
optional parameter with the normals of input points that will be resampled to become normals of output points Returns a mutable pointer to a member variable of class MR::SplineSettings 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 bool * MR_SplineSettings_GetMutable_normalsAffectShape | ( | MR_SplineSettings * | _this | ) |
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there Returns a mutable pointer to a member variable of class MR::SplineSettings named normalsAffectShape. 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_SplineSettings_GetMutable_samplingStep | ( | MR_SplineSettings * | _this | ) |
additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance Returns a mutable pointer to a member variable of class MR::SplineSettings named samplingStep. 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_SplineSettings * MR_SplineSettings_OffsetMutablePtr | ( | MR_SplineSettings * | 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_SplineSettings * MR_SplineSettings_OffsetPtr | ( | const MR_SplineSettings * | 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_SplineSettings_Set_controlStability | ( | MR_SplineSettings * | _this, |
| float | value ) |
a positive value, the more the value the closer resulting spline will be to given control points Modifies a member variable of class MR::SplineSettings named controlStability. 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 controlStability.
| MRC_API void MR_SplineSettings_Set_iterations | ( | MR_SplineSettings * | _this, |
| int | value ) |
the shape of resulting spline depends on the total number of points in the contour, which in turn depends on the length of input contour being sampled; setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm Modifies a member variable of class MR::SplineSettings named iterations. 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 iterations.
| MRC_API void MR_SplineSettings_Set_normals | ( | MR_SplineSettings * | _this, |
| MR_std_vector_MR_Vector3f * | value ) |
optional parameter with the normals of input points that will be resampled to become normals of output points Modifies a member variable of class MR::SplineSettings named normals. 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 normals. When this function is called, this object will drop object references it had previously in normals.
| MRC_API void MR_SplineSettings_Set_normalsAffectShape | ( | MR_SplineSettings * | _this, |
| bool | value ) |
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there Modifies a member variable of class MR::SplineSettings named normalsAffectShape. 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 normalsAffectShape.
| MRC_API void MR_SplineSettings_Set_samplingStep | ( | MR_SplineSettings * | _this, |
| float | value ) |
additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance Modifies a member variable of class MR::SplineSettings named samplingStep. 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 samplingStep.