#include <MRCMesh/MRId.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
| typedef struct MR_PointCloud MR_PointCloud |
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| typedef struct MR_std_optional_MR_VertBitSet MR_std_optional_MR_VertBitSet |
| typedef struct MR_std_optional_std_vector_MR_SomeLocalTriangulations MR_std_optional_std_vector_MR_SomeLocalTriangulations |
| typedef struct MR_std_vector_MR_VertId MR_std_vector_MR_VertId |
| typedef struct MR_TriangulationHelpers_FanOptimizerQueueElement MR_TriangulationHelpers_FanOptimizerQueueElement |
Generated from class MR::TriangulationHelpers::FanOptimizerQueueElement. 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_TriangulationHelpers_Settings MR_TriangulationHelpers_Settings |
Generated from class MR::TriangulationHelpers::Settings. 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_TriangulationHelpers_TriangulatedFanData MR_TriangulationHelpers_TriangulatedFanData |
Data with caches for optimizing fan triangulation.
Generated from class MR::TriangulationHelpers::TriangulatedFanData. 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_VertBitSet MR_VertBitSet |
| typedef struct MR_VertCoords MR_VertCoords |
| MRC_API bool MR_equal_MR_TriangulationHelpers_FanOptimizerQueueElement | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| const MR_TriangulationHelpers_FanOptimizerQueueElement * | other ) |
Generated from method MR::TriangulationHelpers::FanOptimizerQueueElement::operator==. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API bool MR_less_MR_TriangulationHelpers_FanOptimizerQueueElement | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| const MR_TriangulationHelpers_FanOptimizerQueueElement * | other ) |
Generated from method MR::TriangulationHelpers::FanOptimizerQueueElement::operator<. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API void MR_TriangulationHelpers_buildLocalTriangulation | ( | const MR_PointCloud * | cloud, |
| MR_VertId | v, | ||
| const MR_TriangulationHelpers_Settings * | settings, | ||
| MR_TriangulationHelpers_TriangulatedFanData * | fanData ) |
constructs local triangulation around given point Generated from function MR::TriangulationHelpers::buildLocalTriangulation. Parameter cloud can not be null. It is a single object. Parameter settings can not be null. It is a single object. Parameter fanData can not be null. It is a single object.
| MRC_API MR_std_optional_std_vector_MR_SomeLocalTriangulations * MR_TriangulationHelpers_buildLocalTriangulations | ( | const MR_PointCloud * | cloud, |
| const MR_TriangulationHelpers_Settings * | settings, | ||
| const MR_std_function_bool_from_float * | progress ) |
computes all local triangulations of all points in the cloud, and returns them distributed among a set of SomeLocalTriangulations objects Generated from function MR::TriangulationHelpers::buildLocalTriangulations. Parameter cloud can not be null. It is a single object. Parameter settings can not be null. It is a single object. Parameter progress is a single object. Parameter progress has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_std_vector_MR_SomeLocalTriangulations_Destroy() to free it when you're done using it.
| MRC_API MR_std_optional_MR_AllLocalTriangulations * MR_TriangulationHelpers_buildUnitedLocalTriangulations | ( | const MR_PointCloud * | cloud, |
| const MR_TriangulationHelpers_Settings * | settings, | ||
| const MR_std_function_bool_from_float * | progress ) |
computes local triangulations of all points in the cloud united in one struct Generated from function MR::TriangulationHelpers::buildUnitedLocalTriangulations. Parameter cloud can not be null. It is a single object. Parameter settings can not be null. It is a single object. Parameter progress is a single object. Parameter progress has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_AllLocalTriangulations_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_AssignFromAnother | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| const MR_TriangulationHelpers_FanOptimizerQueueElement * | _other ) |
Generated from method MR::TriangulationHelpers::FanOptimizerQueueElement::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_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_ConstructFrom | ( | float | weight, |
| int | id, | ||
| int | prevId, | ||
| int | nextId, | ||
| bool | stable ) |
Constructs MR::TriangulationHelpers::FanOptimizerQueueElement elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_TriangulationHelpers_FanOptimizerQueueElement_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_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_ConstructFromAnother | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _other | ) |
Generated from constructor MR::TriangulationHelpers::FanOptimizerQueueElement::FanOptimizerQueueElement. 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_TriangulationHelpers_FanOptimizerQueueElement_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriangulationHelpers_FanOptimizerQueueElement_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_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_TriangulationHelpers_FanOptimizerQueueElement_DestroyArray(). Use MR_TriangulationHelpers_FanOptimizerQueueElement_OffsetMutablePtr() and MR_TriangulationHelpers_FanOptimizerQueueElement_OffsetPtr() to access the array elements.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_Destroy | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Destroys a heap-allocated instance of MR_TriangulationHelpers_FanOptimizerQueueElement. Does nothing if the pointer is null.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_DestroyArray | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Destroys a heap-allocated array of MR_TriangulationHelpers_FanOptimizerQueueElement. Does nothing if the pointer is null.
| MRC_API const int * MR_TriangulationHelpers_FanOptimizerQueueElement_Get_id | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named id. 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_TriangulationHelpers_FanOptimizerQueueElement_Get_nextId | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named nextId. 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_TriangulationHelpers_FanOptimizerQueueElement_Get_prevId | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named prevId. 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_TriangulationHelpers_FanOptimizerQueueElement_Get_stable | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named stable. 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_TriangulationHelpers_FanOptimizerQueueElement_Get_weight | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named weight. 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_TriangulationHelpers_FanOptimizerQueueElement_GetMutable_id | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named id. 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_TriangulationHelpers_FanOptimizerQueueElement_GetMutable_nextId | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named nextId. 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_TriangulationHelpers_FanOptimizerQueueElement_GetMutable_prevId | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named prevId. 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_TriangulationHelpers_FanOptimizerQueueElement_GetMutable_stable | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named stable. 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_TriangulationHelpers_FanOptimizerQueueElement_GetMutable_weight | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named weight. 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_TriangulationHelpers_FanOptimizerQueueElement_isOutdated | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| const MR_std_vector_MR_VertId * | neighbors ) |
Generated from method MR::TriangulationHelpers::FanOptimizerQueueElement::isOutdated. Parameter _this can not be null. It is a single object. Parameter neighbors can not be null. It is a single object.
| MRC_API MR_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_OffsetMutablePtr | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | 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_TriangulationHelpers_FanOptimizerQueueElement * MR_TriangulationHelpers_FanOptimizerQueueElement_OffsetPtr | ( | const MR_TriangulationHelpers_FanOptimizerQueueElement * | 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_TriangulationHelpers_FanOptimizerQueueElement_Set_id | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| int | value ) |
Modifies a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named id. 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 id.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_Set_nextId | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| int | value ) |
Modifies a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named nextId. 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 nextId.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_Set_prevId | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| int | value ) |
Modifies a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named prevId. 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 prevId.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_Set_stable | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| bool | value ) |
Modifies a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named stable. 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 stable.
| MRC_API void MR_TriangulationHelpers_FanOptimizerQueueElement_Set_weight | ( | MR_TriangulationHelpers_FanOptimizerQueueElement * | _this, |
| float | value ) |
Modifies a member variable of class MR::TriangulationHelpers::FanOptimizerQueueElement named weight. 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 weight.
| MRC_API void MR_TriangulationHelpers_filterNeighbors | ( | const MR_VertCoords * | orientedNormals, |
| const MR_VertBitSet * | untrustedNormals, | ||
| MR_VertId | v, | ||
| MR_std_vector_MR_VertId * | neighbors ) |
Filter neighbors with crossing normals.
Generated from function MR::TriangulationHelpers::filterNeighbors. Parameter orientedNormals can not be null. It is a single object. Parameter neighbors can not be null. It is a single object.
| MRC_API MR_std_optional_MR_VertBitSet * MR_TriangulationHelpers_findBoundaryPoints | ( | const MR_PointCloud * | pointCloud, |
| const MR_TriangulationHelpers_Settings * | settings, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Returns bit set of points that are considered as boundary by calling isBoundaryPoint in each Generated from function MR::TriangulationHelpers::findBoundaryPoints. Parameter pointCloud can not be null. It is a single object. Parameter settings 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_std_optional_MR_VertBitSet_Destroy() to free it when you're done using it.
| MRC_API void MR_TriangulationHelpers_findNeighborsInBall | ( | const MR_PointCloud * | pointCloud, |
| MR_VertId | v, | ||
| float | radius, | ||
| MR_std_vector_MR_VertId * | neighbors ) |
Finds all neighbors of v in given radius (v excluded)
Generated from function MR::TriangulationHelpers::findNeighborsInBall. Parameter pointCloud can not be null. It is a single object. Parameter neighbors can not be null. It is a single object.
| MRC_API float MR_TriangulationHelpers_findNumNeighbors | ( | const MR_PointCloud * | pointCloud, |
| MR_VertId | v, | ||
| int | numNeis, | ||
| MR_std_vector_MR_VertId * | neighbors, | ||
| MR_FewSmallest_MR_PointsProjectionResult * | tmp, | ||
| const float * | upDistLimitSq ) |
Finds at most given number of neighbors of v (v excluded)
| tmp | temporary storage to avoid its allocation |
| upDistLimitSq | upper limit on the distance in question, points with larger distance than it will not be returned |
MR::TriangulationHelpers::findNumNeighbors. Parameter pointCloud can not be null. It is a single object. Parameter neighbors can not be null. It is a single object. Parameter tmp can not be null. It is a single object. Parameter upDistLimitSq has a default argument: 3.40282347e38f, pass a null pointer to use it. | MRC_API bool MR_TriangulationHelpers_isBoundaryPoint | ( | const MR_PointCloud * | cloud, |
| MR_VertId | v, | ||
| const MR_TriangulationHelpers_Settings * | settings, | ||
| MR_TriangulationHelpers_TriangulatedFanData * | fanData ) |
Checks if given vertex is on boundary of the point cloud, by constructing local triangulation around it.
| cloud | input point cloud |
| v | vertex id to check |
| settings | all parameters of the computation |
| fanData | cache structure for neighbors, not to allocate for multiple calls |
MR::TriangulationHelpers::isBoundaryPoint. Parameter cloud can not be null. It is a single object. Parameter settings can not be null. It is a single object. Parameter fanData can not be null. It is a single object. | MRC_API MR_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_AssignFromAnother | ( | MR_TriangulationHelpers_Settings * | _this, |
| const MR_TriangulationHelpers_Settings * | _other ) |
Generated from method MR::TriangulationHelpers::Settings::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_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_ConstructFrom | ( | float | radius, |
| int | numNeis, | ||
| float | critAngle, | ||
| float | boundaryAngle, | ||
| const MR_VertCoords * | orientedNormals, | ||
| const MR_VertBitSet * | untrustedNormals, | ||
| bool | automaticRadiusIncrease, | ||
| int | maxRemoves, | ||
| MR_std_vector_MR_VertId * | allNeighbors, | ||
| float * | actualRadius, | ||
| const MR_PointCloud * | searchNeighbors ) |
Constructs MR::TriangulationHelpers::Settings elementwise. The reference to the parameter orientedNormals might be preserved in the constructed object. The reference to the parameter untrustedNormals might be preserved in the constructed object. The reference to the parameter allNeighbors might be preserved in the constructed object. The reference to the parameter actualRadius might be preserved in the constructed object. The reference to the parameter searchNeighbors might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriangulationHelpers_Settings_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_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_ConstructFromAnother | ( | const MR_TriangulationHelpers_Settings * | _other | ) |
Generated from constructor MR::TriangulationHelpers::Settings::Settings. 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_TriangulationHelpers_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriangulationHelpers_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_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_TriangulationHelpers_Settings_DestroyArray(). Use MR_TriangulationHelpers_Settings_OffsetMutablePtr() and MR_TriangulationHelpers_Settings_OffsetPtr() to access the array elements.
| MRC_API void MR_TriangulationHelpers_Settings_Destroy | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
Destroys a heap-allocated instance of MR_TriangulationHelpers_Settings. Does nothing if the pointer is null.
| MRC_API void MR_TriangulationHelpers_Settings_DestroyArray | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
Destroys a heap-allocated array of MR_TriangulationHelpers_Settings. Does nothing if the pointer is null.
| MRC_API float *const * MR_TriangulationHelpers_Settings_Get_actualRadius | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
optional output: actual radius of neighbor search (after increase if any) Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named actualRadius. 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_VertId *const * MR_TriangulationHelpers_Settings_Get_allNeighbors | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
optional output of considered neighbor points after filtering but before triangulation/optimization Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named allNeighbors. 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_TriangulationHelpers_Settings_Get_automaticRadiusIncrease | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named automaticRadiusIncrease. 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_TriangulationHelpers_Settings_Get_boundaryAngle | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named boundaryAngle. 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_TriangulationHelpers_Settings_Get_critAngle | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
max allowed angle for triangles in fan Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named critAngle. 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_TriangulationHelpers_Settings_Get_maxRemoves | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
the maximum number of optimization steps (removals) in local triangulation Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named maxRemoves. 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_TriangulationHelpers_Settings_Get_numNeis | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named numNeis. 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_VertCoords *const * MR_TriangulationHelpers_Settings_Get_orientedNormals | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
if oriented normals are known, they will be used for neighbor points selection except for the ones indicated by untrustedNormals Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named orientedNormals. 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_TriangulationHelpers_Settings_Get_radius | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named radius. 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_PointCloud *const * MR_TriangulationHelpers_Settings_Get_searchNeighbors | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named searchNeighbors. 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_VertBitSet *const * MR_TriangulationHelpers_Settings_Get_untrustedNormals | ( | const MR_TriangulationHelpers_Settings * | _this | ) |
Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals. 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_TriangulationHelpers_Settings_GetMutable_actualRadius | ( | MR_TriangulationHelpers_Settings * | _this | ) |
optional output: actual radius of neighbor search (after increase if any) Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named actualRadius. 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_VertId ** MR_TriangulationHelpers_Settings_GetMutable_allNeighbors | ( | MR_TriangulationHelpers_Settings * | _this | ) |
optional output of considered neighbor points after filtering but before triangulation/optimization Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named allNeighbors. 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_TriangulationHelpers_Settings_GetMutable_automaticRadiusIncrease | ( | MR_TriangulationHelpers_Settings * | _this | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named automaticRadiusIncrease. 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_TriangulationHelpers_Settings_GetMutable_boundaryAngle | ( | MR_TriangulationHelpers_Settings * | _this | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named boundaryAngle. 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_TriangulationHelpers_Settings_GetMutable_critAngle | ( | MR_TriangulationHelpers_Settings * | _this | ) |
max allowed angle for triangles in fan Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named critAngle. 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_TriangulationHelpers_Settings_GetMutable_maxRemoves | ( | MR_TriangulationHelpers_Settings * | _this | ) |
the maximum number of optimization steps (removals) in local triangulation Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named maxRemoves. 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_TriangulationHelpers_Settings_GetMutable_numNeis | ( | MR_TriangulationHelpers_Settings * | _this | ) |
initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named numNeis. 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_VertCoords ** MR_TriangulationHelpers_Settings_GetMutable_orientedNormals | ( | MR_TriangulationHelpers_Settings * | _this | ) |
if oriented normals are known, they will be used for neighbor points selection except for the ones indicated by untrustedNormals Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named orientedNormals. 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_TriangulationHelpers_Settings_GetMutable_radius | ( | MR_TriangulationHelpers_Settings * | _this | ) |
initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named radius. 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_PointCloud ** MR_TriangulationHelpers_Settings_GetMutable_searchNeighbors | ( | MR_TriangulationHelpers_Settings * | _this | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named searchNeighbors. 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_VertBitSet ** MR_TriangulationHelpers_Settings_GetMutable_untrustedNormals | ( | MR_TriangulationHelpers_Settings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals. 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_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_OffsetMutablePtr | ( | MR_TriangulationHelpers_Settings * | 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_TriangulationHelpers_Settings * MR_TriangulationHelpers_Settings_OffsetPtr | ( | const MR_TriangulationHelpers_Settings * | 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_TriangulationHelpers_Settings_Set_actualRadius | ( | MR_TriangulationHelpers_Settings * | _this, |
| float * | value ) |
optional output: actual radius of neighbor search (after increase if any) Modifies a member variable of class MR::TriangulationHelpers::Settings named actualRadius. 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 actualRadius. When this function is called, this object will drop object references it had previously in actualRadius.
| MRC_API void MR_TriangulationHelpers_Settings_Set_allNeighbors | ( | MR_TriangulationHelpers_Settings * | _this, |
| MR_std_vector_MR_VertId * | value ) |
optional output of considered neighbor points after filtering but before triangulation/optimization Modifies a member variable of class MR::TriangulationHelpers::Settings named allNeighbors. 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 allNeighbors. When this function is called, this object will drop object references it had previously in allNeighbors.
| MRC_API void MR_TriangulationHelpers_Settings_Set_automaticRadiusIncrease | ( | MR_TriangulationHelpers_Settings * | _this, |
| bool | value ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Modifies a member variable of class MR::TriangulationHelpers::Settings named automaticRadiusIncrease. 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 automaticRadiusIncrease.
| MRC_API void MR_TriangulationHelpers_Settings_Set_boundaryAngle | ( | MR_TriangulationHelpers_Settings * | _this, |
| float | value ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Modifies a member variable of class MR::TriangulationHelpers::Settings named boundaryAngle. 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 boundaryAngle.
| MRC_API void MR_TriangulationHelpers_Settings_Set_critAngle | ( | MR_TriangulationHelpers_Settings * | _this, |
| float | value ) |
max allowed angle for triangles in fan Modifies a member variable of class MR::TriangulationHelpers::Settings named critAngle. 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 critAngle.
| MRC_API void MR_TriangulationHelpers_Settings_Set_maxRemoves | ( | MR_TriangulationHelpers_Settings * | _this, |
| int | value ) |
the maximum number of optimization steps (removals) in local triangulation Modifies a member variable of class MR::TriangulationHelpers::Settings named maxRemoves. 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 maxRemoves.
| MRC_API void MR_TriangulationHelpers_Settings_Set_numNeis | ( | MR_TriangulationHelpers_Settings * | _this, |
| int | value ) |
initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero Modifies a member variable of class MR::TriangulationHelpers::Settings named numNeis. 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 numNeis.
| MRC_API void MR_TriangulationHelpers_Settings_Set_orientedNormals | ( | MR_TriangulationHelpers_Settings * | _this, |
| const MR_VertCoords * | value ) |
if oriented normals are known, they will be used for neighbor points selection except for the ones indicated by untrustedNormals Modifies a member variable of class MR::TriangulationHelpers::Settings named orientedNormals. 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 orientedNormals. When this function is called, this object will drop object references it had previously in orientedNormals.
| MRC_API void MR_TriangulationHelpers_Settings_Set_radius | ( | MR_TriangulationHelpers_Settings * | _this, |
| float | value ) |
initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero Modifies a member variable of class MR::TriangulationHelpers::Settings named radius. 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 radius.
| MRC_API void MR_TriangulationHelpers_Settings_Set_searchNeighbors | ( | MR_TriangulationHelpers_Settings * | _this, |
| const MR_PointCloud * | value ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Modifies a member variable of class MR::TriangulationHelpers::Settings named searchNeighbors. 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 searchNeighbors. When this function is called, this object will drop object references it had previously in searchNeighbors.
| MRC_API void MR_TriangulationHelpers_Settings_Set_untrustedNormals | ( | MR_TriangulationHelpers_Settings * | _this, |
| const MR_VertBitSet * | value ) |
Modifies a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals. 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 untrustedNormals. When this function is called, this object will drop object references it had previously in untrustedNormals.
| MRC_API MR_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_AssignFromAnother | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_TriangulationHelpers_TriangulatedFanData * | _other ) |
Generated from method MR::TriangulationHelpers::TriangulatedFanData::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_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_TriangulationHelpers_TriangulatedFanData * | _other ) |
Generated from constructor MR::TriangulationHelpers::TriangulatedFanData::TriangulatedFanData. 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_TriangulationHelpers_TriangulatedFanData_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriangulationHelpers_TriangulatedFanData_Destroy() to free it when you're done using it.
| MRC_API MR_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_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_TriangulationHelpers_TriangulatedFanData_DestroyArray(). Use MR_TriangulationHelpers_TriangulatedFanData_OffsetMutablePtr() and MR_TriangulationHelpers_TriangulatedFanData_OffsetPtr() to access the array elements.
| MRC_API void MR_TriangulationHelpers_TriangulatedFanData_Destroy | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
Destroys a heap-allocated instance of MR_TriangulationHelpers_TriangulatedFanData. Does nothing if the pointer is null.
| MRC_API void MR_TriangulationHelpers_TriangulatedFanData_DestroyArray | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
Destroys a heap-allocated array of MR_TriangulationHelpers_TriangulatedFanData. Does nothing if the pointer is null.
| MRC_API const MR_VertId * MR_TriangulationHelpers_TriangulatedFanData_Get_border | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
first border edge (invalid if the center point is not on the boundary) triangle associated with this point is absent Returns a pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named border. 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_std_vector_std_pair_double_int * MR_TriangulationHelpers_TriangulatedFanData_Get_cacheAngleOrder | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
temporary reusable storage to avoid allocations for each point Returns a pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named cacheAngleOrder. 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_FewSmallest_MR_PointsProjectionResult * MR_TriangulationHelpers_TriangulatedFanData_Get_nearesetPoints | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
the storage to collect n-nearest neighbours, here to avoid allocations for each point Returns a pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named nearesetPoints. 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_std_vector_MR_VertId * MR_TriangulationHelpers_TriangulatedFanData_Get_neighbors | ( | const MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
clockwise points around center point in (optimized) triangle fan, each pair of points (as well as back()-front() pair) together with the center form a fan triangle Returns a pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named neighbors. 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_VertId * MR_TriangulationHelpers_TriangulatedFanData_GetMutable_border | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
first border edge (invalid if the center point is not on the boundary) triangle associated with this point is absent Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named border. 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_pair_double_int * MR_TriangulationHelpers_TriangulatedFanData_GetMutable_cacheAngleOrder | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
temporary reusable storage to avoid allocations for each point Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named cacheAngleOrder. 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_FewSmallest_MR_PointsProjectionResult * MR_TriangulationHelpers_TriangulatedFanData_GetMutable_nearesetPoints | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
the storage to collect n-nearest neighbours, here to avoid allocations for each point Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named nearesetPoints. 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_VertId * MR_TriangulationHelpers_TriangulatedFanData_GetMutable_neighbors | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this | ) |
clockwise points around center point in (optimized) triangle fan, each pair of points (as well as back()-front() pair) together with the center form a fan triangle Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::TriangulatedFanData named neighbors. 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_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_OffsetMutablePtr | ( | MR_TriangulationHelpers_TriangulatedFanData * | 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_TriangulationHelpers_TriangulatedFanData * MR_TriangulationHelpers_TriangulatedFanData_OffsetPtr | ( | const MR_TriangulationHelpers_TriangulatedFanData * | 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_TriangulationHelpers_TriangulatedFanData_Set_border | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this, |
| MR_VertId | value ) |
first border edge (invalid if the center point is not on the boundary) triangle associated with this point is absent Modifies a member variable of class MR::TriangulationHelpers::TriangulatedFanData named border. 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 border. When this function is called, this object will drop object references it had previously in border.
| MRC_API void MR_TriangulationHelpers_TriangulatedFanData_Set_cacheAngleOrder | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_vector_std_pair_double_int * | value ) |
temporary reusable storage to avoid allocations for each point Modifies a member variable of class MR::TriangulationHelpers::TriangulatedFanData named cacheAngleOrder. 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 cacheAngleOrder. When this function is called, this object will drop object references it had previously in cacheAngleOrder.
| MRC_API void MR_TriangulationHelpers_TriangulatedFanData_Set_nearesetPoints | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_FewSmallest_MR_PointsProjectionResult * | value ) |
the storage to collect n-nearest neighbours, here to avoid allocations for each point Modifies a member variable of class MR::TriangulationHelpers::TriangulatedFanData named nearesetPoints. 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 nearesetPoints. When this function is called, this object will drop object references it had previously in nearesetPoints.
| MRC_API void MR_TriangulationHelpers_TriangulatedFanData_Set_neighbors | ( | MR_TriangulationHelpers_TriangulatedFanData * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_vector_MR_VertId * | value ) |
clockwise points around center point in (optimized) triangle fan, each pair of points (as well as back()-front() pair) together with the center form a fan triangle Modifies a member variable of class MR::TriangulationHelpers::TriangulatedFanData named neighbors. 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 neighbors. When this function is called, this object will drop object references it had previously in neighbors.
| MRC_API float MR_TriangulationHelpers_updateNeighborsRadius | ( | const MR_VertCoords * | points, |
| MR_VertId | v, | ||
| MR_VertId | boundaryV, | ||
| const MR_std_vector_MR_VertId * | fan, | ||
| float | baseRadius ) |
Finds max radius of neighbors search, for possible better local triangulation.
| borderV | first boundary vertex in |
| fan | (next VertId in fan is also boundary but first is enough) Generated from function MR::TriangulationHelpers::updateNeighborsRadius. Parameter points can not be null. It is a single object. Parameter fan can not be null. It is a single object. |