OpenVDB  11.0.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Extrema< VecT, 1 > Class Template Reference

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

#include <nanovdb/util/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.

Member Typedef Documentation

using Real = typename VecT::ValueType
protected
using ValueType = VecT

Constructor & Destructor Documentation

__hostdev__ Extrema ( )
inline
__hostdev__ Extrema ( const VecT &  v)
inline
__hostdev__ Extrema ( const VecT &  a,
const VecT &  b 
)
inline

Member Function Documentation

__hostdev__ Extrema& add ( const Pair &  p)
inlineprotected
__hostdev__ Extrema& add ( const VecT &  v)
inline
__hostdev__ Extrema& add ( const VecT &  v,
uint64_t   
)
inline
__hostdev__ Extrema& add ( const Extrema< VecT, 1 > &  other)
inline
static __hostdev__ constexpr bool hasAverage ( )
inlinestatic
static __hostdev__ constexpr bool hasMinMax ( )
inlinestatic
static __hostdev__ constexpr bool hasStats ( )
inlinestatic
static __hostdev__ constexpr bool hasStdDeviation ( )
inlinestatic
__hostdev__ Extrema& max ( const VecT &  v)
inline
__hostdev__ const VecT& max ( ) const
inline
__hostdev__ Extrema& min ( const VecT &  v)
inline
__hostdev__ const VecT& min ( ) const
inline
__hostdev__ operator bool ( ) const
inline
__hostdev__ void setStats ( NodeT &  node) const
inline
static __hostdev__ constexpr size_t size ( )
inlinestatic

Member Data Documentation

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