Thin wrapper class for a velocity grid.
More...
#include <VelocityFields.h>
template<typename VelGridT, typename Interpolator = BoxSampler>
class openvdb::v3_1_0::tools::DiscreteField< VelGridT, Interpolator >
Thin wrapper class for a velocity grid.
- Note
- Consider replacing BoxSampler with StaggeredBoxSampler
BOOST_STATIC_ASSERT |
( |
boost::is_floating_point< ValueType >::value |
| ) |
|
- Returns
- the interpolated velocity at the world space position xyz
- Returns
- the velocity at the coordinate space position ijk
- Returns
- const reference to the transform between world and index space
- Note
- Use this method to determine if a client grid is aligned with the coordinate space of the velocity grid.
The documentation for this class was generated from the following file: