OpenVDB: SwappedCombineOp< ValueType, CombineOp > Struct Template Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
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::v3_1_0::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).

## Constructor & Destructor Documentation

SwappedCombineOp | ( | CombineOp & | _op | ) |
| inline

## Member Function Documentation

void operator() | ( | CombineArgs< ValueType > & | args | ) |
| inline

## Member Data Documentation

CombineOp& op

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

- Types.h