HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::math::internal Namespace Reference

Classes

union  imath_half_uif
 a type for both C-only programs and C++ to use the same utilities More...
 
class  half
 

Typedefs

typedef union
openvdb::OPENVDB_VERSION_NAME::math::internal::imath_half_uif 
imath_half_uif_t
 a type for both C-only programs and C++ to use the same utilities More...
 
typedef uint16_t imath_half_bits_t
 a type for both C-only programs and C++ to use the same utilities More...
 
typedef imath_half_bits_t half
 if we're in a C-only context, alias the half bits type to half More...
 

Functions

OPENVDB_API void printBits (std::ostream &os, half h)
 
OPENVDB_API void printBits (std::ostream &os, float f)
 
OPENVDB_API void printBits (char c[19], half h)
 
OPENVDB_API void printBits (char c[35], float f)
 
OPENVDB_API std::ostream & operator<< (std::ostream &os, half h)
 Output h to os, formatted as a float. More...
 
OPENVDB_API std::istream & operator>> (std::istream &is, half &h)
 Input h from is. More...
 
const math::halfmax_impl (const math::half &a, const math::half &b)
 
template<typename Type >
const Type & max_impl (const Type &a, const Type &b)
 
const math::halfmin_impl (const math::half &a, const math::half &b)
 
template<typename Type >
const Type & min_impl (const Type &a, const Type &b)
 

Typedef Documentation

if we're in a C-only context, alias the half bits type to half

Definition at line 283 of file Half.h.

a type for both C-only programs and C++ to use the same utilities

Definition at line 279 of file Half.h.

a type for both C-only programs and C++ to use the same utilities

Function Documentation

const math::half& openvdb::OPENVDB_VERSION_NAME::math::internal::max_impl ( const math::half a,
const math::half b 
)
inline

Definition at line 629 of file Math.h.

template<typename Type >
const Type& openvdb::OPENVDB_VERSION_NAME::math::internal::max_impl ( const Type &  a,
const Type &  b 
)
inline

Definition at line 636 of file Math.h.

const math::half& openvdb::OPENVDB_VERSION_NAME::math::internal::min_impl ( const math::half a,
const math::half b 
)
inline

Definition at line 707 of file Math.h.

template<typename Type >
const Type& openvdb::OPENVDB_VERSION_NAME::math::internal::min_impl ( const Type &  a,
const Type &  b 
)
inline

Definition at line 714 of file Math.h.

OPENVDB_API std::ostream& openvdb::OPENVDB_VERSION_NAME::math::internal::operator<< ( std::ostream &  os,
half  h 
)

Output h to os, formatted as a float.

OPENVDB_API std::istream& openvdb::OPENVDB_VERSION_NAME::math::internal::operator>> ( std::istream &  is,
half h 
)

Input h from is.

OPENVDB_API void openvdb::OPENVDB_VERSION_NAME::math::internal::printBits ( std::ostream &  os,
half  h 
)
OPENVDB_API void openvdb::OPENVDB_VERSION_NAME::math::internal::printBits ( std::ostream &  os,
float  f 
)
OPENVDB_API void openvdb::OPENVDB_VERSION_NAME::math::internal::printBits ( char  c[19],
half  h 
)
OPENVDB_API void openvdb::OPENVDB_VERSION_NAME::math::internal::printBits ( char  c[35],
float  f 
)