HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType > Struct Template Reference

Struct that encodes a bounding box, value and level of a tile. More...

#include <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
 

Detailed Description

template<typename ValueType>
struct openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >

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.

Definition at line 47 of file FindActiveValues.h.

Constructor & Destructor Documentation

template<typename ValueType >
openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::TileData ( )
default

Default constructor.

template<typename ValueType >
openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::TileData ( const CoordBBox &  b,
const ValueType &  v,
Index  l,
bool  active = true 
)
inline

Member data constructor.

Definition at line 608 of file FindActiveValues.h.

template<typename ValueType >
template<typename ParentNodeT >
openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::TileData ( const ParentNodeT &  parent,
Index  childIdx 
)
inline

Constructor from a parent node and the linear offset to one of its tiles.

Warning
This is an expert-only method since it assumes the linear offset to be valid, i.e. within the rand of the dimension of the parent node and NOT corresponding to a child node.

Definition at line 617 of file FindActiveValues.h.

template<typename ValueType >
template<typename ParentNodeT >
openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::TileData ( const ParentNodeT &  parent,
const Coord &  ijk,
const ValueType &  v 
)
inline

Constructor form a parent node, the coordinate of the origin of one of its tiles, and said tiles value.

Definition at line 631 of file FindActiveValues.h.

Member Data Documentation

template<typename ValueType >
CoordBBox openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::bbox

Definition at line 599 of file FindActiveValues.h.

template<typename ValueType >
Index openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::level

Definition at line 601 of file FindActiveValues.h.

template<typename ValueType >
bool openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::state

Definition at line 602 of file FindActiveValues.h.

template<typename ValueType >
ValueType openvdb::OPENVDB_VERSION_NAME::tools::TileData< ValueType >::value

Definition at line 600 of file FindActiveValues.h.


The documentation for this struct was generated from the following file: