Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::triangulation_helpers::Settings) -> &mut meshlib::triangulation_helpers::Settings |
| auto | radius () const -> &f32 |
| auto | radius_mut () -> &mut f32 |
| void | set_radius (value:f32) |
| auto | num_neis () const -> &core::ffi::c_int |
| auto | num_neis_mut () -> &mut core::ffi::c_int |
| void | set_num_neis (value:core::ffi::c_int) |
| auto | crit_angle () const -> &f32 |
| auto | crit_angle_mut () -> &mut f32 |
| void | set_crit_angle (value:f32) |
| auto | boundary_angle () const -> &f32 |
| auto | boundary_angle_mut () -> &mut f32 |
| void | set_boundary_angle (value:f32) |
| auto | oriented_normals () const -> *const *const meshlib::ffi::MR_VertCoords |
| auto | oriented_normals_mut () -> *mut *const meshlib::ffi::MR_VertCoords |
| void | set_oriented_normals (value:Option<&meshlib::VertCoords >) |
| auto | untrusted_normals () const -> *const *const meshlib::ffi::MR_VertBitSet |
| auto | untrusted_normals_mut () -> *mut *const meshlib::ffi::MR_VertBitSet |
| void | set_untrusted_normals (value:Option<&meshlib::VertBitSet >) |
| auto | automatic_radius_increase () const -> &bool |
| auto | automatic_radius_increase_mut () -> &mut bool |
| void | set_automatic_radius_increase (value:bool) |
| auto | max_removes () const -> &core::ffi::c_int |
| auto | max_removes_mut () -> &mut core::ffi::c_int |
| void | set_max_removes (value:core::ffi::c_int) |
| auto | all_neighbors () const -> *const *mut meshlib::ffi::MR_std_vector_MR_VertId |
| auto | all_neighbors_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_VertId |
| void | set_all_neighbors (value:Option<&mut meshlib::std_vector_MR_VertId >) |
| auto | actual_radius () const -> *const *mut f32 |
| auto | actual_radius_mut () -> *mut *mut f32 |
| void | set_actual_radius (value:Option<&mut f32 >) |
| 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::triangulation_helpers::Settings > |
| static auto | construct_from (radius:f32, numNeis:core::ffi::c_int, critAngle:f32, boundaryAngle:f32, orientedNormals:Option<&meshlib::VertCoords >, untrustedNormals:Option<&meshlib::VertBitSet >, automaticRadiusIncrease:bool, maxRemoves:core::ffi::c_int, allNeighbors:Option<&mut meshlib::std_vector_MR_VertId >, actualRadius:Option<&mut f32 >, searchNeighbors:Option<&meshlib::PointCloud >) -> meshlib::Owned< meshlib::triangulation_helpers::Settings > |
| static auto | construct_from_another (_other:&meshlib::triangulation_helpers::Settings) -> meshlib::Owned< meshlib::triangulation_helpers::Settings > |
| 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 |
Generated from class MR::TriangulationHelpers::Settings.
Generated from class MR::TriangulationHelpers::Settings. Heap-allocated instances are held in Owned<Settings>.
| auto meshlib::triangulation_helpers::Settings::actual_radius | ( | ) | const -> *const *mut f32 |
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.
Calls MR_TriangulationHelpers_Settings_Get_actualRadius(). 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::triangulation_helpers::Settings::actual_radius_mut | ( | ) | -> *mut *mut f32 |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_actualRadius(). 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::triangulation_helpers::Settings::all_neighbors | ( | ) | const -> *const *mut meshlib::ffi::MR_std_vector_MR_VertId |
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.
Calls MR_TriangulationHelpers_Settings_Get_allNeighbors(). 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::triangulation_helpers::Settings::all_neighbors_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_std_vector_MR_VertId |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_allNeighbors(). 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::triangulation_helpers::Settings::assign_from_another | ( | _other:&meshlib::triangulation_helpers::Settings | ) | -> &mut meshlib::triangulation_helpers::Settings |
Generated from method MR::TriangulationHelpers::Settings::operator=.
Calls MR_TriangulationHelpers_Settings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named automaticRadiusIncrease.
Calls MR_TriangulationHelpers_Settings_Get_automaticRadiusIncrease(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named automaticRadiusIncrease.
Calls MR_TriangulationHelpers_Settings_GetMutable_automaticRadiusIncrease(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named boundaryAngle.
Calls MR_TriangulationHelpers_Settings_Get_boundaryAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named boundaryAngle.
Calls MR_TriangulationHelpers_Settings_GetMutable_boundaryAngle(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::TriangulationHelpers::Settings elementwise.
Calls MR_TriangulationHelpers_Settings_ConstructFrom(). 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.
|
static |
Generated from constructor MR::TriangulationHelpers::Settings::Settings.
Calls MR_TriangulationHelpers_Settings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::triangulation_helpers::Settings::crit_angle | ( | ) | const -> &f32 |
max allowed angle for triangles in fan Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named critAngle.
Calls MR_TriangulationHelpers_Settings_Get_critAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::crit_angle_mut | ( | ) | -> &mut f32 |
max allowed angle for triangles in fan Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named critAngle.
Calls MR_TriangulationHelpers_Settings_GetMutable_critAngle(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::max_removes | ( | ) | const -> &core::ffi::c_int |
the maximum number of optimization steps (removals) in local triangulation Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named maxRemoves.
Calls MR_TriangulationHelpers_Settings_Get_maxRemoves(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::max_removes_mut | ( | ) | -> &mut core::ffi::c_int |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_maxRemoves(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TriangulationHelpers_Settings_DefaultConstruct().
| auto meshlib::triangulation_helpers::Settings::num_neis | ( | ) | const -> &core::ffi::c_int |
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.
Calls MR_TriangulationHelpers_Settings_Get_numNeis(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::num_neis_mut | ( | ) | -> &mut core::ffi::c_int |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_numNeis(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::oriented_normals | ( | ) | const -> *const *const meshlib::ffi::MR_VertCoords |
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.
Calls MR_TriangulationHelpers_Settings_Get_orientedNormals(). 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::triangulation_helpers::Settings::oriented_normals_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertCoords |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_orientedNormals(). 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::triangulation_helpers::Settings::radius | ( | ) | const -> &f32 |
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.
Calls MR_TriangulationHelpers_Settings_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::radius_mut | ( | ) | -> &mut f32 |
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.
Calls MR_TriangulationHelpers_Settings_GetMutable_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named searchNeighbors.
Calls MR_TriangulationHelpers_Settings_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::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named searchNeighbors.
Calls MR_TriangulationHelpers_Settings_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::triangulation_helpers::Settings::set_actual_radius | ( | value:Option<&mut f32 > | ) |
optional output: actual radius of neighbor search (after increase if any) Modifies a member variable of class MR::TriangulationHelpers::Settings named actualRadius.
Calls MR_TriangulationHelpers_Settings_Set_actualRadius(). The reference to the parameter value might be preserved in this object in element actualRadius.
| void meshlib::triangulation_helpers::Settings::set_all_neighbors | ( | value:Option<&mut meshlib::std_vector_MR_VertId > | ) |
optional output of considered neighbor points after filtering but before triangulation/optimization Modifies a member variable of class MR::TriangulationHelpers::Settings named allNeighbors.
Calls MR_TriangulationHelpers_Settings_Set_allNeighbors(). The reference to the parameter value might be preserved in this object in element allNeighbors.
| void meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named automaticRadiusIncrease.
Calls MR_TriangulationHelpers_Settings_Set_automaticRadiusIncrease().
| void meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named boundaryAngle.
Calls MR_TriangulationHelpers_Settings_Set_boundaryAngle().
| void meshlib::triangulation_helpers::Settings::set_crit_angle | ( | value:f32 | ) |
max allowed angle for triangles in fan Modifies a member variable of class MR::TriangulationHelpers::Settings named critAngle.
Calls MR_TriangulationHelpers_Settings_Set_critAngle().
| void meshlib::triangulation_helpers::Settings::set_max_removes | ( | value:core::ffi::c_int | ) |
the maximum number of optimization steps (removals) in local triangulation Modifies a member variable of class MR::TriangulationHelpers::Settings named maxRemoves.
Calls MR_TriangulationHelpers_Settings_Set_maxRemoves().
| void meshlib::triangulation_helpers::Settings::set_num_neis | ( | value:core::ffi::c_int | ) |
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.
Calls MR_TriangulationHelpers_Settings_Set_numNeis().
| void meshlib::triangulation_helpers::Settings::set_oriented_normals | ( | value:Option<&meshlib::VertCoords > | ) |
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.
Calls MR_TriangulationHelpers_Settings_Set_orientedNormals(). The reference to the parameter value might be preserved in this object in element orientedNormals.
| void meshlib::triangulation_helpers::Settings::set_radius | ( | value:f32 | ) |
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.
Calls MR_TriangulationHelpers_Settings_Set_radius().
| void meshlib::triangulation_helpers::Settings::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::TriangulationHelpers::Settings named searchNeighbors.
Calls MR_TriangulationHelpers_Settings_Set_searchNeighbors(). The reference to the parameter value might be preserved in this object in element searchNeighbors.
| void meshlib::triangulation_helpers::Settings::set_untrusted_normals | ( | value:Option<&meshlib::VertBitSet > | ) |
Modifies a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals.
Calls MR_TriangulationHelpers_Settings_Set_untrustedNormals(). The reference to the parameter value might be preserved in this object in element untrustedNormals.
| auto meshlib::triangulation_helpers::Settings::untrusted_normals | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals.
Calls MR_TriangulationHelpers_Settings_Get_untrustedNormals(). 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::triangulation_helpers::Settings::untrusted_normals_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
Returns a mutable pointer to a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals.
Calls MR_TriangulationHelpers_Settings_GetMutable_untrustedNormals(). 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.