Point Cloud Viewer
1.00
A Viewer to display point clouds with phong shading by converting them to splats.
|
An iterator to iterate over an octree. More...
#include <entityoctree.h>
Public Member Functions | |
Iterator (EntityOctree *root) | |
Creates an iterator for the subtree with the given root. More... | |
bool | next () |
Jumps to the next Entity in the tree. More... | |
bool | finished () |
Checks if the iterator is finished and removes the finished-flag. More... | |
void | replace (Entity &newEntity) |
Replaces the Entity at the current position. More... | |
Iterator & | operator++ () |
Jumps to the next Entity in the tree. More... | |
Iterator | operator++ (int) |
Jumps to the next Entity in the tree. More... | |
Entity * | operator-> () |
Returns the Entity at the current position. More... | |
Entity & | operator* () |
Returns the Entity at the current position. More... | |
An iterator to iterate over an octree.
EntityOctree::Iterator::Iterator | ( | EntityOctree * | root | ) |
Creates an iterator for the subtree with the given root.
root | The subtree root. If 0, the iterator's finished flag is persistently activated and the iterator should never be dereferenced. |
bool EntityOctree::Iterator::finished | ( | ) |
Checks if the iterator is finished and removes the finished-flag.
bool EntityOctree::Iterator::next | ( | ) |
Entity & EntityOctree::Iterator::operator* | ( | ) |
Returns the Entity at the current position.
Should not be called if the tree is empty.
EntityOctree::Iterator & EntityOctree::Iterator::operator++ | ( | ) |
EntityOctree::Iterator EntityOctree::Iterator::operator++ | ( | int | ) |
Entity * EntityOctree::Iterator::operator-> | ( | ) |
Returns the Entity at the current position.
Should not be called if the tree is empty.
void EntityOctree::Iterator::replace | ( | Entity & | newEntity | ) |