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

Compute the gradient of a scalar grid. More...

#include <GridOperators.h>


struct  Functor

Public Types

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

Public Member Functions

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

Protected Attributes

const InGridT & mInputGrid
InterruptT * mInterrupt
const MaskGridType * mMask

Detailed Description

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
class openvdb::v8_1::tools::Gradient< InGridT, MaskGridType, InterruptT >

Compute the gradient of a scalar grid.

Member Typedef Documentation

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

Constructor & Destructor Documentation

Gradient ( const InGridT &  grid,
InterruptT *  interrupt = nullptr 
Gradient ( const InGridT &  grid,
const MaskGridType &  mask,
InterruptT *  interrupt = nullptr 

Member Function Documentation

OutGridType::Ptr process ( bool  threaded = true)

Member Data Documentation

const InGridT& mInputGrid
InterruptT* mInterrupt
const MaskGridType* mMask

The documentation for this class was generated from the following file: