|
OpenVDB 11.0.0
|
#include <openvdb/tools/VelocityFields.h>
Public Types | |
| typedef GridT::ConstAccessor | AccessorType |
| typedef GridT::ValueType | ValueType |
Public Member Functions | |
| VelocitySampler (const GridT &grid) | |
| Constructor from a grid. | |
| VelocitySampler (const VelocitySampler &other) | |
| Copy-constructor. | |
| template<typename LocationType > | |
| bool | sample (const LocationType &world, ValueType &result) const |
| Samples the velocity at world position onto result. Supports both staggered (i.e. MAC) and collocated velocity grids. | |
| template<typename LocationType > | |
| ValueType | sample (const LocationType &world) const |
| Samples the velocity at world position onto result. Supports both staggered (i.e. MAC) and co-located velocity grids. | |
Class to hold a Vec3 field interpreted 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)
| GridT::ConstAccessor AccessorType |
| GridT::ValueType ValueType |
|
inline |
Constructor from a grid.
|
inline |
Copy-constructor.
|
inline |
Samples the velocity at world position onto result. Supports both staggered (i.e. MAC) and co-located velocity grids.
|
inline |
Samples the velocity at world position onto result. Supports both staggered (i.e. MAC) and collocated velocity grids.
true if any one of the sampled values is active.