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

Compute the divergence of a vector grid. More...

#include <GridOperators.h>

Classes

struct  Functor
 

Public Types

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

Public Member Functions

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

Protected Attributes

const InGridTypemInputGrid
 
InterruptT * mInterrupt
 
const MaskGridType * mMask
 

Detailed Description

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

Compute the divergence of a vector grid.

Member Typedef Documentation

◆ InGridType

typedef InGridT InGridType

◆ OutGridType

typedef VectorToScalarConverter<InGridT>::Type OutGridType

Constructor & Destructor Documentation

◆ Divergence() [1/2]

Divergence ( const InGridT &  grid,
InterruptT *  interrupt = nullptr 
)
inline

◆ Divergence() [2/2]

Divergence ( const InGridT &  grid,
const MaskGridType &  mask,
InterruptT *  interrupt = nullptr 
)
inline

Member Function Documentation

◆ process()

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

Member Data Documentation

◆ mInputGrid

const InGridType& mInputGrid
protected

◆ mInterrupt

InterruptT* mInterrupt
protected

◆ mMask

const MaskGridType* mMask
protected

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