MeshLib Documentation
Loading...
Searching...
No Matches
MR::VoxelsVolumeAccessor< VdbVolume > Class Reference

VoxelsVolumeAccessor specialization for VDB volume. More...

#include <MRVoxelsVolumeAccess.h>

Public Types

using VolumeType = VdbVolume
 
using ValueType = typename VolumeType::ValueType
 

Public Member Functions

 VoxelsVolumeAccessor (const VolumeType &volume)
 
ValueType get (const Vector3i &pos) const
 
ValueType get (const VoxelLocation &loc) const
 
const Vector3i & minCoord () const
 
Vector3f shift () const
 this additional shift shall be added to integer voxel coordinates during transformation in 3D space
 

Static Public Attributes

static constexpr bool cacheEffective = true
 caching results of this accessor can improve performance
 

Detailed Description

VoxelsVolumeAccessor specialization for VDB volume.

Member Typedef Documentation

◆ ValueType

using MR::VoxelsVolumeAccessor< VdbVolume >::ValueType = typename VolumeType::ValueType

◆ VolumeType

using MR::VoxelsVolumeAccessor< VdbVolume >::VolumeType = VdbVolume

Constructor & Destructor Documentation

◆ VoxelsVolumeAccessor()

MR::VoxelsVolumeAccessor< VdbVolume >::VoxelsVolumeAccessor ( const VolumeType & volume)
inlineexplicit

Member Function Documentation

◆ get() [1/2]

ValueType MR::VoxelsVolumeAccessor< VdbVolume >::get ( const Vector3i & pos) const
inline

◆ get() [2/2]

ValueType MR::VoxelsVolumeAccessor< VdbVolume >::get ( const VoxelLocation & loc) const
inline

◆ minCoord()

const Vector3i & MR::VoxelsVolumeAccessor< VdbVolume >::minCoord ( ) const
inline

◆ shift()

Vector3f MR::VoxelsVolumeAccessor< VdbVolume >::shift ( ) const
inline

this additional shift shall be added to integer voxel coordinates during transformation in 3D space

Member Data Documentation

◆ cacheEffective

bool MR::VoxelsVolumeAccessor< VdbVolume >::cacheEffective = true
staticconstexpr

caching results of this accessor can improve performance


The documentation for this class was generated from the following file: