resampleVolume
carb::volume::GridData* resampleVolume(carb::volume::GridData* gridDataA,
carb::volume::GridData* gridDataB,
size_t order,
size_t ageA,
size_t ageB)
Resample one VDB grid into another VDB grid.
Arguments
gridDataAThe volume A to query.gridDataBThe volume B to query.orderorder of the polynomial interpolation kernel used during resampling (defaults to 1).ageAAge (i.e. stack index) of the VDB grid A. Defaults to 0, i.e. most recently inserted VDB.ageBAge (i.e. stack index) of the VDB grid B. Defaults to 0, i.e. most recently inserted VDB.
Return
The volume resampled.