OpenVDB  9.0.1
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

 Extrema ()
 
 Extrema (const VecT &v)
 
 Extrema (const VecT &a, const VecT &b)
 
Extremaoperator= (const Extrema &)=default
 
Extremamin (const VecT &v)
 
Extremamax (const VecT &v)
 
Extremaadd (const VecT &v)
 
Extremaadd (const VecT &v, uint64_t)
 
Extremaadd (const Extrema &other)
 
const VecT & min () const
 
const VecT & max () const
 
 operator bool () const
 

Static Public Member Functions

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

Protected Types

using Real = typename VecT::ValueType
 

Protected Member Functions

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

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

Member Function Documentation

Extrema& add ( const Pair &  p)
inlineprotected
Extrema& add ( const VecT &  v)
inline
Extrema& add ( const VecT &  v,
uint64_t   
)
inline
Extrema& add ( const Extrema< VecT, 1 > &  other)
inline
static constexpr bool hasAverage ( )
inlinestatic
static constexpr bool hasMinMax ( )
inlinestatic
static constexpr bool hasStdDeviation ( )
inlinestatic
Extrema& max ( const VecT &  v)
inline
const VecT& max ( ) const
inline
Extrema& min ( const VecT &  v)
inline
const VecT& min ( ) const
inline
operator bool ( ) const
inline
Extrema& operator= ( const Extrema< VecT, 1 > &  )
default
static constexpr size_t size ( )
inlinestatic

Member Data Documentation

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