|
| __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. More...
|
| |
| __hostdev__ | ChannelAccessor (const NanoGrid< IndexT > &grid, ChannelT *channelPtr) |
| | Ctor from an IndexGrid and an external channel. More...
|
| |
| __hostdev__ | operator bool () const |
| | return true if this access was initialized correctly More...
|
| |
__hostdev__ const NanoGrid
< IndexT > & | grid () const |
| | Return a const reference to the IndexGrid. More...
|
| |
| __hostdev__ const TreeType & | tree () const |
| | Return a const reference to the tree of the IndexGrid. More...
|
| |
| __hostdev__ const Vec3d & | voxelSize () const |
| | Return a vector of the axial voxel sizes. More...
|
| |
| __hostdev__ const uint64_t & | valueCount () const |
| | Return total number of values indexed by the IndexGrid. More...
|
| |
| __hostdev__ ChannelT * | setChannel (ChannelT *channelPtr) |
| | Change to an external channel. More...
|
| |
| __hostdev__ ChannelT * | setChannel (uint32_t channelID) |
| | Change to an internal channel, assuming it exists as as blind data in the IndexGrid. More...
|
| |
| __hostdev__ uint64_t | getIndex (const Coord &ijk) const |
| | Return the linear offset into a channel that maps to the specified coordinate. More...
|
| |
| __hostdev__ uint64_t | idx (int i, int j, int k) const |
| |
| __hostdev__ ChannelT & | getValue (const Coord &ijk) const |
| | Return the value from a cached channel that maps to the specified coordinate. More...
|
| |
| __hostdev__ ChannelT & | operator() (const Coord &ijk) const |
| |
| __hostdev__ ChannelT & | operator() (int i, int j, int k) const |
| |
| __hostdev__ bool | probeValue (const Coord &ijk, typename remove_const< ChannelT >::type &v) const |
| | return the state and updates the value of the specified voxel More...
|
| |
| template<typename T > |
| __hostdev__ T & | getValue (const Coord &ijk, T *channelPtr) const |
| | Return the value from a specified channel that maps to the specified coordinate. More...
|
| |
| __hostdev__ | ReadAccessor (const RootT &root) |
| | Constructor from a root node. More...
|
| |
| __hostdev__ | ReadAccessor (const GridT &grid) |
| | Constructor from a grid. More...
|
| |
| __hostdev__ | ReadAccessor (const TreeT &tree) |
| | Constructor from a tree. More...
|
| |
| __hostdev__ const RootT & | root () const |
| |
| | ReadAccessor (const ReadAccessor &)=default |
| | Defaults constructors. More...
|
| |
| | ~ReadAccessor ()=default |
| |
| ReadAccessor & | operator= (const ReadAccessor &)=default |
| |
| template<typename NodeT > |
| __hostdev__ const NodeT * | getNode () const |
| | Return a const point to the cached node of the specified type. More...
|
| |
| 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. More...
|
| |
| 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__ ValueType | operator() (int i, int j, int k) 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.
Definition at line 7710 of file NanoVDB.h.