MVE - Multi-View Environment mve-devel
|
Octree iterator that keeps track of level and path through the octree. More...
#include <octree.h>
Public Member Functions | |
Iterator (void) | |
Iterator | ascend (void) const |
Iterator | descend (int octant) const |
Iterator | descend (uint8_t level, uint64_t path) const |
Node * | first_leaf (void) |
Node * | first_node (void) |
Node * | next_branch (void) |
Node * | next_leaf (void) |
Node * | next_node (void) |
Public Attributes | |
Node * | current |
uint8_t | level |
uint64_t | path |
Node * | root |
Octree iterator that keeps track of level and path through the octree.
The complete path is a series of 3 bits each indicating the octant from the root towards the target node. The iterator works on octrees with a maximum depth of 21.
Octree::Iterator fssr::Octree::Iterator::ascend | ( | void | ) | const |
Octree::Iterator fssr::Octree::Iterator::descend | ( | int | octant | ) | const |
Octree::Iterator fssr::Octree::Iterator::descend | ( | uint8_t | level, |
uint64_t | path | ||
) | const |
Octree::Node * fssr::Octree::Iterator::first_leaf | ( | void | ) |
Octree::Node * fssr::Octree::Iterator::first_node | ( | void | ) |
Octree::Node * fssr::Octree::Iterator::next_branch | ( | void | ) |
Octree::Node * fssr::Octree::Iterator::next_leaf | ( | void | ) |
Octree::Node * fssr::Octree::Iterator::next_node | ( | void | ) |