Topics | |
Base64 | |
DistanceMap Load | |
DistanceMap Save | |
Mesh Load | |
Image Load | |
Image Save | |
IO Filters | |
IO Formats Registry | |
Lines Load | |
Lines Save | |
Mesh Load | |
Mesh Load Obj | |
Mesh Save | |
Mesh Save Obj | |
Points Save | |
Serializer | |
Stream Operators | |
Overloaded operators for IO base structures (Vector, Matrix, Plane, AffineXf, ...) | |
Voxels Load | |
Classes | |
struct | MR::VoxelsSave::SavingSettings |
Functions | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromText (const std::filesystem::path &file, const PointsLoadSettings &settings) |
loads from .csv, .asc, .xyz, .txt file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromText (std::istream &in, const PointsLoadSettings &settings) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromText (const std::filesystem::path &file, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromText (std::istream &in, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPts (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
loads from Laser scan plain data format (.pts) file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPts (std::istream &in, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromCtm (const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={}) |
loads from .ctm file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromCtm (std::istream &in, VertColors *colors=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPly (const std::filesystem::path &file, VertColors *colors=nullptr, ProgressCallback callback={}) |
loads from .ply file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPly (std::istream &in, VertColors *colors=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromObj (const std::filesystem::path &file, ProgressCallback callback={}) |
loads from .obj file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromObj (std::istream &in, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromE57 (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
loads from .e57 file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromLas (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
loads from .las file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromLas (std::istream &in, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromDxf (const std::filesystem::path &file, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromDxf (std::istream &in, ProgressCallback callback={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromAnySupportedFormat (const std::filesystem::path &file, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
detects the format from file extension and loads points from it | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromAnySupportedFormat (std::istream &in, const std::string &extension, VertColors *colors=nullptr, AffineXf3f *outXf=nullptr, ProgressCallback callback={}) |
extension in *.ext format | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toRawAutoname (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save raw voxels file, writing parameters in file name. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toRawFloat (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={}) |
Save voxels in raw format with each value as 32-bit float in given binary stream. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save voxels in Gav-format in given file. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={}) |
Save voxels in Gav-format in given binary stream. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toVdb (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save voxels file in OpenVDB format. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::toAnySupportedFormat (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Saves voxels in a file, detecting the format from file extension. | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::saveSliceToImage (const std::filesystem::path &path, const VdbVolume &vdbVolume, const SlicePlane &slicePlain, int sliceNumber, ProgressCallback callback={}) |
save the slice by the active plane through the sliceNumber to an image file | |
MRMESH_API VoidOrErrStr | MR::VoxelsSave::saveAllSlicesToImage (const VdbVolume &vdbVolume, const SavingSettings &settings) |
save all slices by the active plane through all voxel planes along the active axis to an image file | |
Variables | |
MRMESH_API const IOFilters | MR::PointsLoad::Filters |
MRMESH_API const IOFilters | MR::VoxelsSave::Filters |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
detects the format from file extension and loads points from it
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromAnySupportedFormat | ( | std::istream & | in, |
const std::string & | extension, | ||
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
extension in *.ext
format
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromCtm | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
ProgressCallback | callback = {} ) |
loads from .ctm file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromCtm | ( | std::istream & | in, |
VertColors * | colors = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromDxf | ( | const std::filesystem::path & | file, |
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromDxf | ( | std::istream & | in, |
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromE57 | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
loads from .e57 file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromLas | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
loads from .las file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromLas | ( | std::istream & | in, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromObj | ( | const std::filesystem::path & | file, |
ProgressCallback | callback = {} ) |
loads from .obj file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromObj | ( | std::istream & | in, |
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPly | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
ProgressCallback | callback = {} ) |
loads from .ply file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPly | ( | std::istream & | in, |
VertColors * | colors = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPts | ( | const std::filesystem::path & | file, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
loads from Laser scan plain data format (.pts) file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPts | ( | std::istream & | in, |
VertColors * | colors = nullptr, | ||
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromText | ( | const std::filesystem::path & | file, |
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromText | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings ) |
loads from .csv, .asc, .xyz, .txt file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromText | ( | std::istream & | in, |
AffineXf3f * | outXf = nullptr, | ||
ProgressCallback | callback = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromText | ( | std::istream & | in, |
const PointsLoadSettings & | settings ) |
MRMESH_API VoidOrErrStr MR::VoxelsSave::saveAllSlicesToImage | ( | const VdbVolume & | vdbVolume, |
const SavingSettings & | settings ) |
save all slices by the active plane through all voxel planes along the active axis to an image file
MRMESH_API VoidOrErrStr MR::VoxelsSave::saveSliceToImage | ( | const std::filesystem::path & | path, |
const VdbVolume & | vdbVolume, | ||
const SlicePlane & | slicePlain, | ||
int | sliceNumber, | ||
ProgressCallback | callback = {} ) |
save the slice by the active plane through the sliceNumber to an image file
MRMESH_API VoidOrErrStr MR::VoxelsSave::toAnySupportedFormat | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Saves voxels in a file, detecting the format from file extension.
MRMESH_API VoidOrErrStr MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save voxels in Gav-format in given file.
MRMESH_API VoidOrErrStr MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
Save voxels in Gav-format in given binary stream.
MRMESH_API VoidOrErrStr MR::VoxelsSave::toRawAutoname | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save raw voxels file, writing parameters in file name.
MRMESH_API VoidOrErrStr MR::VoxelsSave::toRawFloat | ( | const VdbVolume & | vdbVolume, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
Save voxels in raw format with each value as 32-bit float in given binary stream.
MRMESH_API VoidOrErrStr MR::VoxelsSave::toVdb | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save voxels file in OpenVDB format.
|
extern |
|
extern |