|
OpenVDB 13.0.0
|
#include <nanovdb/NanoVDB.h>
Public Types | |
| using | Type = decltype(mFlags) |
Public Member Functions | |
| BitFlags () | |
| BitFlags (Type mask) | |
| BitFlags (std::initializer_list< uint8_t > list) | |
| template<typename MaskT> | |
| BitFlags (std::initializer_list< MaskT > list) | |
| __hostdev__ Type | data () const |
| __hostdev__ Type & | data () |
| __hostdev__ void | initBit (std::initializer_list< uint8_t > list) |
| template<typename MaskT> | |
| __hostdev__ void | initMask (std::initializer_list< MaskT > list) |
| __hostdev__ Type | getFlags () const |
| __hostdev__ void | setOn () |
| __hostdev__ void | setOff () |
| __hostdev__ void | setBitOn (uint8_t bit) |
| __hostdev__ void | setBitOff (uint8_t bit) |
| __hostdev__ void | setBitOn (std::initializer_list< uint8_t > list) |
| __hostdev__ void | setBitOff (std::initializer_list< uint8_t > list) |
| template<typename MaskT> | |
| __hostdev__ void | setMaskOn (MaskT mask) |
| template<typename MaskT> | |
| __hostdev__ void | setMaskOff (MaskT mask) |
| template<typename MaskT> | |
| __hostdev__ void | setMaskOn (std::initializer_list< MaskT > list) |
| template<typename MaskT> | |
| __hostdev__ void | setMaskOff (std::initializer_list< MaskT > list) |
| __hostdev__ void | setBit (uint8_t bit, bool on) |
| template<typename MaskT> | |
| __hostdev__ void | setMask (MaskT mask, bool on) |
| __hostdev__ bool | isOn () const |
| __hostdev__ bool | isOff () const |
| __hostdev__ bool | isBitOn (uint8_t bit) const |
| __hostdev__ bool | isBitOff (uint8_t bit) const |
| template<typename MaskT> | |
| __hostdev__ bool | isMaskOn (MaskT mask) const |
| template<typename MaskT> | |
| __hostdev__ bool | isMaskOff (MaskT mask) const |
| template<typename MaskT> | |
| __hostdev__ bool | isMaskOn (std::initializer_list< MaskT > list) const |
| return true if any of the masks in the list are on | |
| template<typename MaskT> | |
| __hostdev__ bool | isMaskOff (std::initializer_list< MaskT > list) const |
| return true if any of the masks in the list are off | |
| __hostdev__ BitFlags & | operator= (Type n) |
| required for backwards compatibility | |
| using Type = decltype(mFlags) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return true if any of the masks in the list are off
|
inline |
return true if any of the masks in the list are on
|
inline |
|
inline |
|
inline |
required for backwards compatibility
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |