|
supereight
|
Iterates over all valid data in the octree at the last scale it was updated at. More...
#include <iterator.hpp>
Public Types | |
| typedef BaseTraits< DerivedT >::OctreeType | OctreeType |
| typedef BaseTraits< DerivedT >::NodeType | NodeType |
| typedef BaseTraits< DerivedT >::BlockType | BlockType |
| using | difference_type = long |
| using | value_type = se::OctantBase |
| using | pointer = se::OctantBase * |
| using | reference = se::OctantBase & |
| using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
| BaseIterator () | |
| BaseIterator (OctreeType *octree_ptr) | |
| BaseIterator (const BaseIterator &other) | |
| BaseIterator & | operator++ () |
| BaseIterator | operator++ (int) |
| bool | operator== (const BaseIterator &other) const |
| bool | operator!= (const BaseIterator &other) const |
| se::OctantBase * | operator* () const |
Protected Member Functions | |
| void | init () |
Iterates over all valid data in the octree at the last scale it was updated at.
The iterator performs a depth-first traversal of the octree. To use it just use the se::Octree::begin() and se::Octree::end() functions or a range-based for loop:
| typedef BaseTraits<DerivedT>::OctreeType se::BaseIterator< DerivedT >::OctreeType |
| typedef BaseTraits<DerivedT>::NodeType se::BaseIterator< DerivedT >::NodeType |
| typedef BaseTraits<DerivedT>::BlockType se::BaseIterator< DerivedT >::BlockType |
| using se::BaseIterator< DerivedT >::difference_type = long |
| using se::BaseIterator< DerivedT >::value_type = se::OctantBase |
| using se::BaseIterator< DerivedT >::pointer = se::OctantBase* |
| using se::BaseIterator< DerivedT >::reference = se::OctantBase& |
| using se::BaseIterator< DerivedT >::iterator_category = std::forward_iterator_tag |
| se::BaseIterator< DerivedT >::BaseIterator | ( | ) |
| se::BaseIterator< DerivedT >::BaseIterator | ( | OctreeType * | octree_ptr | ) |
| se::BaseIterator< DerivedT >::BaseIterator | ( | const BaseIterator< DerivedT > & | other | ) |
| BaseIterator& se::BaseIterator< DerivedT >::operator++ | ( | ) |
| BaseIterator se::BaseIterator< DerivedT >::operator++ | ( | int | ) |
| bool se::BaseIterator< DerivedT >::operator== | ( | const BaseIterator< DerivedT > & | other | ) | const |
| bool se::BaseIterator< DerivedT >::operator!= | ( | const BaseIterator< DerivedT > & | other | ) | const |
| se::OctantBase* se::BaseIterator< DerivedT >::operator* | ( | ) | const |
|
protected |
1.8.13