OpenVDB  12.0.0
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
Magnitude< InGridT, MaskGridType, InterruptT > Class Template Reference

#include <openvdb/tools/GridOperators.h>

Classes

struct  Functor
 
struct  OpT
 

Public Types

typedef InGridT InGridType
 
typedef VectorToScalarConverter< InGridT >::Type OutGridType
 

Public Member Functions

 Magnitude (const InGridType &grid, InterruptT *interrupt=nullptr)
 
 Magnitude (const InGridType &grid, const MaskGridType &mask, InterruptT *interrupt=nullptr)
 
OutGridType::Ptr process (bool threaded=true)
 

Protected Attributes

const InGridTypemInputGrid
 
InterruptT * mInterrupt
 
const MaskGridType * mMask
 

Member Typedef Documentation

typedef InGridT InGridType
typedef VectorToScalarConverter<InGridT>::Type OutGridType

Constructor & Destructor Documentation

Magnitude ( const InGridType grid,
InterruptT *  interrupt = nullptr 
)
inline
Magnitude ( const InGridType grid,
const MaskGridType &  mask,
InterruptT *  interrupt = nullptr 
)
inline

Member Function Documentation

OutGridType::Ptr process ( bool  threaded = true)
inline

Member Data Documentation

const InGridType& mInputGrid
protected
InterruptT* mInterrupt
protected
const MaskGridType* mMask
protected