OpenVDB
1.1.0
|
#include <PointAdvect.h>
Public Types | |
typedef GridT::ConstAccessor | VelAccessor |
typedef GridT::ValueType | VelValueType |
Public Member Functions | |
VelocitySampler (const GridT &velGrid) | |
VelocitySampler (const VelocitySampler &other) | |
~VelocitySampler () | |
template<typename LocationType > | |
void | sample (const LocationType &W, VelValueType &result) const |
Class to hold a Vec3 field interperated as a velocity field. Primarily exists to provide a method(s) that integrate a passive point forward in the velocity field for a single time-step (dt)
typedef GridT::ConstAccessor VelAccessor |
typedef GridT::ValueType VelValueType |
|
inline |
|
inline |
|
inline |
|
inline |
Samples the velocity at position W onto result. Supports both staggered (i.e. MAC) and collocated velocity grids.