|  | 
| __hostdev__ | ChannelAccessor (const NanoGrid< IndexT > &grid, uint32_t channelID=0u) | 
|  | Ctor from an IndexGrid and an integer ID of an internal channel that is assumed to exist as blind data in the IndexGrid. 
 | 
|  | 
| __hostdev__ | ChannelAccessor (const NanoGrid< IndexT > &grid, ChannelT *channelPtr) | 
|  | Ctor from an IndexGrid and an external channel. 
 | 
|  | 
| __hostdev__ | operator bool () const | 
|  | return true if this access was initialized correctly 
 | 
|  | 
| __hostdev__ const NanoGrid< IndexT > & | grid () const | 
|  | Return a const reference to the IndexGrid. 
 | 
|  | 
| __hostdev__ const TreeType & | tree () const | 
|  | Return a const reference to the tree of the IndexGrid. 
 | 
|  | 
| __hostdev__ const Vec3d & | voxelSize () const | 
|  | Return a vector of the axial voxel sizes. 
 | 
|  | 
| __hostdev__ const uint64_t & | valueCount () const | 
|  | Return total number of values indexed by the IndexGrid. 
 | 
|  | 
| __hostdev__ ChannelT * | setChannel (ChannelT *channelPtr) | 
|  | Change to an external channel. 
 | 
|  | 
| __hostdev__ ChannelT * | setChannel (uint32_t channelID) | 
|  | Change to an internal channel, assuming it exists as as blind data in the IndexGrid. 
 | 
|  | 
| __hostdev__ uint64_t | getIndex (const math::Coord &ijk) const | 
|  | Return the linear offset into a channel that maps to the specified coordinate. 
 | 
|  | 
| __hostdev__ uint64_t | idx (int i, int j, int k) const | 
|  | 
| __hostdev__ ChannelT & | getValue (const math::Coord &ijk) const | 
|  | Return the value from a cached channel that maps to the specified coordinate. 
 | 
|  | 
| __hostdev__ ChannelT & | operator() (const math::Coord &ijk) const | 
|  | 
| __hostdev__ ChannelT & | operator() (int i, int j, int k) const | 
|  | 
| __hostdev__ bool | probeValue (const math::Coord &ijk, typename util::remove_const< ChannelT >::type &v) const | 
|  | return the state and updates the value of the specified voxel 
 | 
|  | 
| template<typename T> | 
| __hostdev__ T & | getValue (const math::Coord &ijk, T *channelPtr) const | 
|  | Return the value from a specified channel that maps to the specified coordinate. 
 | 
|  | 
| __hostdev__ const RootT & | root () const | 
|  | 
| template<typename NodeT> | 
| __hostdev__ const NodeT * | getNode () const | 
|  | Return a const point to the cached node of the specified type. 
 | 
|  | 
| template<int LEVEL> | 
| __hostdev__ const NodeTrait< TreeT, LEVEL >::type * | getNode () const | 
|  | 
| __hostdev__ void | clear () | 
|  | Reset this access to its initial state, i.e. with an empty cache. 
 | 
|  | 
| template<typename NodeT> | 
| __hostdev__ bool | isCached (const CoordType &ijk) const | 
|  | 
| __hostdev__ ValueType | getValue (const CoordType &ijk) const | 
|  | 
| __hostdev__ ValueType | getValue (int i, int j, int k) const | 
|  | 
| __hostdev__ ValueType | operator() (const CoordType &ijk) const | 
|  | 
| __hostdev__ auto | getNodeInfo (const CoordType &ijk) const | 
|  | 
| __hostdev__ bool | isActive (const CoordType &ijk) const | 
|  | 
| __hostdev__ bool | probeValue (const CoordType &ijk, ValueType &v) const | 
|  | 
| __hostdev__ const LeafT * | probeLeaf (const CoordType &ijk) const | 
|  | 
| template<typename OpT, typename... ArgsT> | 
| __hostdev__ auto | get (const CoordType &ijk, ArgsT &&... args) const | 
|  | 
| template<typename OpT, typename... ArgsT> | 
| __hostdev__ auto | set (const CoordType &ijk, ArgsT &&... args) const | 
|  | 
| template<typename RayT> | 
| __hostdev__ uint32_t | getDim (const CoordType &ijk, const RayT &ray) const | 
|  | 
template<typename ChannelT, typename IndexT = ValueIndex>
class nanovdb::ChannelAccessor< ChannelT, IndexT >
Class to access values in channels at a specific voxel location. 
- Note
- The ChannelT template parameter can be either const and non-const.