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

Classes

struct  CtmSavePointsOptions

Functions

auto to_ctm_const_std_filesystem_path_ref_mr_points_save_ctm_save_points_options (points:&meshlib::PointCloud, file:&str, options:&meshlib::points_save::CtmSavePointsOptions) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_ctm_std_ostream_ref_mr_points_save_ctm_save_points_options (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, options:&meshlib::points_save::CtmSavePointsOptions) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_ctm_const_std_filesystem_path_ref_mr_save_settings (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_ctm_std_ostream_ref_mr_save_settings (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_drc_const_std_filesystem_path_ref_mr_draco_save_options (points:&meshlib::PointCloud, file:&str, options:&meshlib::DracoSaveOptions) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_drc_std_ostream_ref_mr_draco_save_options (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, options:&meshlib::DracoSaveOptions) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_drc_const_std_filesystem_path_ref_mr_save_settings (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_drc_std_ostream_ref_mr_save_settings (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_las_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_las_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_laz_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_laz_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_xyz_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_xyz_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_xyzn_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_xyzn_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_asc_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_asc_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_ply_std_filesystem_path (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_ply_std_ostream (points:&meshlib::PointCloud, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_any_supported_format (points:&meshlib::PointCloud, file:&str, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >
auto to_any_supported_format_stream (points:&meshlib::PointCloud, extension:&str, out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >) -> meshlib::Owned< meshlib::expected_void_std_string >

Function Documentation

◆ to_any_supported_format()

auto meshlib::points_save::to_any_supported_format ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

detects the format from file extension and save points to it Generated from function MR::PointsSave::toAnySupportedFormat.

Calls MR_PointsSave_toAnySupportedFormat().

◆ to_any_supported_format_stream()

auto meshlib::points_save::to_any_supported_format_stream ( points:&meshlib::PointCloud ,
extension:& str,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

extension in *.ext format Generated from function MR::PointsSave::toAnySupportedFormat.

Calls MR_PointsSave_toAnySupportedFormat_stream().

◆ to_asc_std_filesystem_path()

auto meshlib::points_save::to_asc_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

save points with normals in .xyzn format, and save points without normals in .xyz format Generated from function MR::PointsSave::toAsc.

Calls MR_PointsSave_toAsc_std_filesystem_path().

◆ to_asc_std_ostream()

auto meshlib::points_save::to_asc_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toAsc.

Calls MR_PointsSave_toAsc_std_ostream().

◆ to_ctm_const_std_filesystem_path_ref_mr_points_save_ctm_save_points_options()

auto meshlib::points_save::to_ctm_const_std_filesystem_path_ref_mr_points_save_ctm_save_points_options ( points:&meshlib::PointCloud ,
file:& str,
options:&meshlib::points_save::CtmSavePointsOptions  ) -> meshlib::Owned< meshlib::expected_void_std_string >

saves in .ctm file Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_PointsSave_CtmSavePointsOptions().

◆ to_ctm_const_std_filesystem_path_ref_mr_save_settings()

auto meshlib::points_save::to_ctm_const_std_filesystem_path_ref_mr_save_settings ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_SaveSettings().

◆ to_ctm_std_ostream_ref_mr_points_save_ctm_save_points_options()

auto meshlib::points_save::to_ctm_std_ostream_ref_mr_points_save_ctm_save_points_options ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
options:&meshlib::points_save::CtmSavePointsOptions  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_std_ostream_ref_MR_PointsSave_CtmSavePointsOptions().

◆ to_ctm_std_ostream_ref_mr_save_settings()

auto meshlib::points_save::to_ctm_std_ostream_ref_mr_save_settings ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_std_ostream_ref_MR_SaveSettings().

◆ to_drc_const_std_filesystem_path_ref_mr_draco_save_options()

auto meshlib::points_save::to_drc_const_std_filesystem_path_ref_mr_draco_save_options ( points:&meshlib::PointCloud ,
file:& str,
options:&meshlib::DracoSaveOptions  ) -> meshlib::Owned< meshlib::expected_void_std_string >

saves in Google Draco .drc file Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_const_std_filesystem_path_ref_MR_DracoSaveOptions().

◆ to_drc_const_std_filesystem_path_ref_mr_save_settings()

auto meshlib::points_save::to_drc_const_std_filesystem_path_ref_mr_save_settings ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_const_std_filesystem_path_ref_MR_SaveSettings().

◆ to_drc_std_ostream_ref_mr_draco_save_options()

auto meshlib::points_save::to_drc_std_ostream_ref_mr_draco_save_options ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
options:&meshlib::DracoSaveOptions  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_std_ostream_ref_MR_DracoSaveOptions().

◆ to_drc_std_ostream_ref_mr_save_settings()

auto meshlib::points_save::to_drc_std_ostream_ref_mr_save_settings ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_std_ostream_ref_MR_SaveSettings().

◆ to_las_std_filesystem_path()

auto meshlib::points_save::to_las_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

saves in uncompressed .las file (LAS 1.2, point format 0 or 2 if colors are given); normals are saved as three double extra bytes NormalX, NormalY, NormalZ Generated from function MR::PointsSave::toLas.

Calls MR_PointsSave_toLas_std_filesystem_path().

◆ to_las_std_ostream()

auto meshlib::points_save::to_las_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toLas.

Calls MR_PointsSave_toLas_std_ostream().

◆ to_laz_std_filesystem_path()

auto meshlib::points_save::to_laz_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

saves in compressed .laz file, the same contents as in toLas Generated from function MR::PointsSave::toLaz.

Calls MR_PointsSave_toLaz_std_filesystem_path().

◆ to_laz_std_ostream()

auto meshlib::points_save::to_laz_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toLaz.

Calls MR_PointsSave_toLaz_std_ostream().

◆ to_ply_std_filesystem_path()

auto meshlib::points_save::to_ply_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

saves in .ply file Generated from function MR::PointsSave::toPly.

Calls MR_PointsSave_toPly_std_filesystem_path().

◆ to_ply_std_ostream()

auto meshlib::points_save::to_ply_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toPly.

Calls MR_PointsSave_toPly_std_ostream().

◆ to_xyz_std_filesystem_path()

auto meshlib::points_save::to_xyz_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

save points without normals in textual .xyz file; each output line contains [x, y, z], where x, y, z are point coordinates Generated from function MR::PointsSave::toXyz.

Calls MR_PointsSave_toXyz_std_filesystem_path().

◆ to_xyz_std_ostream()

auto meshlib::points_save::to_xyz_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toXyz.

Calls MR_PointsSave_toXyz_std_ostream().

◆ to_xyzn_std_filesystem_path()

auto meshlib::points_save::to_xyzn_std_filesystem_path ( points:&meshlib::PointCloud ,
file:& str,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

save points with normals in textual .xyzn file; each output line contains [x, y, z, nx, ny, nz], where x, y, z are point coordinates and nx, ny, nz are the components of point normal Generated from function MR::PointsSave::toXyzn.

Calls MR_PointsSave_toXyzn_std_filesystem_path().

◆ to_xyzn_std_ostream()

auto meshlib::points_save::to_xyzn_std_ostream ( points:&meshlib::PointCloud ,
out:&mut meshlib::std_ostream ,
settings:Option<&meshlib::SaveSettings >  ) -> meshlib::Owned< meshlib::expected_void_std_string >

Generated from function MR::PointsSave::toXyzn.

Calls MR_PointsSave_toXyzn_std_ostream().