HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT > Class Template Reference

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

#include <GridOperators.h>

Classes

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::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >

Compute the gradient of a scalar grid.

Definition at line 636 of file GridOperators.h.

Member Typedef Documentation

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
typedef InGridT openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::InGridType

Definition at line 639 of file GridOperators.h.

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
typedef ScalarToVectorConverter<InGridT>::Type openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::OutGridType

Definition at line 640 of file GridOperators.h.

Constructor & Destructor Documentation

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::Gradient ( const InGridT &  grid,
InterruptT *  interrupt = nullptr 
)
inline

Definition at line 642 of file GridOperators.h.

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::Gradient ( const InGridT &  grid,
const MaskGridType &  mask,
InterruptT *  interrupt = nullptr 
)
inline

Definition at line 647 of file GridOperators.h.

Member Function Documentation

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
OutGridType::Ptr openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::process ( bool  threaded = true)
inline

Definition at line 652 of file GridOperators.h.

Member Data Documentation

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
const InGridT& openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::mInputGrid
protected

Definition at line 683 of file GridOperators.h.

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
InterruptT* openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::mInterrupt
protected

Definition at line 684 of file GridOperators.h.

template<typename InGridT, typename MaskGridType = typename gridop::ToMaskGrid<InGridT>::Type, typename InterruptT = util::NullInterrupter>
const MaskGridType* openvdb::OPENVDB_VERSION_NAME::tools::Gradient< InGridT, MaskGridType, InterruptT >::mMask
protected

Definition at line 685 of file GridOperators.h.


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