OpenVDB
12.0.0
|
Struct with all the member data of the RootNode (useful during serialization of an openvdb RootNode) More...
#include <nanovdb/NanoVDB.h>
Inherited by RootNode< ChildT >.
Classes | |
struct | Tile |
Public Types | |
using | ValueT = typename ChildT::ValueType |
using | BuildT = typename ChildT::BuildType |
using | CoordT = typename ChildT::CoordType |
using | StatsT = typename ChildT::FloatType |
using | KeyT = uint64_t |
Return a key based on the coordinates of a voxel. More... | |
Public Member Functions | |
__hostdev__ const Tile * | tile (uint32_t n) const |
Returns a non-const reference to the tile at the specified linear offset. More... | |
__hostdev__ Tile * | tile (uint32_t n) |
__hostdev__ Tile * | probeTile (const CoordT &ijk) |
__hostdev__ const Tile * | probeTile (const CoordT &ijk) const |
__hostdev__ ChildT * | getChild (const Tile *tile) |
Returns a const reference to the child node in the specified tile. More... | |
__hostdev__ const ChildT * | getChild (const Tile *tile) const |
__hostdev__ const ValueT & | getMin () const |
__hostdev__ const ValueT & | getMax () const |
__hostdev__ const StatsT & | average () const |
__hostdev__ const StatsT & | stdDeviation () const |
__hostdev__ void | setMin (const ValueT &v) |
__hostdev__ void | setMax (const ValueT &v) |
__hostdev__ void | setAvg (const StatsT &v) |
__hostdev__ void | setDev (const StatsT &v) |
RootData ()=delete | |
This class cannot be constructed or deleted. More... | |
RootData (const RootData &)=delete | |
RootData & | operator= (const RootData &)=delete |
~RootData ()=delete | |
Static Public Member Functions | |
template<typename CoordType > | |
static __hostdev__ KeyT | CoordToKey (const CoordType &ijk) |
static __hostdev__ CoordT | KeyToCoord (const KeyT &key) |
static __hostdev__ constexpr uint32_t | padding () |
Return padding of this class in bytes, due to aliasing and 32B alignment. More... | |
Public Attributes | |
math::BBox< CoordT > | mBBox |
uint32_t | mTableSize |
ValueT | mBackground |
ValueT | mMinimum |
ValueT | mMaximum |
StatsT | mAverage |
StatsT | mStdDevi |
Static Public Attributes | |
static constexpr bool | FIXED_SIZE = false |
Struct with all the member data of the RootNode (useful during serialization of an openvdb RootNode)
using BuildT = typename ChildT::BuildType |
using CoordT = typename ChildT::CoordType |
using KeyT = uint64_t |
Return a key based on the coordinates of a voxel.
using StatsT = typename ChildT::FloatType |
using ValueT = typename ChildT::ValueType |
|
delete |
This class cannot be constructed or deleted.
|
delete |
|
inline |
|
inlinestatic |
|
inline |
Returns a const reference to the child node in the specified tile.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
Return padding of this class in bytes, due to aliasing and 32B alignment.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns a non-const reference to the tile at the specified linear offset.
|
inline |
|
static |
StatsT mAverage |
ValueT mBackground |
math::BBox<CoordT> mBBox |
ValueT mMaximum |
ValueT mMinimum |
StatsT mStdDevi |
uint32_t mTableSize |