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

Static Public Member Functions

static meshlib.PointCloud fromMultiScanFolder (java.lang.String folder, meshlib.pointsload.MultiScanLoadSettings settings, meshlib.std_function_bool_from_float callback)
static meshlib.PointCloud fromText (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromText (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromPts (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromPts (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromPly (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromPly (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromObj (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromObj (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromDxf (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromDxf (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromAnySupportedFormat (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromAnySupportedFormat (meshlib.std_istream in, java.lang.String extension, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromCtm (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromCtm (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromDrc (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromDrc (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.std_vector_MR_PointsLoad_NamedCloud fromSceneE57File (java.lang.String file, meshlib.pointsload.E57LoadSettings settings)
static meshlib.PointCloud fromE57 (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromE57 (meshlib.std_istream in, meshlib.PointsLoadSettings settings)
static meshlib.LoadedObjects loadObjectFromE57 (java.lang.String path, meshlib.std_function_bool_from_float cb)
static meshlib.PointCloud fromLas (java.lang.String file, meshlib.PointsLoadSettings settings)
static meshlib.PointCloud fromLas (meshlib.std_istream in, meshlib.PointsLoadSettings settings)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ fromAnySupportedFormat() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromAnySupportedFormat ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromAnySupportedFormat() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromAnySupportedFormat ( meshlib.std_istream in,
java.lang.String extension,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromCtm() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromCtm ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromCtm() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromCtm ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromCtm.

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

◆ fromDrc() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromDrc ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

◆ fromDrc() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromDrc ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromDrc.

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

◆ fromDxf() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromDxf ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromDxf.

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

◆ fromDxf() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromDxf ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromDxf.

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

◆ fromE57() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromE57 ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromE57() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromE57 ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromE57.

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

◆ fromLas() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromLas ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromLas() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromLas ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromLas.

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

◆ fromMultiScanFolder()

meshlib.PointCloud meshlib.pointsload.Functions.fromMultiScanFolder ( java.lang.String folder,
meshlib.pointsload.MultiScanLoadSettings settings,
meshlib.std_function_bool_from_float callback )
static

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

◆ fromObj() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromObj ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromObj() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromObj ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromObj.

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

◆ fromPly() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromPly ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromPly() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromPly ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromPly.

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

◆ fromPts() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromPts ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromPts() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromPts ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromPts.

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

◆ fromSceneE57File()

meshlib.std_vector_MR_PointsLoad_NamedCloud meshlib.pointsload.Functions.fromSceneE57File ( java.lang.String file,
meshlib.pointsload.E57LoadSettings settings )
static

Generated from function MR::PointsLoad::fromSceneE57File.

Calls MR_PointsLoad_fromSceneE57File(). The C++ function returns expected<std::vector<MR::PointsLoad::NamedCloud>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromText() [1/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromText ( java.lang.String file,
meshlib.PointsLoadSettings settings )
static

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

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

◆ fromText() [2/2]

meshlib.PointCloud meshlib.pointsload.Functions.fromText ( meshlib.std_istream in,
meshlib.PointsLoadSettings settings )
static

Generated from function MR::PointsLoad::fromText.

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

◆ loadObjectFromE57()

meshlib.LoadedObjects meshlib.pointsload.Functions.loadObjectFromE57 ( java.lang.String path,
meshlib.std_function_bool_from_float cb )
static

Generated from function MR::PointsLoad::loadObjectFromE57.

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


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