MeshLib C++ Docs
Loading...
Searching...
No Matches
MRVDBFloatGrid.h File Reference
#include "MRVoxelsFwd.h"
#include "MRFloatGrid.h"
#include "MRMesh/MRVector3.h"
#include "MRMesh/MRBox.h"
#include "MRPch/MROpenVDB.h"
#include "MRPch/MRBindingMacros.h"

Go to the source code of this file.

Classes

struct  MR::OpenVdbFloatGrid
 this class just hides very complex type of typedef openvdb::FloatGrid More...

Namespaces

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

Functions

openvdb::FloatGrid & MR::ovdb (OpenVdbFloatGrid &v)
const openvdb::FloatGrid & MR::ovdb (const OpenVdbFloatGrid &v)
FloatGrid MR::MakeFloatGrid (const FloatGrid &)=delete
 prohibit unnecessary conversion
FloatGrid MR::MakeFloatGrid (openvdb::FloatGrid::Ptr &&p)
 makes MR::FloatGrid shared pointer taking the contents of the input pointer
Vector3i MR::fromVdb (const openvdb::Coord &v)
openvdb::Coord MR::toVdb (const Vector3i &v)
Box3i MR::fromVdbBox (const openvdb::CoordBBox &box)
openvdb::CoordBBox MR::toVdbBox (const Box3i &box)
openvdb::CoordBBox MR::toVdbBox (const Vector3i &dims)
void MR::putSimpleVolumeInDenseGrid (openvdb::FloatGrid &grid, const Vector3i &minCoord, const SimpleVolume &simpleVolume, ProgressCallback cb={})
 Copy given simpleVolume into the grid, starting at minCoord Uses multithreaded copying, so the function is not thread safe.
void MR::putSimpleVolumeInDenseGrid (openvdb::FloatGrid::Accessor &gridAccessor, const Vector3i &minCoord, const SimpleVolume &simpleVolume, ProgressCallback cb={})
 Copy given simpleVolume into the grid of gridAccessor, starting at minCoord Can be called from different threads on the same grid, provided that the accessors are different.