|
| | ValueAccessor0 (TreeType &tree) |
| |
| | ValueAccessor0 (const ValueAccessor0 &other) |
| |
| ValueAccessor0 & | operator= (const ValueAccessor0 &other) |
| |
| | ~ValueAccessor0 () override=default |
| |
| bool | isCached (const Coord &) const |
| | Return true if nodes along the path to the given voxel have been cached. More...
|
| |
| const ValueType & | getValue (const Coord &xyz) const |
| | Return the value of the voxel at the given coordinates. More...
|
| |
| bool | isValueOn (const Coord &xyz) const |
| | Return the active state of the voxel at the given coordinates. More...
|
| |
| bool | probeValue (const Coord &xyz, ValueType &value) const |
| | Return the active state and, in value, the value of the voxel at the given coordinates. More...
|
| |
| int | getValueDepth (const Coord &xyz) const |
| |
| bool | isVoxel (const Coord &xyz) const |
| |
| 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 | setValueOn (const Coord &xyz, const ValueType &value) |
| |
| void | setValueOnly (const Coord &xyz, const ValueType &value) |
| | Set the value of the voxel at the given coordinate but don't change its active state. 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...
|
| |
| 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 | setActiveState (const Coord &xyz, bool on=true) |
| | Set the active state of the voxel at the given coordinates but don't change its value. More...
|
| |
| void | setValueOn (const Coord &xyz) |
| | Mark the voxel at the given coordinates as active but don't change its value. More...
|
| |
| void | setValueOff (const Coord &xyz) |
| | Mark the voxel at the given coordinates as inactive but don't change its value. More...
|
| |
| template<typename NodeT > |
| NodeT * | getNode () |
| | Return the cached node of type NodeType. [Mainly for internal use]. More...
|
| |
| template<typename NodeT > |
| void | insertNode (const Coord &, NodeT &) |
| |
| void | addLeaf (LeafNodeT *leaf) |
| | Add the specified leaf to this tree, possibly creating a child branch in the process. If the leaf node already exists, replace it. More...
|
| |
| void | addTile (Index level, const Coord &xyz, const ValueType &value, bool state) |
| | Add a tile at the specified tree level that contains voxel (x, y, z), possibly deleting existing nodes or creating new nodes in the process. More...
|
| |
| template<typename NodeT > |
| void | eraseNode () |
| |
| LeafNodeT * | touchLeaf (const Coord &xyz) |
| |
| template<typename NodeT > |
| NodeT * | probeNode (const Coord &xyz) |
| |
| template<typename NodeT > |
| const NodeT * | probeConstNode (const Coord &xyz) const |
| |
| LeafNodeT * | probeLeaf (const Coord &xyz) |
| |
| const LeafNodeT * | probeConstLeaf (const Coord &xyz) const |
| |
| const LeafNodeT * | probeLeaf (const Coord &xyz) const |
| |
| void | clear () override |
| | Remove all nodes from this cache, then reinsert the root node. More...
|
| |
template<typename _TreeType, bool IsSafe>
class openvdb::v7_1::tree::ValueAccessor0< _TreeType, IsSafe >
ValueAccessor with no mutex and no node caching.
This specialization is provided mainly for benchmarking. Accessors with caching will almost always be faster.