MeshLib
 
Loading...
Searching...
No Matches
MRVoxelsLoad.h File Reference
#include "MRVoxelsFwd.h"
#include "MRScalarConvert.h"
#include "MRVoxelsVolume.h"
#include "MRMesh/MRIOFormatsRegistry.h"
#include "MRMesh/MRObject.h"
#include <filesystem>

Go to the source code of this file.

Classes

struct  MR::VoxelsLoad::RawParameters
 
struct  MR::VoxelsLoad::LoadingTiffSettings
 

Namespaces

namespace  MR
 
namespace  MR::VoxelsLoad
 

Typedefs

using MR::VoxelsLoad::VoxelsLoader = Expected<std::vector<VdbVolume>>( * )( const std::filesystem::path&, const ProgressCallback& )
 

Enumerations

enum class  MR::VoxelsLoad::GridType { MR::VoxelsLoad::DenseGrid = 0 , MR::VoxelsLoad::LevelSet = 1 }
 

Functions

MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const RawParameters &params, const ProgressCallback &cb={})
 Load raw voxels from file with provided parameters.
 
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters &params, const ProgressCallback &cb={})
 
MRVOXELS_API Expected< RawParametersMR::VoxelsLoad::findRawParameters (std::filesystem::path &file)
 
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load raw voxels file, parsing parameters from name.
 
MRVOXELS_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load all voxel volumes from OpenVDB file.
 
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromGav (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load voxel from Gav-file with micro CT reconstruction.
 
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromGav (std::istream &in, const ProgressCallback &cb={})
 Load voxel from Gav-stream with micro CT reconstruction.
 
MRVOXELS_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const ProgressCallback &cb={})
 Detects the format from file extension and loads voxels from it.
 
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::loadTiffDir (const LoadingTiffSettings &settings)
 Load voxels from a set of TIFF files.
 
MRVOXELS_API Expected< std::vector< std::shared_ptr< ObjectVoxels > > > MR::makeObjectVoxelsFromFile (const std::filesystem::path &file, ProgressCallback callback={})
 loads voxels from given file in new object
 
MRVOXELS_API Expected< std::vector< std::shared_ptr< Object > > > MR::makeObjectFromVoxelsFile (const std::filesystem::path &file, std::string *warnings=nullptr, ProgressCallback callback={})