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

#include <Types.h>

Public Member Functions

 SwappedCombineOp (CombineOp &_op)
 
void operator() (CombineArgs< ValueType > &args)
 

Public Attributes

CombineOp & op
 

Detailed Description

template<typename ValueType, typename CombineOp>
struct openvdb::OPENVDB_VERSION_NAME::SwappedCombineOp< ValueType, CombineOp >

This struct adapts a "grid combiner" functor to swap the A and B grid values (e.g., so that if the original functor computes a + 2 * b, the adapted functor will compute b + 2 * a).

Definition at line 659 of file Types.h.

Constructor & Destructor Documentation

template<typename ValueType, typename CombineOp>
openvdb::OPENVDB_VERSION_NAME::SwappedCombineOp< ValueType, CombineOp >::SwappedCombineOp ( CombineOp &  _op)
inline

Definition at line 661 of file Types.h.

Member Function Documentation

template<typename ValueType, typename CombineOp>
void openvdb::OPENVDB_VERSION_NAME::SwappedCombineOp< ValueType, CombineOp >::operator() ( CombineArgs< ValueType > &  args)
inline

Definition at line 663 of file Types.h.

Member Data Documentation

template<typename ValueType, typename CombineOp>
CombineOp& openvdb::OPENVDB_VERSION_NAME::SwappedCombineOp< ValueType, CombineOp >::op

Definition at line 671 of file Types.h.


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