MeshLib Documentation
Loading...
Searching...
No Matches
MRVolumeIndexer.h File Reference
#include "MRMeshFwd.h"
#include "MRVector3.h"
#include "MRId.h"
#include <array>

Go to the source code of this file.

Classes

struct  MR::VoxelLocation
 contains both linear Id and 3D coordinates of the same voxel More...
 
class  MR::VolumeIndexer
 

Namespaces

namespace  MR
 

Enumerations

enum class  MR::OutEdge : signed char {
  MR::OutEdge::Invalid = -1 , MR::OutEdge::PlusZ = 0 , MR::OutEdge::MinusZ , MR::OutEdge::PlusY ,
  MR::OutEdge::MinusY , MR::OutEdge::PlusX , MR::OutEdge::MinusX , MR::OutEdge::Count
}
 

Functions

OutEdge MR::opposite (OutEdge e)
 
MRMESH_API void MR::expandVoxelsMask (VoxelBitSet &mask, const VolumeIndexer &indexer, int expansion=1)
 expands VoxelBitSet with given number of steps
 
MRMESH_API void MR::shrinkVoxelsMask (VoxelBitSet &mask, const VolumeIndexer &indexer, int shrinkage=1)
 shrinks VoxelBitSet with given number of steps
 

Variables

constexpr Vector3i MR::neiPosDelta [OutEdgeCount]