|
HDK
|
#include <GridBuilder.h>
Classes | |
| class | ValueIterator |
| Visits all values in a leaf node, i.e. both active and inactive values. More... | |
| class | ValueOffIterator |
| Visits all inactive values in a leaf node. More... | |
| class | ValueOnIterator |
| Visits all active values in a leaf node. More... | |
Public Types | |
| using | BuildType = BuildT |
| using | ValueType = typename BuildToValueMap< BuildT >::type |
| using | LeafNodeType = LeafNode< BuildT > |
| using | NodeMaskType = Mask< LOG2DIM > |
| template<bool ON> | |
| using | MaskIterT = typename Mask< LOG2DIM >::template Iterator< ON > |
| using | NanoLeafT = typename NanoNode< BuildT, 0 >::Type |
Public Member Functions | |
| ValueOnIterator | beginValueOn () |
| ValueOnIterator | cbeginValueOn () const |
| ValueOffIterator | beginValueOff () |
| ValueOffIterator | cbeginValueOff () const |
| ValueIterator | beginValue () |
| ValueIterator | cbeginValueAll () const |
| LeafNode (const Coord &ijk, const ValueType &value, bool state) | |
| LeafNode (const LeafNode &)=delete | |
| LeafNode (LeafNode &&)=delete | |
| LeafNode & | operator= (const LeafNode &)=delete |
| LeafNode & | operator= (LeafNode &&)=delete |
| ~LeafNode ()=default | |
| const Mask< LOG2DIM > & | getValueMask () const |
| const Mask< LOG2DIM > & | valueMask () const |
| const Coord & | origin () const |
| void | localToGlobalCoord (Coord &ijk) const |
| Coord | offsetToGlobalCoord (uint32_t n) const |
| ValueType | getFirstValue () const |
| ValueType | getLastValue () const |
| const ValueType & | getValue (uint32_t i) const |
| const ValueType & | getValue (const Coord &ijk) 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 AccT > | |
| const ValueType & | getValueAndCache (const Coord &ijk, const AccT &) const |
| template<typename AccT > | |
| void | setValueAndCache (const Coord &ijk, const ValueType &value, const AccT &) |
| template<typename AccT > | |
| void | setValueOnAndCache (const Coord &ijk, const AccT &) |
| template<typename AccT > | |
| bool | isActiveAndCache (const Coord &ijk, const AccT &) const |
| void | setValue (uint32_t n, const ValueType &value) |
| void | setValue (const Coord &ijk, const ValueType &value) |
| void | merge (LeafNode &other) |
| template<typename T > | |
| std::enable_if < std::is_floating_point< T > ::value >::type | signedFloodFill (T outside) |
Static Public Member Functions | |
| static uint32_t | CoordToOffset (const Coord &ijk) |
| Return the linear offset corresponding to the given coordinate. More... | |
| static Coord | OffsetToLocalCoord (uint32_t n) |
Public Attributes | |
| Coord | mOrigin |
| Mask< LOG2DIM > | mValueMask |
| ValueType | mValues [SIZE] |
| union { | |
| NanoLeafT * mDstNode | |
| uint64_t mDstOffset | |
| }; | |
Static Public Attributes | |
| static constexpr uint32_t | LOG2DIM = 3 |
| static constexpr uint32_t | TOTAL = LOG2DIM |
| 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 = 0 |
| static constexpr uint64_t | NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
Definition at line 1093 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::BuildType = BuildT |
Definition at line 1095 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::LeafNodeType = LeafNode<BuildT> |
Definition at line 1097 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::MaskIterT = typename Mask<LOG2DIM>::template Iterator<ON> |
Definition at line 1107 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::NanoLeafT = typename NanoNode<BuildT, 0>::Type |
Definition at line 1108 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::NodeMaskType = Mask<LOG2DIM> |
Definition at line 1105 of file GridBuilder.h.
| using nanovdb::build::LeafNode< BuildT >::ValueType = typename BuildToValueMap<BuildT>::type |
Definition at line 1096 of file GridBuilder.h.
|
inline |
Definition at line 1174 of file GridBuilder.h.
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 1171 of file GridBuilder.h.
|
inline |
Definition at line 1147 of file GridBuilder.h.
|
inline |
Definition at line 1131 of file GridBuilder.h.
|
inline |
Definition at line 1172 of file GridBuilder.h.
|
inline |
Definition at line 1148 of file GridBuilder.h.
|
inline |
Definition at line 1132 of file GridBuilder.h.
|
inlinestatic |
Return the linear offset corresponding to the given coordinate.
Definition at line 1196 of file GridBuilder.h.
|
inline |
Definition at line 1228 of file GridBuilder.h.
|
inline |
Definition at line 1222 of file GridBuilder.h.
|
inline |
Definition at line 1223 of file GridBuilder.h.
|
inline |
Definition at line 1224 of file GridBuilder.h.
|
inline |
Definition at line 1225 of file GridBuilder.h.
|
inline |
Definition at line 1235 of file GridBuilder.h.
|
inline |
Definition at line 1191 of file GridBuilder.h.
|
inline |
Definition at line 1256 of file GridBuilder.h.
|
inline |
Definition at line 1210 of file GridBuilder.h.
|
inline |
Definition at line 1269 of file GridBuilder.h.
|
inline |
Definition at line 1215 of file GridBuilder.h.
|
inlinestatic |
Definition at line 1203 of file GridBuilder.h.
|
delete |
|
delete |
|
inline |
Definition at line 1193 of file GridBuilder.h.
|
inline |
Definition at line 1231 of file GridBuilder.h.
|
inline |
Definition at line 1262 of file GridBuilder.h.
|
inline |
Definition at line 1267 of file GridBuilder.h.
|
inline |
Definition at line 1241 of file GridBuilder.h.
|
inline |
Definition at line 1249 of file GridBuilder.h.
|
inline |
Definition at line 1642 of file GridBuilder.h.
|
inline |
Definition at line 1192 of file GridBuilder.h.
| union { ... } |
|
static |
Definition at line 1100 of file GridBuilder.h.
|
static |
Definition at line 1103 of file GridBuilder.h.
|
static |
Definition at line 1098 of file GridBuilder.h.
|
static |
Definition at line 1102 of file GridBuilder.h.
| NanoLeafT* nanovdb::build::LeafNode< BuildT >::mDstNode |
Definition at line 1114 of file GridBuilder.h.
| uint64_t nanovdb::build::LeafNode< BuildT >::mDstOffset |
Definition at line 1115 of file GridBuilder.h.
| Coord nanovdb::build::LeafNode< BuildT >::mOrigin |
Definition at line 1110 of file GridBuilder.h.
| Mask<LOG2DIM> nanovdb::build::LeafNode< BuildT >::mValueMask |
Definition at line 1111 of file GridBuilder.h.
| ValueType nanovdb::build::LeafNode< BuildT >::mValues[SIZE] |
Definition at line 1112 of file GridBuilder.h.
|
static |
Definition at line 1104 of file GridBuilder.h.
|
static |
Definition at line 1101 of file GridBuilder.h.
|
static |
Definition at line 1099 of file GridBuilder.h.