MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume Class Reference
Inheritance diagram for mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume:

Public Member Functions

 __init__ (self, *args, **kwargs)
float get (self, ConstVector3f pos)

Static Public Attributes

 ConstVolumeType = ConstFunctionVolume
 VolumeType = FunctionVolume

Detailed Description

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

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__()

mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume, volume: meshlib.mrmeshpy.ConstFunctionVolume, accessor: meshlib.mrmeshpy.ConstVoxelsVolumeAccessor_FunctionVolume) -> None

create an accessor instance that stores references to volume and its accessor
the volume should not modified while it is accessed by this class

2. __init__(self: meshlib.mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume, other: meshlib.mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume, accessor: meshlib.mrmeshpy.ConstVoxelsVolumeAccessor_FunctionVolume) -> None

a copying-like constructor with explicitly provided accessor

Member Function Documentation

◆ get()

float mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume.get ( self,
ConstVector3f pos )
get value at specified coordinates

Member Data Documentation

◆ ConstVolumeType

mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume.ConstVolumeType = ConstFunctionVolume
static

◆ VolumeType

mrmeshpy.ConstVoxelsVolumeInterpolatedAccessor_VoxelsVolumeAccessor_FunctionVolume.VolumeType = FunctionVolume
static

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