|
HDK
|
Promotion classes which provide an interface for elevating and demoting a scalar or VDB type to a higher or lower precision. Integer types preserve their sign. Types promotion are only valid between 8 to 64 bits (long doubles are not supported). More...
#include <Types.h>
Public Types | |
| template<size_t Shift = ~0UL> | |
| using | Promote = typename TypeT< OPENVDB_TARGET_BITS(Shift, true)>::type |
| template<size_t Shift = ~0UL> | |
| using | Demote = typename TypeT< OPENVDB_TARGET_BITS(Shift, false)>::type |
| using | Highest = typename TypeT< 64ul >::type |
| using | Lowest = typename TypeT< 8ul >::type |
| using | Next = Promote< 1 > |
| using | Previous = Demote< 1 > |
Promotion classes which provide an interface for elevating and demoting a scalar or VDB type to a higher or lower precision. Integer types preserve their sign. Types promotion are only valid between 8 to 64 bits (long doubles are not supported).
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Demote = typename TypeT<OPENVDB_TARGET_BITS(Shift, false)>::type |
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Highest = typename TypeT<64ul>::type |
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Lowest = typename TypeT<8ul>::type |
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Next = Promote<1> |
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Previous = Demote<1> |
| using openvdb::OPENVDB_VERSION_NAME::PromoteType< T >::Promote = typename TypeT<OPENVDB_TARGET_BITS(Shift, true)>::type |