MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::points_load Namespace Reference

Classes

struct  E57LoadSettings
struct  MultiScanLoadSettings
struct  NamedCloud

Functions

auto from_ctm_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_ctm_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_drc_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_drc_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_scene_e57_file (file:&str, settings:Option<&meshlib::points_load::E57LoadSettings >) -> meshlib::Owned< meshlib::expected_std_vector_MR_PointsLoad_NamedCloud_std_string >
auto from_e57_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_e57_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto load_object_from_e57 (path:&str, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_LoadedObjects_std_string >
auto from_las_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_las_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_multi_scan_folder (folder:&str, settings:Option<&meshlib::points_load::MultiScanLoadSettings >, callback:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_text_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_text_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_pts_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_pts_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_ply_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_ply_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_obj_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_obj_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_dxf_std_filesystem_path (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_dxf_std_istream (in:&mut meshlib::std_istream, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_any_supported_format (file:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >
auto from_any_supported_format_stream (in:&mut meshlib::std_istream, extension:&str, settings:Option<&meshlib::PointsLoadSettings >) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Function Documentation

◆ from_any_supported_format()

auto meshlib::points_load::from_any_supported_format ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

detects the format from file extension and loads points from it Generated from function MR::PointsLoad::fromAnySupportedFormat.

Calls MR_PointsLoad_fromAnySupportedFormat().

◆ from_any_supported_format_stream()

auto meshlib::points_load::from_any_supported_format_stream ( in:&mut meshlib::std_istream ,
extension:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

extension in *.ext format Generated from function MR::PointsLoad::fromAnySupportedFormat.

Calls MR_PointsLoad_fromAnySupportedFormat_stream().

◆ from_ctm_std_filesystem_path()

auto meshlib::points_load::from_ctm_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .ctm file Generated from function MR::PointsLoad::fromCtm.

Calls MR_PointsLoad_fromCtm_std_filesystem_path().

◆ from_ctm_std_istream()

auto meshlib::points_load::from_ctm_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromCtm.

Calls MR_PointsLoad_fromCtm_std_istream().

◆ from_drc_std_filesystem_path()

auto meshlib::points_load::from_drc_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from Google Draco .drc file; if the file contains a mesh, then its points are returned without triangles and without merging Generated from function MR::PointsLoad::fromDrc.

Calls MR_PointsLoad_fromDrc_std_filesystem_path().

◆ from_drc_std_istream()

auto meshlib::points_load::from_drc_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromDrc.

Calls MR_PointsLoad_fromDrc_std_istream().

◆ from_dxf_std_filesystem_path()

auto meshlib::points_load::from_dxf_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromDxf.

Calls MR_PointsLoad_fromDxf_std_filesystem_path().

◆ from_dxf_std_istream()

auto meshlib::points_load::from_dxf_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromDxf.

Calls MR_PointsLoad_fromDxf_std_istream().

◆ from_e57_std_filesystem_path()

auto meshlib::points_load::from_e57_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .e57 file Generated from function MR::PointsLoad::fromE57.

Calls MR_PointsLoad_fromE57_std_filesystem_path().

◆ from_e57_std_istream()

auto meshlib::points_load::from_e57_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromE57.

Calls MR_PointsLoad_fromE57_std_istream().

◆ from_las_std_filesystem_path()

auto meshlib::points_load::from_las_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .las file Generated from function MR::PointsLoad::fromLas.

Calls MR_PointsLoad_fromLas_std_filesystem_path().

◆ from_las_std_istream()

auto meshlib::points_load::from_las_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromLas.

Calls MR_PointsLoad_fromLas_std_istream().

◆ from_multi_scan_folder()

auto meshlib::points_load::from_multi_scan_folder ( folder:& str,
settings:Option<&meshlib::points_load::MultiScanLoadSettings > ,
callback:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads and merges a point cloud from a folder with the results of a multi-scan capture: the folder is expected to contain pairs of files named <posePrefix>NNN<poseExt> and <scanPrefix>NNN.ply with matching indices NNN (the number of pairs is arbitrary); each transformation file stores a 4x4 row-major rigid transformation, which is applied to the points (and normals) loaded from the .ply file with the same index;

Returns
the union of all transformed points from all found pairs, expressed in the common coordinate frame Generated from function MR::PointsLoad::fromMultiScanFolder.

Calls MR_PointsLoad_fromMultiScanFolder().

◆ from_obj_std_filesystem_path()

auto meshlib::points_load::from_obj_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .obj file Generated from function MR::PointsLoad::fromObj.

Calls MR_PointsLoad_fromObj_std_filesystem_path().

◆ from_obj_std_istream()

auto meshlib::points_load::from_obj_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromObj.

Calls MR_PointsLoad_fromObj_std_istream().

◆ from_ply_std_filesystem_path()

auto meshlib::points_load::from_ply_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .ply file Generated from function MR::PointsLoad::fromPly.

Calls MR_PointsLoad_fromPly_std_filesystem_path().

◆ from_ply_std_istream()

auto meshlib::points_load::from_ply_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromPly.

Calls MR_PointsLoad_fromPly_std_istream().

◆ from_pts_std_filesystem_path()

auto meshlib::points_load::from_pts_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from Laser scan plain data format (.pts) file Generated from function MR::PointsLoad::fromPts.

Calls MR_PointsLoad_fromPts_std_filesystem_path().

◆ from_pts_std_istream()

auto meshlib::points_load::from_pts_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromPts.

Calls MR_PointsLoad_fromPts_std_istream().

◆ from_scene_e57_file()

auto meshlib::points_load::from_scene_e57_file ( file:& str,
settings:Option<&meshlib::points_load::E57LoadSettings >  ) -> meshlib::Owned< meshlib::expected_std_vector_MR_PointsLoad_NamedCloud_std_string >

Generated from function MR::PointsLoad::fromSceneE57File.

Calls MR_PointsLoad_fromSceneE57File().

◆ from_text_std_filesystem_path()

auto meshlib::points_load::from_text_std_filesystem_path ( file:& str,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

loads from .csv, .asc, .xyz, .txt file Generated from function MR::PointsLoad::fromText.

Calls MR_PointsLoad_fromText_std_filesystem_path().

◆ from_text_std_istream()

auto meshlib::points_load::from_text_std_istream ( in:&mut meshlib::std_istream ,
settings:Option<&meshlib::PointsLoadSettings >  ) -> meshlib::Owned< meshlib::expected_MR_PointCloud_std_string >

Generated from function MR::PointsLoad::fromText.

Calls MR_PointsLoad_fromText_std_istream().

◆ load_object_from_e57()

auto meshlib::points_load::load_object_from_e57 ( path:& str,
cb:Option<&meshlib::std_function_bool_from_float >  ) -> meshlib::Owned< meshlib::expected_MR_LoadedObjects_std_string >

Generated from function MR::PointsLoad::loadObjectFromE57.

Calls MR_PointsLoad_loadObjectFromE57().