#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
|
| MRC_API const int * | MR_ImproveSamplingSettings_Get_numIters (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_numIters (MR_ImproveSamplingSettings *_this, int value) |
| MRC_API int * | MR_ImproveSamplingSettings_GetMutable_numIters (MR_ImproveSamplingSettings *_this) |
| MRC_API const int * | MR_ImproveSamplingSettings_Get_minPointsInSample (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_minPointsInSample (MR_ImproveSamplingSettings *_this, int value) |
| MRC_API int * | MR_ImproveSamplingSettings_GetMutable_minPointsInSample (MR_ImproveSamplingSettings *_this) |
| MRC_API MR_VertMap *const * | MR_ImproveSamplingSettings_Get_pt2sm (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_pt2sm (MR_ImproveSamplingSettings *_this, MR_VertMap *value) |
| MRC_API MR_VertMap ** | MR_ImproveSamplingSettings_GetMutable_pt2sm (MR_ImproveSamplingSettings *_this) |
| MRC_API MR_PointCloud *const * | MR_ImproveSamplingSettings_Get_cloudOfSamples (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_cloudOfSamples (MR_ImproveSamplingSettings *_this, MR_PointCloud *value) |
| MRC_API MR_PointCloud ** | MR_ImproveSamplingSettings_GetMutable_cloudOfSamples (MR_ImproveSamplingSettings *_this) |
| MRC_API MR_Vector_int_MR_VertId *const * | MR_ImproveSamplingSettings_Get_ptsInSm (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_ptsInSm (MR_ImproveSamplingSettings *_this, MR_Vector_int_MR_VertId *value) |
| MRC_API MR_Vector_int_MR_VertId ** | MR_ImproveSamplingSettings_GetMutable_ptsInSm (MR_ImproveSamplingSettings *_this) |
| MRC_API const MR_VertColors *const * | MR_ImproveSamplingSettings_Get_ptColors (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_ptColors (MR_ImproveSamplingSettings *_this, const MR_VertColors *value) |
| MRC_API const MR_VertColors ** | MR_ImproveSamplingSettings_GetMutable_ptColors (MR_ImproveSamplingSettings *_this) |
| MRC_API MR_VertColors *const * | MR_ImproveSamplingSettings_Get_smColors (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_smColors (MR_ImproveSamplingSettings *_this, MR_VertColors *value) |
| MRC_API MR_VertColors ** | MR_ImproveSamplingSettings_GetMutable_smColors (MR_ImproveSamplingSettings *_this) |
| MRC_API const MR_std_function_bool_from_float * | MR_ImproveSamplingSettings_Get_progress (const MR_ImproveSamplingSettings *_this) |
| MRC_API void | MR_ImproveSamplingSettings_Set_progress (MR_ImproveSamplingSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value) |
| MRC_API MR_std_function_bool_from_float * | MR_ImproveSamplingSettings_GetMutable_progress (MR_ImproveSamplingSettings *_this) |
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_DefaultConstruct (void) |
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_DefaultConstructArray (size_t num_elems) |
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_ConstructFrom (int numIters, int minPointsInSample, MR_VertMap *pt2sm, MR_PointCloud *cloudOfSamples, MR_Vector_int_MR_VertId *ptsInSm, const MR_VertColors *ptColors, MR_VertColors *smColors, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress) |
| MRC_API const MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_OffsetPtr (const MR_ImproveSamplingSettings *ptr, ptrdiff_t i) |
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_OffsetMutablePtr (MR_ImproveSamplingSettings *ptr, ptrdiff_t i) |
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ImproveSamplingSettings *_other) |
| MRC_API void | MR_ImproveSamplingSettings_Destroy (const MR_ImproveSamplingSettings *_this) |
| | Destroys a heap-allocated instance of MR_ImproveSamplingSettings. Does nothing if the pointer is null.
|
| MRC_API void | MR_ImproveSamplingSettings_DestroyArray (const MR_ImproveSamplingSettings *_this) |
| | Destroys a heap-allocated array of MR_ImproveSamplingSettings. Does nothing if the pointer is null.
|
| MRC_API MR_ImproveSamplingSettings * | MR_ImproveSamplingSettings_AssignFromAnother (MR_ImproveSamplingSettings *_this, MR_PassBy _other_pass_by, MR_ImproveSamplingSettings *_other) |
| MRC_API bool | MR_improveSampling (const MR_PointCloud *cloud, MR_VertBitSet *samples, const MR_ImproveSamplingSettings *settings) |
◆ MR_ImproveSamplingSettings
Generated from class MR::ImproveSamplingSettings. 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).
◆ MR_Vector_int_MR_VertId
std::vector<T>-like container that requires specific indexing type,
- Template Parameters
-
| T | type of stored elements |
| I | type of index (shall be convertible to size_t) Generated from class MR::Vector<int, MR::VertId>. 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). |
◆ MR_improveSampling()
Finds more representative sampling starting from a given one following k-means method;
- Parameters
-
| samples | input and output selected sample points from |
| cloud; | |
- Returns
- false if it was terminated by the callback Generated from function MR::improveSampling. Parameter cloud can not be null. It is a single object. Parameter samples can not be null. It is a single object. Parameter settings can not be null. It is a single object.
◆ MR_ImproveSamplingSettings_AssignFromAnother()
Generated from method MR::ImproveSamplingSettings::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.
◆ MR_ImproveSamplingSettings_ConstructFrom()
Constructs MR::ImproveSamplingSettings elementwise. The reference to the parameter pt2sm might be preserved in the constructed object. The reference to the parameter cloudOfSamples might be preserved in the constructed object. The reference to the parameter ptsInSm might be preserved in the constructed object. The reference to the parameter ptColors might be preserved in the constructed object. The reference to the parameter smColors might be preserved in the constructed object. 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_ImproveSamplingSettings_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.
◆ MR_ImproveSamplingSettings_ConstructFromAnother()
Generated from constructor MR::ImproveSamplingSettings::ImproveSamplingSettings. 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_ImproveSamplingSettings_Destroy() to free it when you're done using it.
◆ MR_ImproveSamplingSettings_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ImproveSamplingSettings_Destroy() to free it when you're done using it.
◆ MR_ImproveSamplingSettings_DefaultConstructArray()
◆ MR_ImproveSamplingSettings_Destroy()
◆ MR_ImproveSamplingSettings_DestroyArray()
◆ MR_ImproveSamplingSettings_Get_cloudOfSamples()
optional output: new cloud containing averaged points and normals for each sample Returns a pointer to a member variable of class MR::ImproveSamplingSettings named cloudOfSamples. 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.
◆ MR_ImproveSamplingSettings_Get_minPointsInSample()
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Returns a pointer to a member variable of class MR::ImproveSamplingSettings named minPointsInSample. 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.
◆ MR_ImproveSamplingSettings_Get_numIters()
the number of algorithm iterations to perform Returns a pointer to a member variable of class MR::ImproveSamplingSettings named numIters. 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.
◆ MR_ImproveSamplingSettings_Get_progress()
output progress status and receive cancel signal Returns a pointer to a member variable of class MR::ImproveSamplingSettings 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. The reference to this object might be preserved as the return value.
◆ MR_ImproveSamplingSettings_Get_pt2sm()
optional output: mapping from input point id to sample id Returns a pointer to a member variable of class MR::ImproveSamplingSettings named pt2sm. 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.
◆ MR_ImproveSamplingSettings_Get_ptColors()
optional input: colors of input points Returns a pointer to a member variable of class MR::ImproveSamplingSettings named ptColors. 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.
◆ MR_ImproveSamplingSettings_Get_ptsInSm()
optional output: the number of points in each sample Returns a pointer to a member variable of class MR::ImproveSamplingSettings named ptsInSm. 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.
◆ MR_ImproveSamplingSettings_Get_smColors()
optional output: averaged colors of samples Returns a pointer to a member variable of class MR::ImproveSamplingSettings named smColors. 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.
◆ MR_ImproveSamplingSettings_GetMutable_cloudOfSamples()
optional output: new cloud containing averaged points and normals for each sample Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named cloudOfSamples. 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.
◆ MR_ImproveSamplingSettings_GetMutable_minPointsInSample()
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named minPointsInSample. 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.
◆ MR_ImproveSamplingSettings_GetMutable_numIters()
the number of algorithm iterations to perform Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named numIters. 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.
◆ MR_ImproveSamplingSettings_GetMutable_progress()
output progress status and receive cancel signal Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings 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. The reference to this object might be preserved as the return value.
◆ MR_ImproveSamplingSettings_GetMutable_pt2sm()
optional output: mapping from input point id to sample id Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named pt2sm. 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.
◆ MR_ImproveSamplingSettings_GetMutable_ptColors()
optional input: colors of input points Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named ptColors. 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.
◆ MR_ImproveSamplingSettings_GetMutable_ptsInSm()
optional output: the number of points in each sample Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named ptsInSm. 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.
◆ MR_ImproveSamplingSettings_GetMutable_smColors()
optional output: averaged colors of samples Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named smColors. 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.
◆ MR_ImproveSamplingSettings_OffsetMutablePtr()
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.
◆ MR_ImproveSamplingSettings_OffsetPtr()
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.
◆ MR_ImproveSamplingSettings_Set_cloudOfSamples()
optional output: new cloud containing averaged points and normals for each sample Modifies a member variable of class MR::ImproveSamplingSettings named cloudOfSamples. 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 cloudOfSamples. When this function is called, this object will drop object references it held previously in cloudOfSamples.
◆ MR_ImproveSamplingSettings_Set_minPointsInSample()
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Modifies a member variable of class MR::ImproveSamplingSettings named minPointsInSample. 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 minPointsInSample.
◆ MR_ImproveSamplingSettings_Set_numIters()
the number of algorithm iterations to perform Modifies a member variable of class MR::ImproveSamplingSettings named numIters. 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 numIters.
◆ MR_ImproveSamplingSettings_Set_progress()
output progress status and receive cancel signal Modifies a member variable of class MR::ImproveSamplingSettings 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 held previously in progress.
◆ MR_ImproveSamplingSettings_Set_pt2sm()
optional output: mapping from input point id to sample id Modifies a member variable of class MR::ImproveSamplingSettings named pt2sm. 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 pt2sm. When this function is called, this object will drop object references it held previously in pt2sm.
◆ MR_ImproveSamplingSettings_Set_ptColors()
optional input: colors of input points Modifies a member variable of class MR::ImproveSamplingSettings named ptColors. 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 ptColors. When this function is called, this object will drop object references it held previously in ptColors.
◆ MR_ImproveSamplingSettings_Set_ptsInSm()
optional output: the number of points in each sample Modifies a member variable of class MR::ImproveSamplingSettings named ptsInSm. 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 ptsInSm. When this function is called, this object will drop object references it held previously in ptsInSm.
◆ MR_ImproveSamplingSettings_Set_smColors()
optional output: averaged colors of samples Modifies a member variable of class MR::ImproveSamplingSettings named smColors. 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 smColors. When this function is called, this object will drop object references it held previously in smColors.