#include <tree_functions.h>
Public Member Functions | |
| void | addPoint (std::vector< double > &pt, const std::vector< double > &color=std::vector< double >(3, 0)) |
| void | clear () |
| TreeFastCache (MegaTree &tree_p) | |
| ~TreeFastCache () | |
Private Member Functions | |
| void | addPointRecursive (const double pt[3], const double color[3], double point_accuracy) |
| void | pop () |
| void | push (NodeCache nc) |
| NodeCache & | top () |
Private Attributes | |
| std::stack< NodeCache > | nodes |
| MegaTree & | tree |
Definition at line 132 of file tree_functions.h.
| megatree::TreeFastCache::TreeFastCache | ( | MegaTree & | tree_p | ) | [inline] |
Definition at line 135 of file tree_functions.h.
| megatree::TreeFastCache::~TreeFastCache | ( | ) | [inline] |
Definition at line 141 of file tree_functions.h.
| void megatree::TreeFastCache::addPoint | ( | std::vector< double > & | pt, |
| const std::vector< double > & | color = std::vector<double>(3, 0) |
||
| ) |
Definition at line 116 of file tree_functions.cpp.
| void megatree::TreeFastCache::addPointRecursive | ( | const double | pt[3], |
| const double | color[3], | ||
| double | point_accuracy | ||
| ) | [private] |
Definition at line 127 of file tree_functions.cpp.
| void megatree::TreeFastCache::clear | ( | ) | [inline] |
Definition at line 147 of file tree_functions.h.
| void megatree::TreeFastCache::pop | ( | ) | [inline, private] |
Definition at line 170 of file tree_functions.h.
| void megatree::TreeFastCache::push | ( | NodeCache | nc | ) | [inline, private] |
Definition at line 165 of file tree_functions.h.
| NodeCache& megatree::TreeFastCache::top | ( | ) | [inline, private] |
Definition at line 159 of file tree_functions.h.
std::stack<NodeCache> megatree::TreeFastCache::nodes [private] |
Definition at line 184 of file tree_functions.h.
MegaTree& megatree::TreeFastCache::tree [private] |
Definition at line 185 of file tree_functions.h.