MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume Class Reference

Public Member Functions

None __init__ (self, VdbVolume volume, VoxelsVolumeAccessor_VdbVolume accessor)
 
None __init__ (self, VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume other, VoxelsVolumeAccessor_VdbVolume accessor)
 
float get (self, Vector3f pos)
 

Static Public Attributes

 VolumeType = VdbVolume
 

Detailed Description

Generated from:  MR::VoxelsVolumeInterpolatedAccessor<MR::VoxelsVolumeAccessor<MR::VdbVolume>>

helper class for generalized access to voxel volume data with trilinear interpolation
coordinate: 0       voxelSize
            |       |
            I---*---I---*---I---
            |       |       |
value:     [0]     [1]     [2] ...
note: this class is as thread-safe as the underlying Accessor
e.g. VoxelsVolumeAccessor<VdbVolume> is not thread-safe (but several instances on same volume is thread-safe)

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume.__init__ ( self,
VdbVolume volume,
VoxelsVolumeAccessor_VdbVolume accessor )
create an accessor instance that stores references to volume and its accessor
the volume should not modified while it is accessed by this class

◆ __init__() [2/2]

None meshlib.mrmeshpy.VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume.__init__ ( self,
VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume other,
VoxelsVolumeAccessor_VdbVolume accessor )
a copying-like constructor with explicitly provided accessor

Member Function Documentation

◆ get()

float meshlib.mrmeshpy.VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume.get ( self,
Vector3f pos )
get value at specified coordinates

Member Data Documentation

◆ VolumeType

meshlib.mrmeshpy.VoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_VdbVolume.VolumeType = VdbVolume
static

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