MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.pointssave.Functions Class Reference

Static Public Member Functions

static void toXyz (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toXyz (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toXyzn (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toXyzn (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toAsc (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toAsc (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toPly (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toPly (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toAnySupportedFormat (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toAnySupportedFormat (meshlib.PointCloud points, java.lang.String extension, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toCtm (meshlib.PointCloud points, java.lang.String file, meshlib.pointssave.CtmSavePointsOptions options)
static void toCtm (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.pointssave.CtmSavePointsOptions options)
static void toCtm (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toCtm (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toDrc (meshlib.PointCloud points, java.lang.String file, meshlib.DracoSaveOptions options)
static void toDrc (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.DracoSaveOptions options)
static void toDrc (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toDrc (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toLas (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toLas (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)
static void toLaz (meshlib.PointCloud points, java.lang.String file, meshlib.SaveSettings settings)
static void toLaz (meshlib.PointCloud points, meshlib.std_ostream out, meshlib.SaveSettings settings)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ toAnySupportedFormat() [1/2]

void meshlib.pointssave.Functions.toAnySupportedFormat ( meshlib.PointCloud points,
java.lang.String extension,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

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

Calls MR_PointsSave_toAnySupportedFormat_stream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toAnySupportedFormat() [2/2]

void meshlib.pointssave.Functions.toAnySupportedFormat ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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

Calls MR_PointsSave_toAnySupportedFormat(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toAsc() [1/2]

void meshlib.pointssave.Functions.toAsc ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toAsc() [2/2]

void meshlib.pointssave.Functions.toAsc ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toAsc.

Calls MR_PointsSave_toAsc_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toCtm() [1/4]

void meshlib.pointssave.Functions.toCtm ( meshlib.PointCloud points,
java.lang.String file,
meshlib.pointssave.CtmSavePointsOptions options )
static

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

Calls MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_PointsSave_CtmSavePointsOptions(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toCtm() [2/4]

void meshlib.pointssave.Functions.toCtm ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_const_std_filesystem_path_ref_MR_SaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toCtm() [3/4]

void meshlib.pointssave.Functions.toCtm ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.pointssave.CtmSavePointsOptions options )
static

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_std_ostream_ref_MR_PointsSave_CtmSavePointsOptions(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toCtm() [4/4]

void meshlib.pointssave.Functions.toCtm ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toCtm.

Calls MR_PointsSave_toCtm_std_ostream_ref_MR_SaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDrc() [1/4]

void meshlib.pointssave.Functions.toDrc ( meshlib.PointCloud points,
java.lang.String file,
meshlib.DracoSaveOptions options )
static

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

Calls MR_PointsSave_toDrc_const_std_filesystem_path_ref_MR_DracoSaveOptions(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDrc() [2/4]

void meshlib.pointssave.Functions.toDrc ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_const_std_filesystem_path_ref_MR_SaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDrc() [3/4]

void meshlib.pointssave.Functions.toDrc ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.DracoSaveOptions options )
static

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_std_ostream_ref_MR_DracoSaveOptions(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toDrc() [4/4]

void meshlib.pointssave.Functions.toDrc ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toDrc.

Calls MR_PointsSave_toDrc_std_ostream_ref_MR_SaveSettings(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toLas() [1/2]

void meshlib.pointssave.Functions.toLas ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toLas() [2/2]

void meshlib.pointssave.Functions.toLas ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toLas.

Calls MR_PointsSave_toLas_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toLaz() [1/2]

void meshlib.pointssave.Functions.toLaz ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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

Calls MR_PointsSave_toLaz_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toLaz() [2/2]

void meshlib.pointssave.Functions.toLaz ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toLaz.

Calls MR_PointsSave_toLaz_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toPly() [1/2]

void meshlib.pointssave.Functions.toPly ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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

Calls MR_PointsSave_toPly_std_filesystem_path(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toPly() [2/2]

void meshlib.pointssave.Functions.toPly ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toPly.

Calls MR_PointsSave_toPly_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toXyz() [1/2]

void meshlib.pointssave.Functions.toXyz ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toXyz() [2/2]

void meshlib.pointssave.Functions.toXyz ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toXyz.

Calls MR_PointsSave_toXyz_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toXyzn() [1/2]

void meshlib.pointssave.Functions.toXyzn ( meshlib.PointCloud points,
java.lang.String file,
meshlib.SaveSettings settings )
static

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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ toXyzn() [2/2]

void meshlib.pointssave.Functions.toXyzn ( meshlib.PointCloud points,
meshlib.std_ostream out,
meshlib.SaveSettings settings )
static

Generated from function MR::PointsSave::toXyzn.

Calls MR_PointsSave_toXyzn_std_ostream(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


The documentation for this class was generated from the following file: