OpenVDB: Extrema< ValueT, 0 > Class Template Reference

OpenVDB 10.0.1

Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Extrema< ValueT, 0 > Class Template Reference

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

`#include <nanovdb/util/GridStats.h>`

Inherited by Stats< ValueT, 0 >.

## Public Types
using | ValueType = ValueT

## Public Member Functions
| Extrema ()
| Extrema (const ValueT &v)
| Extrema (const ValueT &a, const ValueT &b)
Extrema & | operator= (const Extrema &)=default
Extrema & | min (const ValueT &v)
Extrema & | max (const ValueT &v)
Extrema & | add (const ValueT &v)
Extrema & | add (const ValueT &v, uint64_t)
Extrema & | add (const Extrema &other)
const ValueT & | min () const
const ValueT & | 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 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.

## Member Typedef Documentation

## ◆ ValueType

using ValueType = ValueT

## Constructor & Destructor Documentation

## ◆ Extrema() [1/3]

Extrema | ( |  | ) |
| inline

## ◆ Extrema() [2/3]

Extrema | ( | const ValueT & | v | ) |
| inline

## ◆ Extrema() [3/3]

Extrema | ( | const ValueT & | a,
|  | const ValueT & | b
| ) |  |
| inline

## Member Function Documentation

## ◆ add() [1/3]

Extrema & add | ( | const Extrema< ValueT, 0 > & | other | ) |
| inline

## ◆ add() [2/3]

Extrema & add | ( | const ValueT & | v | ) |
| inline

## ◆ add() [3/3]

Extrema & add | ( | const ValueT & | v,
|  | uint64_t |
| ) |  |
| inline

## ◆ hasAverage()

static constexpr bool hasAverage | ( |  | ) |
| inlinestaticconstexpr

## ◆ hasMinMax()

static constexpr bool hasMinMax | ( |  | ) |
| inlinestaticconstexpr

## ◆ hasStdDeviation()

static constexpr bool hasStdDeviation | ( |  | ) |
| inlinestaticconstexpr

## ◆ max() [1/2]

const ValueT & max | ( |  | ) | const
| inline

## ◆ max() [2/2]

Extrema & max | ( | const ValueT & | v | ) |
| inline

## ◆ min() [1/2]

const ValueT & min | ( |  | ) | const
| inline

## ◆ min() [2/2]

Extrema & min | ( | const ValueT & | v | ) |
| inline

## ◆ operator bool()

operator bool | ( |  | ) | const
| inline

## ◆ operator=()

Extrema & operator= | ( | const Extrema< ValueT, 0 > & |  | ) |
| default

## ◆ size()

static constexpr size_t size | ( |  | ) |
| inlinestaticconstexpr

## Member Data Documentation

## ◆ mMax

ValueT mMax
| protected

## ◆ mMin

ValueT mMin
| protected