8 kfusion::Intr::Intr (
float fx_,
float fy_,
float cx_,
float cy_) : fx(fx_), fy(fy_), cx(cx_), cy(cy_) {}
12 int div = 1 << level_index;
13 return (
Intr (fx / div, fy / div, cx / div, cy / div));
18 return os <<
"([f = " << intr.
fx <<
", " << intr.
fy <<
"] [cp = " << intr.
cx <<
", " << intr.
cy <<
"])";
23 return os <<
"[x = " <<
p.x <<
" y = " <<
p.y <<
" z = " <<
p.z <<
" w = " <<
p.w <<
"]";
30 : data(_data), dims(_dims), voxel_size(_voxel_size), trunc_dist(_trunc_dist), max_weight(_max_weight) {}