![]() |
OpenVDB 13.2.0
|
Traits for staggered (MAC) trilinear rasterization. This method only works on scalar or Vec3 attribute types and only ever returns a Vec3 tree. It is typically used for velocity rasterization in fluid simulations to avoid the pressure-velocity decoupling problem that occurs on collocated (cell-centered) grids. The resulting Vec3 tree effectively represents the velocity values on the cell faces rather than the cell centers. More...
#include <openvdb/points/PointRasterizeTrilinear.h>
Public Types | |
| using | ResultT = math::Vec3<FltT> |
| Resulting rasterized Tree ValueType (always Vec3) | |
| template<typename PointDataTreeT> | |
| using | TreeT = typename PointDataTreeT::template ValueConverter<ResultT>::Type |
| Resulting rasterized TreeType. | |
Traits for staggered (MAC) trilinear rasterization. This method only works on scalar or Vec3 attribute types and only ever returns a Vec3 tree. It is typically used for velocity rasterization in fluid simulations to avoid the pressure-velocity decoupling problem that occurs on collocated (cell-centered) grids. The resulting Vec3 tree effectively represents the velocity values on the cell faces rather than the cell centers.
| using ResultT = math::Vec3<FltT> |
Resulting rasterized Tree ValueType (always Vec3)