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::fromPts (const std::filesystem::path &file, const PointsLoadSettings &settings={}) |
loads from Laser scan plain data format (.pts) file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPts (std::istream &in, const PointsLoadSettings &settings={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPly (const std::filesystem::path &file, const PointsLoadSettings &settings={}) |
loads from .ply file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromPly (std::istream &in, const PointsLoadSettings &settings={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromObj (const std::filesystem::path &file, const PointsLoadSettings &settings={}) |
loads from .obj file | |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromObj (std::istream &in, const PointsLoadSettings &settings={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromDxf (const std::filesystem::path &file, const PointsLoadSettings &settings={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromDxf (std::istream &in, const PointsLoadSettings &settings={}) |
MRMESH_API Expected< PointCloud > | MR::PointsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const PointsLoadSettings &settings={}) |
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, const PointsLoadSettings &settings={}) |
extension in *.ext format | |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toRawAutoname (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save raw voxels file, writing parameters in file name. | |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toRawAutoname (const SimpleVolume &simpleVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | 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. | |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toRawFloat (const SimpleVolume &simpleVolume, std::ostream &out, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save voxels in Gav-format in given destination. | |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const SimpleVolumeMinMax &simpleVolumeMinMax, const std::filesystem::path &file, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const SimpleVolumeMinMax &simpleVolumeMinMax, std::ostream &out, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const SimpleVolume &simpleVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toGav (const SimpleVolume &simpleVolume, std::ostream &out, ProgressCallback callback={}) |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toVdb (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Save voxels file in OpenVDB format. | |
MRVOXELS_API Expected< void > | MR::VoxelsSave::toAnySupportedFormat (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
Saves voxels in a file, detecting the format from file extension. | |
MRVOXELS_API Expected< void > | 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 | |
MRVOXELS_API Expected< void > | 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 Expected< PointCloud > MR::PointsLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings = {} ) |
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, | ||
const PointsLoadSettings & | settings = {} ) |
extension in *.ext
format
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromDxf | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromDxf | ( | std::istream & | in, |
const PointsLoadSettings & | settings = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromObj | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings = {} ) |
loads from .obj file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromObj | ( | std::istream & | in, |
const PointsLoadSettings & | settings = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPly | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings = {} ) |
loads from .ply file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPly | ( | std::istream & | in, |
const PointsLoadSettings & | settings = {} ) |
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPts | ( | const std::filesystem::path & | file, |
const PointsLoadSettings & | settings = {} ) |
loads from Laser scan plain data format (.pts) file
MRMESH_API Expected< PointCloud > MR::PointsLoad::fromPts | ( | std::istream & | in, |
const PointsLoadSettings & | settings = {} ) |
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 = {} ) |
MRVOXELS_API Expected< void > 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
MRVOXELS_API Expected< void > 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
MRVOXELS_API Expected< void > MR::VoxelsSave::toAnySupportedFormat | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Saves voxels in a file, detecting the format from file extension.
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolume & | simpleVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolume & | simpleVolume, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolumeMinMax & | simpleVolumeMinMax, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolumeMinMax & | simpleVolumeMinMax, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save voxels in Gav-format in given destination.
MRVOXELS_API Expected< void > MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toRawAutoname | ( | const SimpleVolume & | simpleVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > MR::VoxelsSave::toRawAutoname | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save raw voxels file, writing parameters in file name.
MRVOXELS_API Expected< void > MR::VoxelsSave::toRawFloat | ( | const SimpleVolume & | simpleVolume, |
std::ostream & | out, | ||
ProgressCallback | callback = {} ) |
MRVOXELS_API Expected< void > 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.
MRVOXELS_API Expected< void > MR::VoxelsSave::toVdb | ( | const VdbVolume & | vdbVolume, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
Save voxels file in OpenVDB format.