OpenVDB  1.1.0
Static Public Member Functions | List of all members
DualTrait< T > Struct Template Reference

#include <ParticlesToLevelSet.h>

Static Public Member Functions

static T merge (T dist, Index32)
 
static T split (T dist)
 

Detailed Description

template<typename T>
struct openvdb::v1_1_0::tools::local::DualTrait< T >

Trait class needed to merge and split a distance and a particle id required during attribute transfer. The default implementation of merge simply ignores the particle id. A specialized implementation is given below for a Dual type that holds both a distance and a particle id.

Member Function Documentation

static T merge ( dist,
Index32   
)
inlinestatic
static T split ( dist)
inlinestatic

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