OpenVDB  9.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
MagnitudeExtent< VecT, MagResult > Struct Template Reference

Vector squared magnitude op to evaluate the min/max of a vector attribute and return the result as a scalar of the appropriate precision. More...

#include <openvdb/points/PointStatistics.h>

Inherits ScalarMinMax< ValueTraits< VecT >::ElementType >.

Public Types

using ElementT = typename ValueTraits< VecT >::ElementType
 
using ExtentT = typename ScalarMinMax< ElementT >::ExtentT
 
using BaseT = ScalarMinMax< ElementT >
 

Public Member Functions

 MagnitudeExtent (const VecT &init)
 
 MagnitudeExtent (const ExtentT &init)
 
void operator() (const VecT &b)
 
void operator() (const ExtentT &b)
 
void operator() (const ValueTraits< VecT >::ElementType &b)
 
void operator() (const ExtentT &b)
 
const ExtentTget () const
 

Public Attributes

ExtentT mMinMax
 

Detailed Description

template<typename VecT, bool MagResult = true>
struct openvdb::v9_0::points::statistics_internal::MagnitudeExtent< VecT, MagResult >

Vector squared magnitude op to evaluate the min/max of a vector attribute and return the result as a scalar of the appropriate precision.

Member Typedef Documentation

using ElementT = typename ValueTraits<VecT>::ElementType
using ExtentT = typename ScalarMinMax<ElementT>::ExtentT

Constructor & Destructor Documentation

MagnitudeExtent ( const VecT &  init)
inline
MagnitudeExtent ( const ExtentT init)
inline

Member Function Documentation

const ExtentT& get ( ) const
inlineinherited
void operator() ( const ValueTraits< VecT >::ElementType &  b)
inlineinherited
void operator() ( const ExtentT b)
inlineinherited
void operator() ( const VecT &  b)
inline
void operator() ( const ExtentT b)
inline

Member Data Documentation

ExtentT mMinMax
inherited