OpenVDB
12.0.1
|
Struct that encodes a bounding box, value and level of a tile. More...
#include <openvdb/tools/FindActiveValues.h>
Public Member Functions | |
TileData ()=default | |
Default constructor. More... | |
TileData (const CoordBBox &b, const ValueType &v, Index l, bool active=true) | |
Member data constructor. More... | |
template<typename ParentNodeT > | |
TileData (const ParentNodeT &parent, Index childIdx) | |
Constructor from a parent node and the linear offset to one of its tiles. More... | |
template<typename ParentNodeT > | |
TileData (const ParentNodeT &parent, const Coord &ijk, const ValueType &v) | |
Constructor form a parent node, the coordinate of the origin of one of its tiles, and said tiles value. More... | |
Public Attributes | |
CoordBBox | bbox |
ValueType | value |
Index | level |
bool | state |
Struct that encodes a bounding box, value and level of a tile.
The bbox of a tiles is trimmed to the bounding box that probed it. The level is typically defined as: 1 is 8^3, 2 is 128^3, and 3 is 4096^3.
|
default |
Default constructor.
Member data constructor.
Constructor from a parent node and the linear offset to one of its tiles.
|
inline |
Constructor form a parent node, the coordinate of the origin of one of its tiles, and said tiles value.
CoordBBox bbox |
Index level |
bool state |
ValueType value |