HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tree::CombineOpAdapter< AValueT, CombineOp, BValueT > Struct Template Reference

Helper class to adapt a three-argument (a, b, result) CombineOp functor into a single-argument functor that accepts a CombineArgs struct. More...

#include <Tree.h>

Public Member Functions

 CombineOpAdapter (CombineOp &_op)
 
void operator() (CombineArgs< AValueT, BValueT > &args) const
 

Public Attributes

CombineOp & op
 

Detailed Description

template<typename AValueT, typename CombineOp, typename BValueT = AValueT>
struct openvdb::OPENVDB_VERSION_NAME::tree::CombineOpAdapter< AValueT, CombineOp, BValueT >

Helper class to adapt a three-argument (a, b, result) CombineOp functor into a single-argument functor that accepts a CombineArgs struct.

Definition at line 1717 of file Tree.h.

Constructor & Destructor Documentation

template<typename AValueT, typename CombineOp, typename BValueT = AValueT>
openvdb::OPENVDB_VERSION_NAME::tree::CombineOpAdapter< AValueT, CombineOp, BValueT >::CombineOpAdapter ( CombineOp &  _op)
inline

Definition at line 1719 of file Tree.h.

Member Function Documentation

template<typename AValueT, typename CombineOp, typename BValueT = AValueT>
void openvdb::OPENVDB_VERSION_NAME::tree::CombineOpAdapter< AValueT, CombineOp, BValueT >::operator() ( CombineArgs< AValueT, BValueT > &  args) const
inline

Definition at line 1721 of file Tree.h.

Member Data Documentation

template<typename AValueT, typename CombineOp, typename BValueT = AValueT>
CombineOp& openvdb::OPENVDB_VERSION_NAME::tree::CombineOpAdapter< AValueT, CombineOp, BValueT >::op

Definition at line 1725 of file Tree.h.


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