MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRaster.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include "MRScalarConvert.h"
#include "MRVector3.h"
#include <vector>

Go to the source code of this file.

Classes

struct  MR::RasterInfo
 everything about a raster except its values More...
struct  MR::Raster
 regular grid of values of any type: an image if it has one layer, otherwise a volume More...
struct  MR::RasterLoadSettings
 settings for loading rasters from external formats More...
struct  MR::RasterSaveSettings
 settings for saving rasters in external formats More...

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).

Functions

Expected< Image > MR::convertRasterToImage (const Raster &raster)
Expected< void > MR::convertRasterToFloats (const Raster &raster, float *dst, size_t size)
Expected< void > MR::convertRasterToFloats (const Raster &raster, std::vector< float > &dst)