Function octomap::computeIndexKey

Function Documentation

inline OcTreeKey octomap::computeIndexKey(key_type level, const OcTreeKey &key)

Generates a unique key for all keys on a certain level of the tree

Parameters:
  • level – from the bottom (= tree_depth - depth of key)

  • key – input indexing key (at lowest resolution / level)

Returns:

key corresponding to the input key at the given level