Class for making mesh from regular distance map. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::RegularMapMesher) -> &mut meshlib::RegularMapMesher |
| void | set_surface_pc (surfacePC:&meshlib::std_shared_ptr_MR_PointCloud) |
| void | set_directions_pc (directionsPC:&meshlib::std_shared_ptr_MR_PointCloud) |
| auto | load_distances (width:core::ffi::c_int, height:core::ffi::c_int, path:&str) -> meshlib::Owned< meshlib::expected_void_std_string > |
| void | set_distances (width:core::ffi::c_int, height:core::ffi::c_int, distances:&meshlib::std_vector_float) |
| auto | create_mesh () const -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::RegularMapMesher > |
| static auto | construct_from_another (_other:&meshlib::RegularMapMesher) -> meshlib::Owned< meshlib::RegularMapMesher > |
| 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 |
Class for making mesh from regular distance map.
distance for each lattice of map is defined as point on ray from surface point cloud to direction point cloud, with length equal to 1/distance from distances file (if distance in file == 0 ray had no point)
Generated from class MR::RegularMapMesher.
Generated from class MR::RegularMapMesher. Heap-allocated instances are held in Owned<RegularMapMesher>.
| auto meshlib::RegularMapMesher::assign_from_another | ( | _other:&meshlib::RegularMapMesher | ) | -> &mut meshlib::RegularMapMesher |
Generated from method MR::RegularMapMesher::operator=.
Calls MR_RegularMapMesher_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::RegularMapMesher::RegularMapMesher.
Calls MR_RegularMapMesher_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::RegularMapMesher::create_mesh | ( | ) | const -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string > |
Creates mesh if all components were successfully loaded Generated from method MR::RegularMapMesher::createMesh.
Calls MR_RegularMapMesher_createMesh().
| auto meshlib::RegularMapMesher::load_distances | ( | width:core::ffi::c_int | , |
| height:core::ffi::c_int | , | ||
| path:& | str ) -> meshlib::Owned< meshlib::expected_void_std_string > |
Loads distances form distances file (1/distance) Generated from method MR::RegularMapMesher::loadDistances.
Calls MR_RegularMapMesher_loadDistances().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_RegularMapMesher_DefaultConstruct().
| void meshlib::RegularMapMesher::set_directions_pc | ( | directionsPC:&meshlib::std_shared_ptr_MR_PointCloud | ) |
Sets directions Point Cloud Generated from method MR::RegularMapMesher::setDirectionsPC.
Calls MR_RegularMapMesher_setDirectionsPC().
| void meshlib::RegularMapMesher::set_distances | ( | width:core::ffi::c_int | , |
| height:core::ffi::c_int | , | ||
| distances:&meshlib::std_vector_float | ) |
Sets distances Generated from method MR::RegularMapMesher::setDistances.
Calls MR_RegularMapMesher_setDistances().
| void meshlib::RegularMapMesher::set_surface_pc | ( | surfacePC:&meshlib::std_shared_ptr_MR_PointCloud | ) |
Sets surface Point Cloud Generated from method MR::RegularMapMesher::setSurfacePC.
Calls MR_RegularMapMesher_setSurfacePC().