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

Template specialization of Extrema on vector value types, i.e. rank = 1. More...

#include <GridStats.h>

Classes

struct  Pair
 

Public Types

using ValueType = VecT
 

Public Member Functions

__hostdev__ Extrema ()
 
__hostdev__ Extrema (const VecT &v)
 
__hostdev__ Extrema (const VecT &a, const VecT &b)
 
__hostdev__ Extremamin (const VecT &v)
 
__hostdev__ Extremamax (const VecT &v)
 
__hostdev__ Extremaadd (const VecT &v)
 
__hostdev__ Extremaadd (const VecT &v, uint64_t)
 
__hostdev__ Extremaadd (const Extrema &other)
 
__hostdev__ const VecT & min () const
 
__hostdev__ const VecT & 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 Types

using Real = typename VecT::ValueType
 

Protected Member Functions

__hostdev__ Extremaadd (const Pair &p)
 

Protected Attributes

struct nanovdb::Extrema< VecT, 1 >
::Pair 
mMin
 
struct nanovdb::Extrema< VecT, 1 >
::Pair 
mMax
 

Detailed Description

template<typename VecT>
class nanovdb::Extrema< VecT, 1 >

Template specialization of Extrema on vector value types, i.e. rank = 1.

Definition at line 130 of file GridStats.h.

Member Typedef Documentation

template<typename VecT >
using nanovdb::Extrema< VecT, 1 >::Real = typename VecT::ValueType
protected

Definition at line 133 of file GridStats.h.

template<typename VecT >
using nanovdb::Extrema< VecT, 1 >::ValueType = VecT

Definition at line 159 of file GridStats.h.

Constructor & Destructor Documentation

template<typename VecT >
__hostdev__ nanovdb::Extrema< VecT, 1 >::Extrema ( )
inline

Definition at line 160 of file GridStats.h.

template<typename VecT >
__hostdev__ nanovdb::Extrema< VecT, 1 >::Extrema ( const VecT &  v)
inline

Definition at line 170 of file GridStats.h.

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

Definition at line 175 of file GridStats.h.

Member Function Documentation

template<typename VecT >
__hostdev__ Extrema& nanovdb::Extrema< VecT, 1 >::add ( const Pair &  p)
inlineprotected

Definition at line 151 of file GridStats.h.

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

Definition at line 192 of file GridStats.h.

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

Definition at line 193 of file GridStats.h.

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

Definition at line 194 of file GridStats.h.

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

Definition at line 204 of file GridStats.h.

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

Definition at line 203 of file GridStats.h.

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

Definition at line 206 of file GridStats.h.

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

Definition at line 205 of file GridStats.h.

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

Definition at line 186 of file GridStats.h.

template<typename VecT >
__hostdev__ const VecT& nanovdb::Extrema< VecT, 1 >::max ( ) const
inline

Definition at line 201 of file GridStats.h.

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

Definition at line 180 of file GridStats.h.

template<typename VecT >
__hostdev__ const VecT& nanovdb::Extrema< VecT, 1 >::min ( ) const
inline

Definition at line 200 of file GridStats.h.

template<typename VecT >
__hostdev__ nanovdb::Extrema< VecT, 1 >::operator bool ( ) const
inline

Definition at line 202 of file GridStats.h.

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

Definition at line 210 of file GridStats.h.

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

Definition at line 207 of file GridStats.h.

Member Data Documentation

template<typename VecT >
struct nanovdb::Extrema< VecT, 1 >::Pair nanovdb::Extrema< VecT, 1 >::mMax
protected
template<typename VecT >
struct nanovdb::Extrema< VecT, 1 >::Pair nanovdb::Extrema< VecT, 1 >::mMin
protected

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