|
| CacheItem (TreeCacheT &parent) |
|
bool | isCached (const Coord &xyz) const |
|
void | insert (const Coord &xyz, const NodeType *node) |
| Cache the given node at this level. More...
|
|
template<typename OtherNodeType > |
void | insert (const Coord &xyz, const OtherNodeType *node) |
| Forward the given node to another level of the cache. More...
|
|
void | erase (const NodeType *) |
| Erase the node at this level. More...
|
|
template<typename OtherNodeType > |
void | erase (const OtherNodeType *node) |
| Erase the node at another level of the cache. More...
|
|
void | clear () |
| Erase the nodes at this and lower levels of the cache. More...
|
|
void | getNode (const NodeType *&node) const |
| Return the cached node (if any) at this level. More...
|
|
void | getNode (const NodeType *&node) |
|
void | getNode (NodeType *&node) |
|
template<typename OtherNodeType > |
void | getNode (OtherNodeType *&node) |
| Forward the request to another level of the cache. More...
|
|
const ValueType & | getValue (const Coord &xyz) |
| Return the value of the voxel at the given coordinates. More...
|
|
void | addLeaf (LeafNodeType *leaf) |
|
void | addTile (Index level, const Coord &xyz, const ValueType &value, bool state) |
|
LeafNodeType * | touchLeaf (const Coord &xyz) |
|
LeafNodeType * | probeLeaf (const Coord &xyz) |
|
const LeafNodeType * | probeConstLeaf (const Coord &xyz) |
|
template<typename NodeT > |
NodeT * | probeNode (const Coord &xyz) |
|
template<typename NodeT > |
const NodeT * | probeConstNode (const Coord &xyz) |
|
bool | isValueOn (const Coord &xyz) |
| Return the active state of the voxel at the given coordinates. More...
|
|
bool | probeValue (const Coord &xyz, ValueType &value) |
| Return the active state and value of the voxel at the given coordinates. More...
|
|
int | getValueDepth (const Coord &xyz) |
|
bool | isVoxel (const Coord &xyz) |
|
void | setValue (const Coord &xyz, const ValueType &value) |
| Set the value of the voxel at the given coordinates and mark the voxel as active. More...
|
|
void | setValueOnly (const Coord &xyz, const ValueType &value) |
|
void | setValueOn (const Coord &xyz, const ValueType &value) |
|
template<typename ModifyOp > |
void | modifyValue (const Coord &xyz, const ModifyOp &op) |
| Apply a functor to the value of the voxel at the given coordinates and mark the voxel as active. More...
|
|
template<typename ModifyOp > |
void | modifyValueAndActiveState (const Coord &xyz, const ModifyOp &op) |
| Apply a functor to the voxel at the given coordinates. More...
|
|
void | setValueOff (const Coord &xyz, const ValueType &value) |
| Set the value of the voxel at the given coordinates and mark the voxel as inactive. More...
|
|
void | setActiveState (const Coord &xyz, bool on) |
| Set the active state of the voxel at the given coordinates. More...
|
|
|
| CacheItem (TreeCacheT &parent, const CacheItem &other) |
| Copy another CacheItem's node pointers and hash keys, but not its parent pointer. More...
|
|
CacheItem & | copy (TreeCacheT &parent, const CacheItem &other) |
| Copy another CacheItem's node pointers and hash keys, but not its parent pointer. More...
|
|