|
| ChildIterator | beginChild () |
| |
| ChildIterator | cbeginChildOn () const |
| |
| ValueIterator | beginValue () |
| |
| ValueIterator | cbeginValueAll () const |
| |
| ValueOnIterator | beginValueOn () |
| |
| ValueOnIterator | cbeginValueOn () const |
| |
| DenseIterator | beginDense () |
| |
| DenseIterator | cbeginChildAll () const |
| |
| | InternalNode (const Coord &origin, const ValueType &value, bool state) |
| |
| | InternalNode (const InternalNode &)=delete |
| |
| | InternalNode (InternalNode &&)=delete |
| |
| InternalNode & | operator= (const InternalNode &)=delete |
| |
| InternalNode & | operator= (InternalNode &&)=delete |
| |
| | ~InternalNode () |
| |
| const MaskT & | getValueMask () const |
| |
| const MaskT & | valueMask () const |
| |
| const MaskT & | getChildMask () const |
| |
| const MaskT & | childMask () const |
| |
| const Coord & | origin () const |
| |
| void | nodeCount (std::array< size_t, 3 > &count) const |
| |
| void | localToGlobalCoord (Coord &ijk) const |
| |
| Coord | offsetToGlobalCoord (uint32_t n) const |
| |
| ValueType | getFirstValue () const |
| |
| ValueType | getLastValue () const |
| |
| template<typename OpT , typename... ArgsT> |
| auto | get (const Coord &ijk, ArgsT &&... args) const |
| |
| template<typename OpT , typename... ArgsT> |
| auto | set (const Coord &ijk, ArgsT &&... args) |
| |
| template<typename OpT , typename AccT , typename... ArgsT> |
| auto | getAndCache (const Coord &ijk, const AccT &acc, ArgsT &&... args) const |
| |
| template<typename OpT , typename AccT , typename... ArgsT> |
| auto | setAndCache (const Coord &ijk, const AccT &acc, ArgsT &&... args) |
| |
| ValueType | getValue (const Coord &ijk) const |
| |
| void | setValue (const Coord &ijk, const ValueType &value) |
| |
| template<typename AccT > |
| ValueType | getValueAndCache (const Coord &ijk, AccT &acc) const |
| |
| template<typename AccT > |
| void | setValueAndCache (const Coord &ijk, const ValueType &value, AccT &acc) |
| |
| template<typename AccT > |
| void | setValueOnAndCache (const Coord &ijk, AccT &acc) |
| |
| template<typename AccT > |
| void | touchLeafAndCache (const Coord &ijk, AccT &acc) |
| |
| template<typename AccT > |
| bool | isActiveAndCache (const Coord &ijk, AccT &acc) const |
| |
| template<typename NodeT > |
| uint32_t | nodeCount () const |
| |
| template<typename NodeT > |
| void | getNodes (std::vector< NodeT * > &array) |
| |
| void | addChild (ChildT *&child) |
| |
| template<uint32_t level> |
| void | addTile (const Coord &ijk, const ValueType &value, bool state) |
| | Add a tile containing voxel (i, j, k) at the specified tree level, creating a new branch if necessary. Delete any existing lower-level nodes that contain (x, y, z).
|
| |
| template<typename NodeT > |
| void | addNode (NodeT *&node) |
| |
| void | merge (InternalNode &other) |
| |
| template<typename T > |
| std::enable_if< std::is_floating_point< T >::value >::type | signedFloodFill (T outside) |
| |
|
| static constexpr uint32_t | LOG2DIM = ChildT::LOG2DIM + 1 |
| |
| static constexpr uint32_t | TOTAL = LOG2DIM + ChildT::TOTAL |
| |
| static constexpr uint32_t | DIM = 1u << TOTAL |
| |
| static constexpr uint32_t | SIZE = 1u << (3 * LOG2DIM) |
| |
| static constexpr uint32_t | MASK = DIM - 1 |
| |
| static constexpr uint32_t | LEVEL = 1 + ChildT::LEVEL |
| |
| static constexpr uint64_t | NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
| |
template<typename ChildT >
template<uint32_t level>
| void addTile |
( |
const Coord & | ijk, |
|
|
const ValueType & | value, |
|
|
bool | state ) |
|
inline |
Add a tile containing voxel (i, j, k) at the specified tree level, creating a new branch if necessary. Delete any existing lower-level nodes that contain (x, y, z).
- Template Parameters
-
| level | tree level at which the tile is inserted. Must be 1 or 2. |
- Parameters
-
| ijk | Index coordinate that map to the tile being inserted |
| value | Value of the tile |
| state | Binary state of the tile |