Parameters of point cloud triangulation. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::TriangulationParameters) -> &mut meshlib::TriangulationParameters |
| auto | num_neighbours () const -> &core::ffi::c_int |
| The number of nearest neighbor points to use for building of local triangulation. | |
| auto | num_neighbours_mut () -> &mut core::ffi::c_int |
| The number of nearest neighbor points to use for building of local triangulation. | |
| void | set_num_neighbours (value:core::ffi::c_int) |
| The number of nearest neighbor points to use for building of local triangulation. | |
| auto | radius () const -> &f32 |
| auto | radius_mut () -> &mut f32 |
| void | set_radius (value:f32) |
| auto | crit_angle () const -> &f32 |
| Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) | |
| auto | crit_angle_mut () -> &mut f32 |
| Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) | |
| void | set_crit_angle (value:f32) |
| Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) | |
| auto | boundary_angle () const -> &f32 |
| auto | boundary_angle_mut () -> &mut f32 |
| void | set_boundary_angle (value:f32) |
| auto | crit_hole_length () const -> &f32 |
| Critical length of hole (all holes with perimeter up to this value will be filled) | |
| auto | crit_hole_length_mut () -> &mut f32 |
| Critical length of hole (all holes with perimeter up to this value will be filled) | |
| void | set_crit_hole_length (value:f32) |
| Critical length of hole (all holes with perimeter up to this value will be filled) | |
| auto | automatic_radius_increase () const -> &bool |
| auto | automatic_radius_increase_mut () -> &mut bool |
| void | set_automatic_radius_increase (value:bool) |
| auto | search_neighbors () const -> *const *const meshlib::ffi::MR_PointCloud |
| auto | search_neighbors_mut () -> *mut *const meshlib::ffi::MR_PointCloud |
| void | set_search_neighbors (value:Option<&meshlib::PointCloud >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TriangulationParameters > |
| static auto | construct_from (numNeighbours:core::ffi::c_int, radius:f32, critAngle:f32, boundaryAngle:f32, critHoleLength:f32, automaticRadiusIncrease:bool, searchNeighbors:Option<&meshlib::PointCloud >) -> meshlib::Owned< meshlib::TriangulationParameters > |
| static auto | construct_from_another (_other:&meshlib::TriangulationParameters) -> meshlib::Owned< meshlib::TriangulationParameters > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Parameters of point cloud triangulation.
Generated from class MR::TriangulationParameters.
Generated from class MR::TriangulationParameters. Heap-allocated instances are held in Owned<TriangulationParameters>.
| auto meshlib::TriangulationParameters::assign_from_another | ( | _other:&meshlib::TriangulationParameters | ) | -> &mut meshlib::TriangulationParameters |
Generated from method MR::TriangulationParameters::operator=.
Calls MR_TriangulationParameters_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::TriangulationParameters::automatic_radius_increase | ( | ) | const -> &bool |
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::TriangulationParameters named automaticRadiusIncrease.
Calls MR_TriangulationParameters_Get_automaticRadiusIncrease(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::automatic_radius_increase_mut | ( | ) | -> &mut bool |
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::TriangulationParameters named automaticRadiusIncrease.
Calls MR_TriangulationParameters_GetMutable_automaticRadiusIncrease(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::boundary_angle | ( | ) | const -> &f32 |
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::TriangulationParameters named boundaryAngle.
Calls MR_TriangulationParameters_Get_boundaryAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::boundary_angle_mut | ( | ) | -> &mut f32 |
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::TriangulationParameters named boundaryAngle.
Calls MR_TriangulationParameters_GetMutable_boundaryAngle(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::TriangulationParameters elementwise.
Calls MR_TriangulationParameters_ConstructFrom(). The reference to the parameter searchNeighbors might be preserved in the constructed object.
|
static |
Generated from constructor MR::TriangulationParameters::TriangulationParameters.
Calls MR_TriangulationParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TriangulationParameters::crit_angle | ( | ) | const -> &f32 |
Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
Good |
Too small value |
Returns a pointer to a member variable of class MR::TriangulationParameters named critAngle.
Calls MR_TriangulationParameters_Get_critAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::crit_angle_mut | ( | ) | -> &mut f32 |
Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
Good |
Too small value |
Returns a mutable pointer to a member variable of class MR::TriangulationParameters named critAngle.
Calls MR_TriangulationParameters_GetMutable_critAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::crit_hole_length | ( | ) | const -> &f32 |
Critical length of hole (all holes with perimeter up to this value will be filled)
If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Returns a pointer to a member variable of class MR::TriangulationParameters named critHoleLength.
Calls MR_TriangulationParameters_Get_critHoleLength(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::crit_hole_length_mut | ( | ) | -> &mut f32 |
Critical length of hole (all holes with perimeter up to this value will be filled)
If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Returns a mutable pointer to a member variable of class MR::TriangulationParameters named critHoleLength.
Calls MR_TriangulationParameters_GetMutable_critHoleLength(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TriangulationParameters_DefaultConstruct().
| auto meshlib::TriangulationParameters::num_neighbours | ( | ) | const -> &core::ffi::c_int |
The number of nearest neighbor points to use for building of local triangulation.
Good |
Too small value |
Returns a pointer to a member variable of class MR::TriangulationParameters named numNeighbours.
Calls MR_TriangulationParameters_Get_numNeighbours(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::num_neighbours_mut | ( | ) | -> &mut core::ffi::c_int |
The number of nearest neighbor points to use for building of local triangulation.
Good |
Too small value |
Returns a mutable pointer to a member variable of class MR::TriangulationParameters named numNeighbours.
Calls MR_TriangulationParameters_GetMutable_numNeighbours(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::radius | ( | ) | const -> &f32 |
Radius of neighborhood around each point to consider for building local triangulation. This is an alternative to numNeighbours parameter. Please set to positive value only one of them.
Returns a pointer to a member variable of class MR::TriangulationParameters named radius.
Calls MR_TriangulationParameters_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::radius_mut | ( | ) | -> &mut f32 |
Radius of neighborhood around each point to consider for building local triangulation. This is an alternative to numNeighbours parameter. Please set to positive value only one of them.
Returns a mutable pointer to a member variable of class MR::TriangulationParameters named radius.
Calls MR_TriangulationParameters_GetMutable_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::search_neighbors | ( | ) | const -> *const *const meshlib::ffi::MR_PointCloud |
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::TriangulationParameters named searchNeighbors.
Calls MR_TriangulationParameters_Get_searchNeighbors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::TriangulationParameters::search_neighbors_mut | ( | ) | -> *mut *const meshlib::ffi::MR_PointCloud |
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::TriangulationParameters named searchNeighbors.
Calls MR_TriangulationParameters_GetMutable_searchNeighbors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::TriangulationParameters::set_automatic_radius_increase | ( | value:bool | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Modifies a member variable of class MR::TriangulationParameters named automaticRadiusIncrease.
Calls MR_TriangulationParameters_Set_automaticRadiusIncrease().
| void meshlib::TriangulationParameters::set_boundary_angle | ( | value:f32 | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Modifies a member variable of class MR::TriangulationParameters named boundaryAngle.
Calls MR_TriangulationParameters_Set_boundaryAngle().
| void meshlib::TriangulationParameters::set_crit_angle | ( | value:f32 | ) |
| void meshlib::TriangulationParameters::set_crit_hole_length | ( | value:f32 | ) |
Critical length of hole (all holes with perimeter up to this value will be filled)
If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Modifies a member variable of class MR::TriangulationParameters named critHoleLength.
Calls MR_TriangulationParameters_Set_critHoleLength().
| void meshlib::TriangulationParameters::set_num_neighbours | ( | value:core::ffi::c_int | ) |
The number of nearest neighbor points to use for building of local triangulation.
Good |
Too small value |
Modifies a member variable of class MR::TriangulationParameters named numNeighbours.
Calls MR_TriangulationParameters_Set_numNeighbours().
| void meshlib::TriangulationParameters::set_radius | ( | value:f32 | ) |
Radius of neighborhood around each point to consider for building local triangulation. This is an alternative to numNeighbours parameter. Please set to positive value only one of them.
Modifies a member variable of class MR::TriangulationParameters named radius.
Calls MR_TriangulationParameters_Set_radius().
| void meshlib::TriangulationParameters::set_search_neighbors | ( | value:Option<&meshlib::PointCloud > | ) |
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::TriangulationParameters named searchNeighbors.
Calls MR_TriangulationParameters_Set_searchNeighbors(). The reference to the parameter value might be preserved in this object in element searchNeighbors.