HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::Extrema< ValueT, 0 > Class Template Reference

Template specialization of Extrema on scalar value types, i.e. rank = 0. More...

#include <GridStats.h>

+ Inheritance diagram for nanovdb::Extrema< ValueT, 0 >:

Public Types

using ValueType = ValueT
 

Public Member Functions

__hostdev__ Extrema ()
 
__hostdev__ Extrema (const ValueT &v)
 
__hostdev__ Extrema (const ValueT &a, const ValueT &b)
 
__hostdev__ Extremamin (const ValueT &v)
 
__hostdev__ Extremamax (const ValueT &v)
 
__hostdev__ Extremaadd (const ValueT &v)
 
__hostdev__ Extremaadd (const ValueT &v, uint64_t)
 
__hostdev__ Extremaadd (const Extrema &other)
 
__hostdev__ const ValueT & min () const
 
__hostdev__ const ValueT & max () const
 
__hostdev__ operator bool () const
 
template<typename NodeT >
__hostdev__ void setStats (NodeT &node) const
 

Static Public Member Functions

static __hostdev__ constexpr bool hasMinMax ()
 
static __hostdev__ constexpr bool hasAverage ()
 
static __hostdev__ constexpr bool hasStdDeviation ()
 
static __hostdev__ constexpr bool hasStats ()
 
static __hostdev__ constexpr size_t size ()
 

Protected Attributes

ValueT mMin
 
ValueT mMax
 

Detailed Description

template<typename ValueT>
class nanovdb::Extrema< ValueT, 0 >

Template specialization of Extrema on scalar value types, i.e. rank = 0.

Definition at line 61 of file GridStats.h.

Member Typedef Documentation

template<typename ValueT >
using nanovdb::Extrema< ValueT, 0 >::ValueType = ValueT

Definition at line 67 of file GridStats.h.

Constructor & Destructor Documentation

template<typename ValueT >
__hostdev__ nanovdb::Extrema< ValueT, 0 >::Extrema ( )
inline

Definition at line 68 of file GridStats.h.

template<typename ValueT >
__hostdev__ nanovdb::Extrema< ValueT, 0 >::Extrema ( const ValueT &  v)
inline

Definition at line 78 of file GridStats.h.

template<typename ValueT >
__hostdev__ nanovdb::Extrema< ValueT, 0 >::Extrema ( const ValueT &  a,
const ValueT &  b 
)
inline

Definition at line 83 of file GridStats.h.

Member Function Documentation

template<typename ValueT >
__hostdev__ Extrema& nanovdb::Extrema< ValueT, 0 >::add ( const ValueT &  v)
inline

Definition at line 98 of file GridStats.h.

template<typename ValueT >
__hostdev__ Extrema& nanovdb::Extrema< ValueT, 0 >::add ( const ValueT &  v,
uint64_t   
)
inline

Definition at line 104 of file GridStats.h.

template<typename ValueT >
__hostdev__ Extrema& nanovdb::Extrema< ValueT, 0 >::add ( const Extrema< ValueT, 0 > &  other)
inline

Definition at line 105 of file GridStats.h.

template<typename ValueT >
static __hostdev__ constexpr bool nanovdb::Extrema< ValueT, 0 >::hasAverage ( )
inlinestatic

Definition at line 115 of file GridStats.h.

template<typename ValueT >
static __hostdev__ constexpr bool nanovdb::Extrema< ValueT, 0 >::hasMinMax ( )
inlinestatic

Definition at line 114 of file GridStats.h.

template<typename ValueT >
static __hostdev__ constexpr bool nanovdb::Extrema< ValueT, 0 >::hasStats ( )
inlinestatic

Definition at line 117 of file GridStats.h.

template<typename ValueT >
static __hostdev__ constexpr bool nanovdb::Extrema< ValueT, 0 >::hasStdDeviation ( )
inlinestatic

Definition at line 116 of file GridStats.h.

template<typename ValueT >
__hostdev__ Extrema& nanovdb::Extrema< ValueT, 0 >::max ( const ValueT &  v)
inline

Definition at line 93 of file GridStats.h.

template<typename ValueT >
__hostdev__ const ValueT& nanovdb::Extrema< ValueT, 0 >::max ( ) const
inline

Definition at line 112 of file GridStats.h.

template<typename ValueT >
__hostdev__ Extrema& nanovdb::Extrema< ValueT, 0 >::min ( const ValueT &  v)
inline

Definition at line 88 of file GridStats.h.

template<typename ValueT >
__hostdev__ const ValueT& nanovdb::Extrema< ValueT, 0 >::min ( ) const
inline

Definition at line 111 of file GridStats.h.

template<typename ValueT >
__hostdev__ nanovdb::Extrema< ValueT, 0 >::operator bool ( ) const
inline

Definition at line 113 of file GridStats.h.

template<typename ValueT >
template<typename NodeT >
__hostdev__ void nanovdb::Extrema< ValueT, 0 >::setStats ( NodeT &  node) const
inline

Definition at line 121 of file GridStats.h.

template<typename ValueT >
static __hostdev__ constexpr size_t nanovdb::Extrema< ValueT, 0 >::size ( void  )
inlinestatic

Definition at line 118 of file GridStats.h.

Member Data Documentation

template<typename ValueT >
ValueT nanovdb::Extrema< ValueT, 0 >::mMax
protected

Definition at line 64 of file GridStats.h.

template<typename ValueT >
ValueT nanovdb::Extrema< ValueT, 0 >::mMin
protected

Definition at line 64 of file GridStats.h.


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