30 #ifndef MIRTK_ForEachOctaryVoxelFunction_H 31 #define MIRTK_ForEachOctaryVoxelFunction_H 33 #include "mirtk/Stream.h" 34 #include "mirtk/VoxelFunction.h" 40 inline void _foreachoctaryvoxelfunction_must_not_be_reduction()
42 cerr <<
"(Parallel)ForEachVoxel(If): Voxel reductions must be passed by reference!" 43 " Pass voxel functor object(s) as last argument(s) instead of first." << endl;
56 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
79 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
85 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
91 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
106 const int T = (attr.
_dt ? attr.
_t : 1);
108 for (
int l = 0; l < T; ++l)
109 for (
int k = 0; k < attr.
_z; ++k)
110 for (
int j = 0; j < attr.
_y; ++j)
111 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
114 const_cast<OctaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
130 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
140 const int bi = re.cols().begin();
141 const int bj = re.rows().begin();
142 const int ei = re.cols().end();
143 const int ej = re.rows().end();
145 const int s1 = im8.
GetX() - (ei - bi);
156 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
157 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
160 const_cast<OctaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
167 const int bi = re.cols ().begin();
168 const int bj = re.rows ().begin();
169 const int bk = re.pages().begin();
170 const int ei = re.cols ().end();
171 const int ej = re.rows ().end();
172 const int ek = re.pages().end();
174 const int s1 = im8.
GetX() - (ei - bi);
175 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
186 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
187 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
188 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
191 const_cast<OctaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
200 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
223 VoxelFunc &vf, OutsideFunc &of)
225 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
231 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
237 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
252 const int T = (attr.
_dt ? attr.
_t : 1);
254 for (
int l = 0; l < T; ++l)
255 for (
int k = 0; k < attr.
_z; ++k)
256 for (
int j = 0; j < attr.
_y; ++j)
257 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
258 if (Domain::IsInside(im8, i, j, k, l, p8)) {
261 const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
262 }
else const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
278 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
279 if (Domain::IsInside(im8, idx, p8)) {
290 const int bi = re.cols().begin();
291 const int bj = re.rows().begin();
292 const int ei = re.cols().end();
293 const int ej = re.rows().end();
295 const int s1 = im8.
GetX() - (ei - bi);
306 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
307 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
308 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
311 const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
312 }
else const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
319 const int bi = re.cols ().begin();
320 const int bj = re.rows ().begin();
321 const int bk = re.pages().begin();
322 const int ei = re.cols ().end();
323 const int ej = re.rows ().end();
324 const int ek = re.pages().end();
326 const int s1 = im8.
GetX() - (ei - bi);
327 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
338 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
339 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
340 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
341 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
344 const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
345 }
else const_cast<OctaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
359 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
362 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
365 vf.join(body._VoxelFunc);
369 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
372 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
373 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
377 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
381 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
383 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
386 vf.join(body._VoxelFunc);
391 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
394 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
395 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
399 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
402 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
408 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
411 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
412 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
416 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
419 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
425 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
428 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
429 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
433 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
436 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
442 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
445 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
446 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
450 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
453 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
459 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
462 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
463 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
471 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
474 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
477 vf.join(body._VoxelFunc);
481 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
484 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
485 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
489 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
493 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
495 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
498 vf.join(body._VoxelFunc);
503 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
506 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
507 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
511 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
514 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
520 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
523 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
524 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
528 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
531 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
537 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
540 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
541 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
545 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
548 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
554 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
557 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
558 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
562 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
565 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
571 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
574 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
575 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
587 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
590 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
593 vf.join(body._VoxelFunc);
594 of.join(body._OutsideFunc);
598 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
601 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
602 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
606 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
610 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
614 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
617 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
618 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
622 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
626 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
628 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
631 vf.join(body._VoxelFunc);
632 of.join(body._OutsideFunc);
637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
640 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
641 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
649 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
656 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
657 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
661 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
662 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
664 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
671 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
672 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
674 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
675 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
679 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
683 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
687 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
690 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
691 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
695 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
696 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
698 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
705 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
706 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
708 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
709 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
713 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
714 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
716 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
724 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
726 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
727 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
731 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
735 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
739 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
742 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
743 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
747 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
748 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
750 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
757 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
758 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
760 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
761 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
765 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
769 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
773 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
776 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
777 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
785 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
788 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
791 vf.join(body._VoxelFunc);
792 of.join(body._OutsideFunc);
796 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
799 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
800 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
804 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
808 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
812 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
815 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
816 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
820 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
824 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
826 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
829 vf.join(body._VoxelFunc);
830 of.join(body._OutsideFunc);
835 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
838 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
839 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
843 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
847 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
851 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
854 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
855 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
859 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
860 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
862 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
869 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
870 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
872 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
873 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
877 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
881 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
885 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
888 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
889 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
893 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
894 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
896 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
903 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
904 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
906 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
907 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
911 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
912 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
914 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
922 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
924 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
925 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
929 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
933 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
940 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
941 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
945 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
946 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
948 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
955 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
956 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
958 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
959 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
963 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
967 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
971 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
974 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
975 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
987 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
990 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
997 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1000 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1001 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1005 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1009 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1011 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1019 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1022 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1023 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1027 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1030 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1032 if (VoxelFunc::IsReduction()) {
1049 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1052 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1053 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1057 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1060 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1066 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1069 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1070 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1074 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1077 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1083 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1086 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1087 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1091 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1094 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1100 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1103 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1104 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1112 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1115 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1122 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1125 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1126 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1130 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1134 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1136 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1144 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1147 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1148 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1152 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1155 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1157 if (VoxelFunc::IsReduction()) {
1174 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1177 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1178 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1182 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1185 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1191 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1194 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1195 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1199 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1202 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1208 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1211 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1212 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1216 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1219 OctaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1225 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1228 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1229 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1241 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1244 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1246 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1256 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1259 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1260 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1264 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1268 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1272 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1275 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1276 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1280 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1284 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1286 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1288 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1302 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1303 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1307 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1311 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1318 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1319 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1323 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1324 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
1326 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1328 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1346 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1347 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
1349 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1350 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1354 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1358 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1362 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1365 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1366 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1370 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1371 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
1373 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1374 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1384 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1385 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
1387 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1388 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1392 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1396 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1400 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1403 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1404 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1408 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1409 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
1411 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1412 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1422 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1423 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
1425 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1426 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1430 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1434 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1441 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1442 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1446 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1447 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
1449 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1450 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1460 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1461 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
const GenericImage<T8> *im8)
1463 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1464 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1468 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1472 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
1476 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1479 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1480 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
1488 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1491 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1493 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1503 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1506 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1507 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1515 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1519 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1522 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1523 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1527 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1531 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1533 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1535 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1546 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1549 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1550 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1554 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1558 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1562 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1565 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1566 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
1570 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1571 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
1573 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1575 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1593 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1594 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
1596 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1597 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1601 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1605 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1609 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1612 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1613 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1617 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1618 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
1620 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1621 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1631 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1632 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
1634 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1635 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1643 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1650 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1651 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1656 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
1658 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1659 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1669 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1670 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
1672 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1673 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1677 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1681 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1688 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1689 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1694 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
1696 OctaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1697 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1707 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
1708 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
const GenericImage<T8> &im8)
1710 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1711 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1715 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1719 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
1723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1726 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
1727 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
1738 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
1761 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
1767 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
1773 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
1788 const int T = (attr.
_dt ? attr.
_t : 1);
1790 for (
int l = 0; l < T; ++l)
1791 for (
int k = 0; k < attr.
_z; ++k)
1792 for (
int j = 0; j < attr.
_y; ++j)
1793 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
1796 const_cast<OctaryForEachVoxelBody_7Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
1812 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
1822 const int bi = re.cols().begin();
1823 const int bj = re.rows().begin();
1824 const int ei = re.cols().end();
1825 const int ej = re.rows().end();
1827 const int s1 = im8.
GetX() - (ei - bi);
1838 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
1839 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
1842 const_cast<OctaryForEachVoxelBody_7Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
1849 const int bi = re.cols ().begin();
1850 const int bj = re.rows ().begin();
1851 const int bk = re.pages().begin();
1852 const int ei = re.cols ().end();
1853 const int ej = re.rows ().end();
1854 const int ek = re.pages().end();
1856 const int s1 = im8.
GetX() - (ei - bi);
1857 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
1868 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
1869 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
1870 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
1873 const_cast<OctaryForEachVoxelBody_7Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
1882 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
1905 VoxelFunc &vf, OutsideFunc &of)
1907 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
1913 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
1919 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
1934 const int T = (attr.
_dt ? attr.
_t : 1);
1936 for (
int l = 0; l < T; ++l)
1937 for (
int k = 0; k < attr.
_z; ++k)
1938 for (
int j = 0; j < attr.
_y; ++j)
1939 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
1940 if (Domain::IsInside(im8, i, j, k, l, p8)) {
1943 const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
1944 }
else const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
1960 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
1961 if (Domain::IsInside(im8, idx, p8)) {
1972 const int bi = re.cols().begin();
1973 const int bj = re.rows().begin();
1974 const int ei = re.cols().end();
1975 const int ej = re.rows().end();
1977 const int s1 = im8.
GetX() - (ei - bi);
1988 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
1989 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
1990 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
1993 const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
1994 }
else const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
2001 const int bi = re.cols ().begin();
2002 const int bj = re.rows ().begin();
2003 const int bk = re.pages().begin();
2004 const int ei = re.cols ().end();
2005 const int ej = re.rows ().end();
2006 const int ek = re.pages().end();
2008 const int s1 = im8.
GetX() - (ei - bi);
2009 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
2020 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
2021 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
2022 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
2023 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
2026 const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
2027 }
else const_cast<OctaryForEachVoxelIfBody_7Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
2041 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2044 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2047 vf.join(body._VoxelFunc);
2051 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2054 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2055 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2059 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2063 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2065 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2068 vf.join(body._VoxelFunc);
2073 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2076 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2077 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2081 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2084 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2090 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2093 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2094 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2098 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2101 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2107 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2110 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2111 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2115 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2118 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2124 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2127 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2128 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2132 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2135 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2141 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2144 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2145 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2153 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2156 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2159 vf.join(body._VoxelFunc);
2163 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2166 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2167 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2171 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2175 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2177 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2180 vf.join(body._VoxelFunc);
2185 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2188 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2189 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2193 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2196 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2202 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2205 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2206 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2210 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2213 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2219 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2222 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2223 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2227 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2230 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2236 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2239 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2240 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2244 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2247 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2253 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2256 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2257 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2269 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2272 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2275 vf.join(body._VoxelFunc);
2276 of.join(body._OutsideFunc);
2280 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2283 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2284 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2288 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2292 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2296 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2299 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2300 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2304 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2308 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2310 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2313 vf.join(body._VoxelFunc);
2314 of.join(body._OutsideFunc);
2319 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2322 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2323 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2327 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2331 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2335 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2338 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2339 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2343 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2344 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
2346 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2353 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2354 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
2356 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2357 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2361 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2365 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2369 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2372 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2373 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2377 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2378 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
2380 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2387 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2388 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
2390 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2391 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2395 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2396 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
2398 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2405 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2406 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
2408 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2409 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2413 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2417 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2421 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2424 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2425 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2429 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2430 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
2432 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2439 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2440 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
2442 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2443 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2447 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2451 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2455 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2458 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2459 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2467 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2470 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2473 vf.join(body._VoxelFunc);
2474 of.join(body._OutsideFunc);
2478 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2481 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2482 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2486 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2490 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2494 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2497 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2498 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2502 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2506 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2508 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2511 vf.join(body._VoxelFunc);
2512 of.join(body._OutsideFunc);
2517 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2520 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2521 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2525 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2529 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2533 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2536 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2537 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2541 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2542 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
2544 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2551 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2552 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
2554 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2555 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2559 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2563 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2567 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2570 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2571 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2575 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2576 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
2578 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2585 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2586 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
2588 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2589 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2593 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2594 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
2596 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2603 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2604 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
2606 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2607 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2611 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2615 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2619 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2622 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2623 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2627 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2628 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
2630 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2638 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
2640 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2641 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2649 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
2653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2656 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2657 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2669 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2672 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2679 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2682 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2683 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2687 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2691 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2693 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2701 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2704 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2705 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2709 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2712 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2714 if (VoxelFunc::IsReduction()) {
2731 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2734 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2735 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2739 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2742 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2748 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2751 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2752 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2756 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2759 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2765 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2768 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2769 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2773 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2776 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2782 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2785 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2786 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2794 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2797 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2804 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2807 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2808 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2812 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2816 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2818 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2826 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2829 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2830 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2834 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2837 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2839 if (VoxelFunc::IsReduction()) {
2856 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2859 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2860 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2864 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2867 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2873 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2876 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2877 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2881 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2884 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2890 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2893 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2894 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2898 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2901 OctaryForEachVoxelBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
2907 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2910 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2911 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
2923 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2926 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2928 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2938 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2941 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2942 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2946 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2950 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2954 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2957 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2958 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
2962 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2966 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2968 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2970 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2981 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
2984 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
2985 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2989 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
2993 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
2997 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3000 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3001 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3005 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3006 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
3008 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3010 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3028 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3029 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
3031 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3032 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3036 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3040 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3044 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3047 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3048 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3052 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3053 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
3055 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3056 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3066 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3067 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
3069 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3070 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3074 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3078 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3082 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3085 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3086 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3090 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3091 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
3093 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3094 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3104 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3105 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
3107 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3108 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3112 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3116 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3120 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3123 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3124 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3128 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3129 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
3131 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3132 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3142 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3143 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
const GenericImage<T7> *im7,
GenericImage<T8> *im8)
3145 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3146 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3150 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3154 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3158 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3161 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3162 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3170 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3173 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3175 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3185 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3188 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3189 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3193 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3197 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3201 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3204 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3205 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3209 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3213 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3215 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3217 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3228 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3231 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3232 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3236 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3240 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3244 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3247 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3248 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3252 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3253 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
3255 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3257 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3275 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3276 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
3278 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3279 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3283 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3287 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3291 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3294 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3295 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3300 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
3302 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3303 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3314 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
3316 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3317 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3325 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3329 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3332 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3333 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3337 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3338 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
3340 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3341 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3351 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3352 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
3354 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3355 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3359 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3363 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3367 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3370 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3371 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3375 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3376 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
3378 OctaryForEachVoxelIfBody_7Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3379 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3389 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3390 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
const GenericImage<T7> &im7,
GenericImage<T8> &im8)
3392 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3393 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3397 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3401 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
3405 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3408 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3409 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3420 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3443 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
3449 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
3455 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
3470 const int T = (attr.
_dt ? attr.
_t : 1);
3472 for (
int l = 0; l < T; ++l)
3473 for (
int k = 0; k < attr.
_z; ++k)
3474 for (
int j = 0; j < attr.
_y; ++j)
3475 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
3478 const_cast<OctaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
3494 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3504 const int bi = re.cols().begin();
3505 const int bj = re.rows().begin();
3506 const int ei = re.cols().end();
3507 const int ej = re.rows().end();
3509 const int s1 = im8.
GetX() - (ei - bi);
3520 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
3521 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3524 const_cast<OctaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3531 const int bi = re.cols ().begin();
3532 const int bj = re.rows ().begin();
3533 const int bk = re.pages().begin();
3534 const int ei = re.cols ().end();
3535 const int ej = re.rows ().end();
3536 const int ek = re.pages().end();
3538 const int s1 = im8.
GetX() - (ei - bi);
3539 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
3550 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
3551 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
3552 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3555 const_cast<OctaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3564 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
3587 VoxelFunc &vf, OutsideFunc &of)
3589 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
3595 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
3601 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
3616 const int T = (attr.
_dt ? attr.
_t : 1);
3618 for (
int l = 0; l < T; ++l)
3619 for (
int k = 0; k < attr.
_z; ++k)
3620 for (
int j = 0; j < attr.
_y; ++j)
3621 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
3622 if (Domain::IsInside(im8, i, j, k, l, p8)) {
3625 const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
3626 }
else const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
3642 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3643 if (Domain::IsInside(im8, idx, p8)) {
3654 const int bi = re.cols().begin();
3655 const int bj = re.rows().begin();
3656 const int ei = re.cols().end();
3657 const int ej = re.rows().end();
3659 const int s1 = im8.
GetX() - (ei - bi);
3670 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
3671 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3672 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
3675 const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3676 }
else const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3683 const int bi = re.cols ().begin();
3684 const int bj = re.rows ().begin();
3685 const int bk = re.pages().begin();
3686 const int ei = re.cols ().end();
3687 const int ej = re.rows ().end();
3688 const int ek = re.pages().end();
3690 const int s1 = im8.
GetX() - (ei - bi);
3691 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
3702 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
3703 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
3704 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
3705 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
3708 const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3709 }
else const_cast<OctaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
3723 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3726 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3729 vf.join(body._VoxelFunc);
3733 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3736 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3737 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3741 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3745 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3747 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3750 vf.join(body._VoxelFunc);
3755 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3758 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3759 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3763 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3766 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3772 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3775 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3776 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3780 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3783 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3789 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3792 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3793 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3797 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3800 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3806 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3809 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3810 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3814 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3817 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3823 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3826 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3827 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3835 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3838 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3841 vf.join(body._VoxelFunc);
3845 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3848 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3849 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3853 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3857 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3859 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3862 vf.join(body._VoxelFunc);
3867 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3870 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3871 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3875 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3878 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3884 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3887 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3888 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3892 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3895 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3901 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3904 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3905 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3909 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3912 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3918 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3921 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3922 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3926 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3929 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
3935 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3938 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3939 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
3951 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3954 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3957 vf.join(body._VoxelFunc);
3958 of.join(body._OutsideFunc);
3962 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3965 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3966 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3970 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3974 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3978 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
3981 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
3982 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
3986 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
3990 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3992 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
3995 vf.join(body._VoxelFunc);
3996 of.join(body._OutsideFunc);
4001 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4004 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4005 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4009 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4013 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4017 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4020 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4021 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4025 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4026 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4028 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4035 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4036 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4038 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4039 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4043 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4047 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4054 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4055 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4059 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4060 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4062 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4069 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4070 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4072 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4073 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4077 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4078 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4080 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4087 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4088 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4090 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4091 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4095 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4099 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4103 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4106 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4107 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4111 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4112 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4114 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4121 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4122 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4124 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4125 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4129 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4133 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4137 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4140 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4141 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4149 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4152 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4155 vf.join(body._VoxelFunc);
4156 of.join(body._OutsideFunc);
4160 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4163 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4164 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4168 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4172 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4176 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4179 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4180 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4184 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4188 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4190 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4193 vf.join(body._VoxelFunc);
4194 of.join(body._OutsideFunc);
4199 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4202 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4203 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4207 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4211 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4215 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4218 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4219 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4223 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4224 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4226 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4233 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4234 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4236 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4237 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4241 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4245 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4249 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4252 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4253 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4257 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4258 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4260 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4267 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4268 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4270 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4271 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4275 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4276 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4278 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4285 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4286 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4288 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4289 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4293 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4297 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4301 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4304 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4305 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4309 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4310 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4312 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4319 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4320 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4322 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4323 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4327 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4331 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4335 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4338 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4339 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4351 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4354 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4361 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4364 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4365 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4369 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4373 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4375 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4383 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4386 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4387 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4391 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4394 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4396 if (VoxelFunc::IsReduction()) {
4413 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4416 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4417 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4421 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4424 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4430 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4433 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4434 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4438 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4441 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4447 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4450 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4451 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4455 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4458 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4464 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4467 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4468 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4476 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4479 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4486 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4489 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4490 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4494 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4498 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4500 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4508 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4511 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4512 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4516 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4519 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4521 if (VoxelFunc::IsReduction()) {
4538 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4541 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4542 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4546 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4549 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4555 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4558 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4559 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4563 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4566 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4572 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4575 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4576 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4580 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4583 OctaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4589 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4592 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4593 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4608 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4610 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4620 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4623 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4624 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4628 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4632 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4636 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4639 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4640 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4644 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4648 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4650 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4652 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4666 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4667 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4671 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4675 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4679 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4682 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4683 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4687 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4688 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4690 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4692 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4710 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4711 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4713 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4714 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4718 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4722 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4726 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4729 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4730 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4734 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4735 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4737 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4738 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4748 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4749 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4751 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4752 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4756 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4760 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4764 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4767 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4768 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4772 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4773 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4775 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4776 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4786 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4787 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4789 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4790 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4794 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4798 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4802 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4805 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4806 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4810 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4811 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
4813 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4814 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4824 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4825 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
const GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
4827 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4828 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4832 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4836 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
4840 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4843 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4844 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
4852 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4855 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4857 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4867 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4870 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4871 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4875 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4879 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4883 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4886 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4887 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4891 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4895 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4897 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4899 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4910 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4913 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4914 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4918 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4922 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4926 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4929 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4930 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
4934 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4935 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4937 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4939 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4957 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4958 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4960 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4961 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4965 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4969 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4973 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
4976 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4977 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
4981 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4982 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
4984 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
4985 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4995 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
4996 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
4998 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
4999 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5003 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5007 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5011 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5014 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5015 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5019 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5020 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5022 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5023 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
5033 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5034 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
5036 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5037 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5041 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5045 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5049 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5052 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5053 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5057 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5058 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5060 OctaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5061 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
5071 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5072 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
const GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
5074 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5075 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5079 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5083 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5087 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5090 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5091 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5102 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5125 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
5131 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
5137 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
5152 const int T = (attr.
_dt ? attr.
_t : 1);
5154 for (
int l = 0; l < T; ++l)
5155 for (
int k = 0; k < attr.
_z; ++k)
5156 for (
int j = 0; j < attr.
_y; ++j)
5157 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
5160 const_cast<OctaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
5176 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5186 const int bi = re.cols().begin();
5187 const int bj = re.rows().begin();
5188 const int ei = re.cols().end();
5189 const int ej = re.rows().end();
5191 const int s1 = im8.
GetX() - (ei - bi);
5202 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
5203 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5206 const_cast<OctaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5213 const int bi = re.cols ().begin();
5214 const int bj = re.rows ().begin();
5215 const int bk = re.pages().begin();
5216 const int ei = re.cols ().end();
5217 const int ej = re.rows ().end();
5218 const int ek = re.pages().end();
5220 const int s1 = im8.
GetX() - (ei - bi);
5221 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
5232 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
5233 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
5234 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5237 const_cast<OctaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5246 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
5269 VoxelFunc &vf, OutsideFunc &of)
5271 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
5277 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
5283 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
5298 const int T = (attr.
_dt ? attr.
_t : 1);
5300 for (
int l = 0; l < T; ++l)
5301 for (
int k = 0; k < attr.
_z; ++k)
5302 for (
int j = 0; j < attr.
_y; ++j)
5303 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
5304 if (Domain::IsInside(im8, i, j, k, l, p8)) {
5307 const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
5308 }
else const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
5324 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5325 if (Domain::IsInside(im8, idx, p8)) {
5336 const int bi = re.cols().begin();
5337 const int bj = re.rows().begin();
5338 const int ei = re.cols().end();
5339 const int ej = re.rows().end();
5341 const int s1 = im8.
GetX() - (ei - bi);
5352 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
5353 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5354 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
5357 const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5358 }
else const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5365 const int bi = re.cols ().begin();
5366 const int bj = re.rows ().begin();
5367 const int bk = re.pages().begin();
5368 const int ei = re.cols ().end();
5369 const int ej = re.rows ().end();
5370 const int ek = re.pages().end();
5372 const int s1 = im8.
GetX() - (ei - bi);
5373 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
5384 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
5385 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
5386 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
5387 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
5390 const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5391 }
else const_cast<OctaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
5405 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5408 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5411 vf.join(body._VoxelFunc);
5415 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5418 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5419 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5423 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5427 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5429 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5432 vf.join(body._VoxelFunc);
5437 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5440 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5441 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5445 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5448 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5454 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5457 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5458 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5462 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5465 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5471 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5474 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5475 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5479 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5482 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5488 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5491 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5492 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5496 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5499 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5505 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5508 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5509 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5517 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5520 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5523 vf.join(body._VoxelFunc);
5527 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5530 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5531 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5535 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5539 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5541 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5544 vf.join(body._VoxelFunc);
5549 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5552 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5553 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5557 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5560 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5566 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5569 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5570 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5574 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5577 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5583 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5586 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5587 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5591 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5594 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5600 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5603 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5604 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5608 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5611 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5617 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5620 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5621 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5633 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5636 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5639 vf.join(body._VoxelFunc);
5640 of.join(body._OutsideFunc);
5644 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5647 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5648 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5652 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5656 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5660 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5663 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5664 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5668 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5672 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5674 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5677 vf.join(body._VoxelFunc);
5678 of.join(body._OutsideFunc);
5683 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5686 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5687 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5691 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5695 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5699 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5702 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5703 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5707 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5708 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
5710 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5717 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5718 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
5720 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5721 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5725 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5729 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5733 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5736 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5737 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5741 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5742 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
5744 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5751 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5752 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
5754 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5755 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5759 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5760 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
5762 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5769 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5770 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
5772 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5773 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5777 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5781 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5785 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5788 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5789 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5793 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5794 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
5796 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5803 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5804 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
5806 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5807 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5811 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5815 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
5819 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5822 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5823 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
5831 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5834 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5837 vf.join(body._VoxelFunc);
5838 of.join(body._OutsideFunc);
5842 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5845 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5846 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5850 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5854 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5858 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5861 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5862 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5866 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5870 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5872 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5875 vf.join(body._VoxelFunc);
5876 of.join(body._OutsideFunc);
5881 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5884 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5885 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5889 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5893 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5897 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5900 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5901 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
5905 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5906 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5908 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5915 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5916 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
5918 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5919 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5923 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5927 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5931 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5934 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5935 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5939 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5940 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5942 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5949 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5950 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
5952 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5953 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5957 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5958 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5960 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5967 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5968 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
5970 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5971 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5975 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5979 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
5983 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
5986 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
5987 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
5991 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
5992 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
5994 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6001 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6002 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
6004 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6005 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6009 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6013 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6017 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6020 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6021 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6033 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6036 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6043 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6046 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6047 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6051 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6055 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6057 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6065 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6068 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6069 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6073 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6076 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6078 if (VoxelFunc::IsReduction()) {
6095 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6098 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6099 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6103 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6106 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6112 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6115 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6116 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6120 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6123 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6129 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6132 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6133 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6137 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6140 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6146 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6149 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6150 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6158 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6161 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6168 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6171 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6172 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6176 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6180 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6182 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6190 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6193 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6194 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6198 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6201 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6203 if (VoxelFunc::IsReduction()) {
6220 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6223 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6224 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6228 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6231 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6237 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6240 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6241 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6245 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6248 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6254 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6257 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6258 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6262 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6265 OctaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6271 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6274 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6275 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6290 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6292 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6302 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6305 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6306 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6310 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6314 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6318 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6321 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6322 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6326 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6330 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6332 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6334 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6345 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6348 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6349 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6353 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6357 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6361 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6364 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6365 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6369 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6370 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
6372 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6374 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6392 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6393 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
6395 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6396 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6400 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6404 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6408 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6411 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6412 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6416 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6417 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
6419 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6420 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6430 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6431 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
6433 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6434 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6442 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6446 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6449 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6450 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6454 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6455 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
6457 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6458 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6468 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6469 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
6471 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6472 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6476 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6480 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6484 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6487 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6488 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6492 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6493 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
6495 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6496 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6506 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6507 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
const GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
6509 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6510 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6514 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6518 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
6522 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6525 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6526 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
6534 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6537 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6539 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6549 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6552 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6553 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6557 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6561 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6565 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6568 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6569 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6573 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6577 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6579 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6581 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6592 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6595 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6596 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6600 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6604 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6608 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6611 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6612 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
6616 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6617 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
6619 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6621 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6640 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
6642 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6643 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6651 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6658 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6659 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6664 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
6666 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6667 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6677 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6678 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
6680 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6681 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6689 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6696 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6697 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6701 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6702 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
6704 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6705 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6715 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6716 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
6718 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6719 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6727 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6731 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6734 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6735 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6739 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6740 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
6742 OctaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6743 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6753 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
6754 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
const GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
6756 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6757 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6761 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6765 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
6769 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6772 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
6773 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
6784 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
6807 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
6813 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
6819 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
6834 const int T = (attr.
_dt ? attr.
_t : 1);
6836 for (
int l = 0; l < T; ++l)
6837 for (
int k = 0; k < attr.
_z; ++k)
6838 for (
int j = 0; j < attr.
_y; ++j)
6839 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
6842 const_cast<OctaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
6858 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
6868 const int bi = re.cols().begin();
6869 const int bj = re.rows().begin();
6870 const int ei = re.cols().end();
6871 const int ej = re.rows().end();
6873 const int s1 = im8.
GetX() - (ei - bi);
6884 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
6885 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
6888 const_cast<OctaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
6895 const int bi = re.cols ().begin();
6896 const int bj = re.rows ().begin();
6897 const int bk = re.pages().begin();
6898 const int ei = re.cols ().end();
6899 const int ej = re.rows ().end();
6900 const int ek = re.pages().end();
6902 const int s1 = im8.
GetX() - (ei - bi);
6903 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
6914 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
6915 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
6916 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
6919 const_cast<OctaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
6928 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
6951 VoxelFunc &vf, OutsideFunc &of)
6953 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
6959 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
6965 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
6980 const int T = (attr.
_dt ? attr.
_t : 1);
6982 for (
int l = 0; l < T; ++l)
6983 for (
int k = 0; k < attr.
_z; ++k)
6984 for (
int j = 0; j < attr.
_y; ++j)
6985 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
6986 if (Domain::IsInside(im8, i, j, k, l, p8)) {
6989 const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
6990 }
else const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
7006 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
7007 if (Domain::IsInside(im8, idx, p8)) {
7018 const int bi = re.cols().begin();
7019 const int bj = re.rows().begin();
7020 const int ei = re.cols().end();
7021 const int ej = re.rows().end();
7023 const int s1 = im8.
GetX() - (ei - bi);
7034 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
7035 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
7036 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
7039 const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
7040 }
else const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
7047 const int bi = re.cols ().begin();
7048 const int bj = re.rows ().begin();
7049 const int bk = re.pages().begin();
7050 const int ei = re.cols ().end();
7051 const int ej = re.rows ().end();
7052 const int ek = re.pages().end();
7054 const int s1 = im8.
GetX() - (ei - bi);
7055 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
7066 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
7067 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
7068 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
7069 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
7072 const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
7073 }
else const_cast<OctaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
7087 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7090 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7093 vf.join(body._VoxelFunc);
7097 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7100 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7101 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7105 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7109 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7111 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7114 vf.join(body._VoxelFunc);
7119 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7122 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7123 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7127 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7130 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7136 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7139 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7140 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7144 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7147 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7153 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7156 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7157 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7161 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7164 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7170 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7173 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7174 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7178 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7181 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7187 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7190 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7191 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7199 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7202 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7205 vf.join(body._VoxelFunc);
7209 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7212 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7213 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7217 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7221 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7223 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7226 vf.join(body._VoxelFunc);
7231 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7234 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7235 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7239 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7242 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7248 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7251 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7252 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7256 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7259 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7265 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7268 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7269 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7273 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7276 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7282 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7285 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7286 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7290 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7293 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7299 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7302 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7303 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7318 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7321 vf.join(body._VoxelFunc);
7322 of.join(body._OutsideFunc);
7326 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7329 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7330 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7334 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7338 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7342 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7345 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7346 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7350 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7354 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7356 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7359 vf.join(body._VoxelFunc);
7360 of.join(body._OutsideFunc);
7365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7368 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7369 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7377 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7384 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7385 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7389 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7390 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
7392 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7399 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7400 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
7402 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7403 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7407 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7411 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7415 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7418 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7419 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7423 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7424 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
7426 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7433 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7434 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
7436 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7437 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7441 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7442 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
7444 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7452 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
7454 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7455 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7459 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7463 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7467 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7470 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7471 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7475 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7476 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
7478 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7485 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7486 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
7488 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7489 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7493 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7497 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7501 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7504 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7505 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7513 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7516 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7519 vf.join(body._VoxelFunc);
7520 of.join(body._OutsideFunc);
7524 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7527 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7528 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7532 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7536 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7540 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7543 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7544 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7548 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7552 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7554 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7557 vf.join(body._VoxelFunc);
7558 of.join(body._OutsideFunc);
7563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7566 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7567 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7575 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7582 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7583 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7587 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7588 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
7590 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7597 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7598 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
7600 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7601 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7609 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7613 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7616 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7617 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7621 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7622 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
7624 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7631 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7632 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
7634 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7635 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7640 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
7642 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7649 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7650 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
7652 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7653 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7657 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7661 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7665 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7668 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7669 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7673 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7674 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
7676 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7683 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7684 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
7686 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7687 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7691 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7695 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
7699 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7702 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7703 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7715 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7718 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7725 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7728 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7729 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7733 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7737 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7739 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7747 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7750 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7751 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7755 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7758 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7760 if (VoxelFunc::IsReduction()) {
7777 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7780 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7781 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7785 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7788 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7794 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7797 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7798 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7802 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7805 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7811 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7814 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7815 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7819 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7822 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7828 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7831 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7832 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
7840 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7843 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7850 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7853 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7854 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7858 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7862 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7864 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7872 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7875 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7876 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7880 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7883 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7885 if (VoxelFunc::IsReduction()) {
7902 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7905 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7906 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7910 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7913 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7919 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7922 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7923 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7927 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7930 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7936 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7939 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7940 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7944 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7947 OctaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
7953 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7956 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7957 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
7969 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7972 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7974 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7984 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
7987 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
7988 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
7992 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
7996 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8000 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8003 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8004 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8008 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8012 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8014 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8016 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8027 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8030 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8031 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8035 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8039 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8043 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8046 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8047 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8052 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
8054 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8056 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8074 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8075 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
8077 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8078 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8082 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8086 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8090 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8093 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8094 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8098 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8099 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
8101 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8102 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8112 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8113 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
8115 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8116 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8120 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8124 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8128 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8131 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8132 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8136 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8137 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
8139 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8140 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8150 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8151 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
8153 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8154 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8158 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8162 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8166 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8169 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8170 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8174 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8175 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
8177 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8178 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8188 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8189 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
const GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
8191 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8192 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8196 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8200 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
8204 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8207 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8208 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8216 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8219 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8221 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8231 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8234 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8235 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8239 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8243 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8247 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8250 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8251 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8255 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8259 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8261 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8263 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8274 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8277 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8278 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8282 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8286 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8290 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8293 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8294 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8298 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8299 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
8301 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8303 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8322 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
8324 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8325 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8329 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8333 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8337 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8340 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8341 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8345 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8346 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
8348 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8349 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8359 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8360 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
8362 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8363 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8367 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8371 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8375 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8378 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8379 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8383 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8384 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
8386 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8387 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8397 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8398 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
8400 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8401 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8405 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8409 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8413 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8416 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8417 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8421 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8422 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
8424 OctaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8425 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8435 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
8436 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
const GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
8438 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8439 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8447 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
8451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8454 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8455 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8466 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8489 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
8495 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
8501 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
8516 const int T = (attr.
_dt ? attr.
_t : 1);
8518 for (
int l = 0; l < T; ++l)
8519 for (
int k = 0; k < attr.
_z; ++k)
8520 for (
int j = 0; j < attr.
_y; ++j)
8521 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
8524 const_cast<OctaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
8540 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8550 const int bi = re.cols().begin();
8551 const int bj = re.rows().begin();
8552 const int ei = re.cols().end();
8553 const int ej = re.rows().end();
8555 const int s1 = im8.
GetX() - (ei - bi);
8566 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
8567 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8570 const_cast<OctaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8577 const int bi = re.cols ().begin();
8578 const int bj = re.rows ().begin();
8579 const int bk = re.pages().begin();
8580 const int ei = re.cols ().end();
8581 const int ej = re.rows ().end();
8582 const int ek = re.pages().end();
8584 const int s1 = im8.
GetX() - (ei - bi);
8585 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
8596 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
8597 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
8598 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8601 const_cast<OctaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8610 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
8633 VoxelFunc &vf, OutsideFunc &of)
8635 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
8641 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
8647 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
8662 const int T = (attr.
_dt ? attr.
_t : 1);
8664 for (
int l = 0; l < T; ++l)
8665 for (
int k = 0; k < attr.
_z; ++k)
8666 for (
int j = 0; j < attr.
_y; ++j)
8667 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
8668 if (Domain::IsInside(im8, i, j, k, l, p8)) {
8671 const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
8672 }
else const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
8688 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8689 if (Domain::IsInside(im8, idx, p8)) {
8700 const int bi = re.cols().begin();
8701 const int bj = re.rows().begin();
8702 const int ei = re.cols().end();
8703 const int ej = re.rows().end();
8705 const int s1 = im8.
GetX() - (ei - bi);
8716 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
8717 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8718 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
8721 const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8722 }
else const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8729 const int bi = re.cols ().begin();
8730 const int bj = re.rows ().begin();
8731 const int bk = re.pages().begin();
8732 const int ei = re.cols ().end();
8733 const int ej = re.rows ().end();
8734 const int ek = re.pages().end();
8736 const int s1 = im8.
GetX() - (ei - bi);
8737 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
8748 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
8749 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
8750 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
8751 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
8754 const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8755 }
else const_cast<OctaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
8769 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8772 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8775 vf.join(body._VoxelFunc);
8779 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8782 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8783 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8787 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8791 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8793 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8796 vf.join(body._VoxelFunc);
8801 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8804 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8805 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8809 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8812 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8818 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8821 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8822 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8826 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8829 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8835 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8838 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8839 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8843 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8846 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8852 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8855 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8856 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8860 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8863 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8869 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8872 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8873 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
8881 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8884 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8887 vf.join(body._VoxelFunc);
8891 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8894 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8895 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8899 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8903 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8905 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8908 vf.join(body._VoxelFunc);
8913 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8916 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8917 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8921 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8924 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8930 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8933 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8934 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8938 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8941 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8947 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8950 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8951 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8955 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8958 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8964 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8967 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8968 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8972 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8975 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
8981 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
8984 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
8985 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
8997 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9000 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9003 vf.join(body._VoxelFunc);
9004 of.join(body._OutsideFunc);
9008 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9011 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9012 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9016 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9020 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9024 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9027 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9028 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9032 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9036 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9038 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9041 vf.join(body._VoxelFunc);
9042 of.join(body._OutsideFunc);
9047 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9050 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9051 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9055 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9059 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9063 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9066 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9067 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9071 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9072 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9074 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9081 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9082 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9084 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9085 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9089 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9093 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9097 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9100 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9101 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9105 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9106 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9108 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9115 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9116 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9118 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9119 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9123 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9124 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9126 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9133 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9134 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9136 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9137 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9141 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9145 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9149 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9152 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9153 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9157 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9158 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9160 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9167 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9168 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9170 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9171 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9175 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9179 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9183 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9186 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9187 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9198 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9201 vf.join(body._VoxelFunc);
9202 of.join(body._OutsideFunc);
9206 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9209 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9210 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9214 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9218 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9222 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9225 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9226 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9230 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9234 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9236 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9239 vf.join(body._VoxelFunc);
9240 of.join(body._OutsideFunc);
9245 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9248 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9249 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9253 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9257 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9261 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9264 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9265 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9269 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9270 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
9272 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9279 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9280 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
9282 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9283 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9291 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9298 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9299 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9303 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9304 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
9306 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9314 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
9316 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9317 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9322 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
9324 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9331 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9332 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
9334 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9335 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9339 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9343 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9347 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9350 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9351 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9355 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9356 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
9358 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9366 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
9368 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9369 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9377 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9384 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9385 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9397 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9400 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9407 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9410 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9411 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9415 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9419 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9421 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9429 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9432 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9433 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9437 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9440 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9442 if (VoxelFunc::IsReduction()) {
9459 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9462 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9463 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9467 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9470 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9476 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9479 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9480 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9484 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9487 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9493 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9496 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9497 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9501 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9504 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9510 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9513 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9514 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9522 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9525 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9532 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9535 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9536 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9540 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9544 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9546 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9554 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9557 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9558 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9562 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9565 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9567 if (VoxelFunc::IsReduction()) {
9584 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9587 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9588 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9592 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9595 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9601 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9604 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9605 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9609 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9612 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9618 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9621 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9622 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9626 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9629 OctaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9635 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9638 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9639 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
9651 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9654 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9656 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9666 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9669 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9670 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9674 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9678 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9682 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9685 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9686 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9690 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9694 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9696 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9698 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9709 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9712 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9713 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9717 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9721 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9725 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9728 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9729 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9733 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9734 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9736 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9738 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9756 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9757 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9759 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9760 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9764 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9768 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9772 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9775 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9776 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9780 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9781 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9783 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9784 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9794 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9795 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9797 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9798 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9802 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9806 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9810 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9813 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9814 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9818 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9819 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9821 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9822 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9832 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9833 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9835 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9836 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9840 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9844 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9848 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9851 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9852 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9856 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9857 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
9859 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9860 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9870 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9871 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
const GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
9873 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9874 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9878 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9882 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
9886 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9889 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9890 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
9898 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9901 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9903 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9913 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9916 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9917 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9925 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9929 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9932 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9933 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9941 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9943 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9945 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9956 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9959 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9960 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9964 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9968 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9972 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
9975 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
9976 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
9980 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
9981 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
9983 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
9985 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10003 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10004 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10006 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10007 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10011 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10015 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10019 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10022 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10023 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10027 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10028 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
10030 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10031 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10041 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10042 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10044 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10045 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10049 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10053 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10057 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10060 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10061 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10065 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10066 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
10068 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10069 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10079 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10080 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10082 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10083 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10087 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10091 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10095 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10098 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10099 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10103 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10104 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
10106 OctaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10107 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10117 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10118 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
const GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10120 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10121 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10125 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10129 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10133 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10136 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10137 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10148 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10171 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
10177 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
10183 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
10198 const int T = (attr.
_dt ? attr.
_t : 1);
10200 for (
int l = 0; l < T; ++l)
10201 for (
int k = 0; k < attr.
_z; ++k)
10202 for (
int j = 0; j < attr.
_y; ++j)
10203 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
10206 const_cast<OctaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
10222 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10232 const int bi = re.cols().begin();
10233 const int bj = re.rows().begin();
10234 const int ei = re.cols().end();
10235 const int ej = re.rows().end();
10237 const int s1 = im8.
GetX() - (ei - bi);
10248 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
10249 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10252 const_cast<OctaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10259 const int bi = re.cols ().begin();
10260 const int bj = re.rows ().begin();
10261 const int bk = re.pages().begin();
10262 const int ei = re.cols ().end();
10263 const int ej = re.rows ().end();
10264 const int ek = re.pages().end();
10266 const int s1 = im8.
GetX() - (ei - bi);
10267 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
10278 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
10279 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
10280 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10283 const_cast<OctaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10292 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
10315 VoxelFunc &vf, OutsideFunc &of)
10317 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
10323 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
10329 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
10344 const int T = (attr.
_dt ? attr.
_t : 1);
10346 for (
int l = 0; l < T; ++l)
10347 for (
int k = 0; k < attr.
_z; ++k)
10348 for (
int j = 0; j < attr.
_y; ++j)
10349 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
10350 if (Domain::IsInside(im8, i, j, k, l, p8)) {
10353 const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
10354 }
else const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
10370 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10371 if (Domain::IsInside(im8, idx, p8)) {
10382 const int bi = re.cols().begin();
10383 const int bj = re.rows().begin();
10384 const int ei = re.cols().end();
10385 const int ej = re.rows().end();
10387 const int s1 = im8.
GetX() - (ei - bi);
10398 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
10399 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10400 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
10403 const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10404 }
else const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10411 const int bi = re.cols ().begin();
10412 const int bj = re.rows ().begin();
10413 const int bk = re.pages().begin();
10414 const int ei = re.cols ().end();
10415 const int ej = re.rows ().end();
10416 const int ek = re.pages().end();
10418 const int s1 = im8.
GetX() - (ei - bi);
10419 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
10430 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
10431 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
10432 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
10433 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
10436 const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10437 }
else const_cast<OctaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
10451 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10454 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10457 vf.join(body._VoxelFunc);
10461 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10464 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10465 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10469 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10473 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10475 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10478 vf.join(body._VoxelFunc);
10483 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10486 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10487 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10491 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10494 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10500 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10503 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10504 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10508 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10511 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10517 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10520 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10521 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10525 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10528 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10534 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10537 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10538 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10542 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10545 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10551 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10554 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10555 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10563 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10566 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10569 vf.join(body._VoxelFunc);
10573 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10576 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10577 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10581 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10585 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10587 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10590 vf.join(body._VoxelFunc);
10595 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10598 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10599 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10603 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10606 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10612 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10615 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10616 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10620 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10623 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10629 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10632 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10633 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10637 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10640 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10646 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10649 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10650 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10654 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10657 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10663 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10666 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10667 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10679 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10682 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10685 vf.join(body._VoxelFunc);
10686 of.join(body._OutsideFunc);
10690 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10693 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10694 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10698 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10702 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10706 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10709 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10710 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10714 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10718 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10720 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10723 vf.join(body._VoxelFunc);
10724 of.join(body._OutsideFunc);
10729 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10732 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10733 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10737 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10741 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10745 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10748 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10749 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10753 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10754 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
10756 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10763 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10764 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
10766 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10767 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10771 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10775 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10779 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10782 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10783 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10787 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10788 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
10790 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10797 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10798 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
10800 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10801 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10805 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10806 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
10808 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10815 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10816 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
10818 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10819 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10823 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10827 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10831 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10834 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10835 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10839 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10840 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
10842 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10849 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10850 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
10852 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10853 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10857 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10861 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
10865 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10868 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10869 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
10877 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10880 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10883 vf.join(body._VoxelFunc);
10884 of.join(body._OutsideFunc);
10888 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10891 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10892 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10896 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10900 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10904 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10907 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10908 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10912 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10916 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10918 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10921 vf.join(body._VoxelFunc);
10922 of.join(body._OutsideFunc);
10927 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10930 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10931 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10935 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10939 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10943 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10946 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10947 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
10951 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10952 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
10954 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10961 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10962 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10964 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10965 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10969 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10973 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10977 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
10980 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10981 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
10985 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10986 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
10988 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
10995 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
10996 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
10998 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
10999 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11003 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11004 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11006 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11013 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11014 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11016 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11017 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11021 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11025 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11029 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11032 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11033 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11037 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11038 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11040 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11047 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11048 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11050 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11051 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11055 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11059 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11063 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11066 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11067 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11079 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11082 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11089 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11092 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11093 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11097 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11101 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11103 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11111 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11114 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11115 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11119 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11122 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11124 if (VoxelFunc::IsReduction()) {
11141 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11144 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11145 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11149 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11152 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11158 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11161 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11162 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11166 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11169 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11175 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11178 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11179 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11183 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11186 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11192 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11195 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11196 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11204 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11207 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11214 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11217 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11218 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11222 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11226 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11228 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11236 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11239 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11240 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11244 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11247 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11249 if (VoxelFunc::IsReduction()) {
11266 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11269 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11270 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11274 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11277 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11283 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11286 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11287 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11291 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11294 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11300 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11303 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11304 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11308 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11311 OctaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11317 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11320 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11321 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11333 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11336 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11338 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11348 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11351 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11352 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11356 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11360 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11364 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11367 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11368 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11372 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11376 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11378 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11380 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11394 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11395 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11399 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11403 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11407 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11410 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11411 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11415 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11416 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
11418 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11420 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11439 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
11441 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11442 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11446 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11450 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11454 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11457 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11458 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11462 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11463 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
11465 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11466 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11476 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11477 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
11479 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11480 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11484 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11488 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11492 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11495 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11496 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11500 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11501 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
11503 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11504 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11514 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11515 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
11517 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11518 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11522 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11526 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11530 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11533 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11534 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11538 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11539 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
11541 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11542 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11552 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11553 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
const GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
11555 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11556 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11560 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11564 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
11568 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11571 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11572 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
11580 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11583 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11585 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11595 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11598 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11599 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11603 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11607 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11611 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11614 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11615 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11619 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11623 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11625 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11627 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11638 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11641 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11642 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11646 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11650 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11654 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11657 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11658 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
11662 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11663 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11665 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11667 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11686 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11688 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11689 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11697 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11701 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11704 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11705 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11709 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11710 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11712 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11713 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11724 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11726 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11727 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11731 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11735 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11739 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11742 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11743 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11747 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11748 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11750 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11751 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11761 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11762 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11764 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11765 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11769 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11773 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11777 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11780 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11781 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11785 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11786 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
11788 OctaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11789 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11799 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
11800 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
const GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
11802 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11803 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11807 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11811 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
11815 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11818 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
11819 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
11830 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
11853 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
11859 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
11865 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
11880 const int T = (attr.
_dt ? attr.
_t : 1);
11882 for (
int l = 0; l < T; ++l)
11883 for (
int k = 0; k < attr.
_z; ++k)
11884 for (
int j = 0; j < attr.
_y; ++j)
11885 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
11888 const_cast<OctaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
11904 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
11914 const int bi = re.cols().begin();
11915 const int bj = re.rows().begin();
11916 const int ei = re.cols().end();
11917 const int ej = re.rows().end();
11919 const int s1 = im8.
GetX() - (ei - bi);
11930 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
11931 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
11934 const_cast<OctaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
11941 const int bi = re.cols ().begin();
11942 const int bj = re.rows ().begin();
11943 const int bk = re.pages().begin();
11944 const int ei = re.cols ().end();
11945 const int ej = re.rows ().end();
11946 const int ek = re.pages().end();
11948 const int s1 = im8.
GetX() - (ei - bi);
11949 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
11960 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
11961 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
11962 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
11965 const_cast<OctaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
11974 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
11997 VoxelFunc &vf, OutsideFunc &of)
11999 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
12005 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
12011 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
12026 const int T = (attr.
_dt ? attr.
_t : 1);
12028 for (
int l = 0; l < T; ++l)
12029 for (
int k = 0; k < attr.
_z; ++k)
12030 for (
int j = 0; j < attr.
_y; ++j)
12031 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
12032 if (Domain::IsInside(im8, i, j, k, l, p8)) {
12035 const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
12036 }
else const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
12052 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
12053 if (Domain::IsInside(im8, idx, p8)) {
12064 const int bi = re.cols().begin();
12065 const int bj = re.rows().begin();
12066 const int ei = re.cols().end();
12067 const int ej = re.rows().end();
12069 const int s1 = im8.
GetX() - (ei - bi);
12080 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
12081 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
12082 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
12085 const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
12086 }
else const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
12093 const int bi = re.cols ().begin();
12094 const int bj = re.rows ().begin();
12095 const int bk = re.pages().begin();
12096 const int ei = re.cols ().end();
12097 const int ej = re.rows ().end();
12098 const int ek = re.pages().end();
12100 const int s1 = im8.
GetX() - (ei - bi);
12101 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
12112 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
12113 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
12114 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
12115 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
12118 const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
12119 }
else const_cast<OctaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
12133 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12136 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12139 vf.join(body._VoxelFunc);
12143 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12146 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12147 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12151 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12155 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12157 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12160 vf.join(body._VoxelFunc);
12165 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12168 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12169 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12173 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12176 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12182 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12185 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12186 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12190 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12193 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12199 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12202 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12203 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12207 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12210 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12216 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12219 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12220 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12224 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12227 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12233 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12236 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12237 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12245 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12248 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12251 vf.join(body._VoxelFunc);
12255 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12258 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12259 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12263 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12267 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12269 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12272 vf.join(body._VoxelFunc);
12277 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12280 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12281 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12285 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12288 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12294 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12297 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12298 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12302 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12305 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12311 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12314 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12315 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12319 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12322 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12328 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12331 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12332 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12336 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12339 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12345 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12348 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12349 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12361 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12364 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12367 vf.join(body._VoxelFunc);
12368 of.join(body._OutsideFunc);
12372 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12375 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12376 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12380 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12384 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12388 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12391 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12392 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12396 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12400 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12402 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12405 vf.join(body._VoxelFunc);
12406 of.join(body._OutsideFunc);
12411 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12414 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12415 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12419 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12423 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12427 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12430 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12431 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12435 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12436 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
12438 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12445 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12446 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
12448 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12449 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12453 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12457 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12461 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12464 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12465 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12469 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12470 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
12472 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12479 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12480 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
12482 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12483 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12487 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12488 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
12490 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12497 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12498 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
12500 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12501 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12505 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12509 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12513 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12516 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12517 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12521 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12522 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
12524 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12531 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12532 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
12534 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12535 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12539 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12543 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
12547 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12550 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12551 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12559 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12562 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12565 vf.join(body._VoxelFunc);
12566 of.join(body._OutsideFunc);
12570 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12573 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12574 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12578 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12582 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12586 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12589 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12590 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12594 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12598 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12600 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12603 vf.join(body._VoxelFunc);
12604 of.join(body._OutsideFunc);
12609 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12612 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12613 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12617 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12621 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12625 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12628 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12629 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12633 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12634 void ForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
12636 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12643 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12644 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
12646 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12647 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12651 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12655 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12659 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12662 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12663 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12667 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12668 void ForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
12670 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12677 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12678 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
12680 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12681 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12686 void ForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
12688 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12695 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12696 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
12698 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12699 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12703 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12707 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12711 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12714 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12715 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12719 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12720 void ForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
12722 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12729 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
12730 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
12732 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12733 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12737 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12741 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
12745 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12748 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12749 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12761 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12764 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12771 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12774 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12775 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12779 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12783 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12785 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12793 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12796 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12797 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12801 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12804 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12806 if (VoxelFunc::IsReduction()) {
12823 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12826 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12827 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12831 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12834 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12840 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12843 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12844 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12848 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12851 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12857 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12860 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12861 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12865 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12868 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12874 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12877 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12878 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
12886 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12889 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12896 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12899 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12900 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12904 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12908 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12910 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12918 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12921 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12922 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12926 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12929 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12931 if (VoxelFunc::IsReduction()) {
12948 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12951 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12952 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12956 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12959 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12965 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12968 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12969 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12973 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12976 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12982 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12985 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
12986 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
12990 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
12993 OctaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
12999 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13002 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13003 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13015 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13018 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13020 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13030 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13033 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13034 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13038 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13042 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13046 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13049 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13050 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13054 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13058 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13060 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13062 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13073 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13076 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13077 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13081 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13085 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13089 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13092 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13093 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13097 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13098 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
13100 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13102 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13120 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13121 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
13123 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13124 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13128 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13132 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13136 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13139 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13140 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13144 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13145 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
13147 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13148 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13158 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13159 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
13161 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13162 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13166 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13170 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13174 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13177 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13178 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13182 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13183 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
13185 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13186 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13196 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13197 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
13199 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13200 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13204 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13208 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13212 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13215 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13216 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13220 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13221 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
13223 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13224 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13234 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13235 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
13237 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13238 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13242 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13246 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
13250 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13253 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13254 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13262 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13265 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13267 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13277 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13280 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13281 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13285 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13289 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13293 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13296 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13297 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13301 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13305 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13307 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13309 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13320 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13323 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13324 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13328 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13332 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13336 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13339 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13340 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13344 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13345 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
13347 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13349 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13367 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13368 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
13370 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13371 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13375 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13379 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13383 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13386 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13387 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13392 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
13394 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13395 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13405 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13406 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
13408 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13409 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13413 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13417 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13421 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13424 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13425 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13429 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13430 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
13432 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13433 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13444 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
13446 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13447 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13455 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13459 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13462 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13463 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13467 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13468 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
13470 OctaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13471 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13481 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
13482 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
const GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
13484 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13485 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13489 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13493 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
13497 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13500 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13501 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13512 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13535 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
13541 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
13547 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
13562 const int T = (attr.
_dt ? attr.
_t : 1);
13564 for (
int l = 0; l < T; ++l)
13565 for (
int k = 0; k < attr.
_z; ++k)
13566 for (
int j = 0; j < attr.
_y; ++j)
13567 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
13570 const_cast<OctaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
13586 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13596 const int bi = re.cols().begin();
13597 const int bj = re.rows().begin();
13598 const int ei = re.cols().end();
13599 const int ej = re.rows().end();
13601 const int s1 = im8.
GetX() - (ei - bi);
13612 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
13613 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13616 const_cast<OctaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13623 const int bi = re.cols ().begin();
13624 const int bj = re.rows ().begin();
13625 const int bk = re.pages().begin();
13626 const int ei = re.cols ().end();
13627 const int ej = re.rows ().end();
13628 const int ek = re.pages().end();
13630 const int s1 = im8.
GetX() - (ei - bi);
13631 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
13642 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
13643 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
13644 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13647 const_cast<OctaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13656 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
13679 VoxelFunc &vf, OutsideFunc &of)
13681 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7), im8(im8)
13687 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
13693 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7), im8(o.im8)
13708 const int T = (attr.
_dt ? attr.
_t : 1);
13710 for (
int l = 0; l < T; ++l)
13711 for (
int k = 0; k < attr.
_z; ++k)
13712 for (
int j = 0; j < attr.
_y; ++j)
13713 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7, ++p8) {
13714 if (Domain::IsInside(im8, i, j, k, l, p8)) {
13717 const_cast<OctaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
13718 }
else const_cast<OctaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7, p8);
13734 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13735 if (Domain::IsInside(im8, idx, p8)) {
13746 const int bi = re.cols().begin();
13747 const int bj = re.rows().begin();
13748 const int ei = re.cols().end();
13749 const int ej = re.rows().end();
13751 const int s1 = im8.
GetX() - (ei - bi);
13762 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
13763 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13764 if (Domain::IsInside(im8, i, j, this->_k, this->
_l, p8)) {
13767 const_cast<OctaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13768 }
else const_cast<OctaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13775 const int bi = re.cols ().begin();
13776 const int bj = re.rows ().begin();
13777 const int bk = re.pages().begin();
13778 const int ei = re.cols ().end();
13779 const int ej = re.rows ().end();
13780 const int ek = re.pages().end();
13782 const int s1 = im8.
GetX() - (ei - bi);
13783 const int s2 = (im8.
GetY() - (ej - bj)) * im8.
GetX();
13794 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2, p8 += s2)
13795 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1, p8 += s1)
13796 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1, p8 += 1) {
13797 if (Domain::IsInside(im8, i, j, k, this->
_l, p8)) {
13800 const_cast<OctaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13801 }
else const_cast<OctaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7, p8);
13815 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13818 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13821 vf.join(body._VoxelFunc);
13825 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13828 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13829 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13833 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13837 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13839 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13842 vf.join(body._VoxelFunc);
13847 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13850 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13851 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13855 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13858 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13864 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13867 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13868 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13872 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13875 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13881 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13884 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13885 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13889 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13892 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13898 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13901 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13902 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13906 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13909 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13915 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13918 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13919 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
13927 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13930 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13933 vf.join(body._VoxelFunc);
13937 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13940 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13941 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13945 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13949 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13951 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13954 vf.join(body._VoxelFunc);
13959 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13962 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13963 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13967 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13970 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13976 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13979 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13980 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
13984 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13987 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
13993 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
13996 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
13997 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14001 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14004 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14010 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14013 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14014 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14018 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14021 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14027 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14030 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14031 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14043 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14046 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14049 vf.join(body._VoxelFunc);
14050 of.join(body._OutsideFunc);
14054 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14057 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14058 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14062 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14066 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14070 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14073 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14074 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14078 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14082 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14084 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14087 vf.join(body._VoxelFunc);
14088 of.join(body._OutsideFunc);
14093 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14096 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14097 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14101 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14105 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14109 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14112 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14113 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14117 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14118 void ForEachVoxelIf(
const ImageAttributes &attr,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14120 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14127 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14128 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14130 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14131 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14135 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14139 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14143 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14146 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14147 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14151 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14152 void ForEachVoxelIf(
const blocked_range<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14154 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14161 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14162 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14164 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14165 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14169 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14170 void ForEachVoxelIf(
const blocked_range2d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14172 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14179 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14180 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14182 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14183 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14187 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14191 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14198 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14199 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14203 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14204 void ForEachVoxelIf(
const blocked_range3d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14206 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14213 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14214 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14216 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14217 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14221 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14225 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14229 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14232 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14233 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14241 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14244 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14247 vf.join(body._VoxelFunc);
14248 of.join(body._OutsideFunc);
14252 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14255 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14256 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14260 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14264 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14268 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14271 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14272 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14276 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14280 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14282 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14285 vf.join(body._VoxelFunc);
14286 of.join(body._OutsideFunc);
14291 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14294 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14295 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14303 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14307 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14310 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14311 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14316 void ForEachVoxelIf(
const ImageAttributes &attr,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
14318 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14325 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14326 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
14328 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14329 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14333 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14337 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14341 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14344 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14345 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14349 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14350 void ForEachVoxelIf(
const blocked_range<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
14352 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14359 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14360 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
14362 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14363 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14367 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14368 void ForEachVoxelIf(
const blocked_range2d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
14370 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14377 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14378 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
14380 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14381 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14385 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14389 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14393 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14396 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14397 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14401 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14402 void ForEachVoxelIf(
const blocked_range3d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
14404 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14411 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14412 void ForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
14414 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14415 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14419 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14423 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14427 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14430 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14431 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14443 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14446 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14453 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14456 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14457 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14461 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14465 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14467 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14475 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14478 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14479 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14483 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14486 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14488 if (VoxelFunc::IsReduction()) {
14505 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14508 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14509 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14513 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14516 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14522 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14525 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14526 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14530 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14533 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14539 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14542 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14543 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14547 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14550 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14556 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14559 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14560 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14568 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14571 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14578 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14581 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14582 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14586 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14590 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14592 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14600 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14603 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14604 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14608 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14611 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14613 if (VoxelFunc::IsReduction()) {
14630 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14633 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14634 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14638 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14641 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14647 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14650 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14651 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14655 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14658 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14664 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14667 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14668 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14672 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14675 OctaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14681 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14684 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14685 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
14697 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14700 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14702 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14712 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14715 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14716 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14720 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14724 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14728 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14731 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14732 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14736 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14740 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14742 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14744 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14755 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14758 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14759 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14763 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14767 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14771 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14774 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14775 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14779 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14780 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14782 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14784 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14802 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14803 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14805 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14806 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14810 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14814 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14818 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14821 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14822 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14826 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14827 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14829 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14830 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14840 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14841 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14843 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14844 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14848 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14852 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14856 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14859 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14860 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14864 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14865 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14867 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14868 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14878 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14879 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14881 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14882 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14886 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14890 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14894 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14897 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14898 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14902 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14903 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8, VoxelFunc &vf, OutsideFunc &of)
14905 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14906 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14916 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14917 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
GenericImage<T1> *im1,
GenericImage<T2> *im2,
GenericImage<T3> *im3,
GenericImage<T4> *im4,
GenericImage<T5> *im5,
GenericImage<T6> *im6,
GenericImage<T7> *im7,
GenericImage<T8> *im8)
14919 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14920 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14924 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14928 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf, of);
14932 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14935 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14936 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, *im8, vf);
14944 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14947 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14949 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
14959 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14962 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14963 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14967 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14971 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14975 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
14978 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
14979 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
14983 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
14987 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14989 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
14991 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
15002 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15005 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15006 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15010 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15014 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15018 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15021 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15022 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, im8, vf);
15026 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15027 void ParallelForEachVoxelIf(
const ImageAttributes &attr,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
15029 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15031 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
15049 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15050 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const ImageAttributes &attr,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
15052 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15053 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15057 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15061 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15065 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15068 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15069 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, im8, vf);
15073 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15074 void ParallelForEachVoxelIf(
const blocked_range<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
15076 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15077 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
15087 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15088 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
15090 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15091 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15095 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15099 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15103 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15106 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15107 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
15111 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15112 void ParallelForEachVoxelIf(
const blocked_range2d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
15114 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15115 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
15125 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15126 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range2d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
15128 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15129 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15133 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15137 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15141 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15144 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15145 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
15149 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15150 void ParallelForEachVoxelIf(
const blocked_range3d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8, VoxelFunc &vf, OutsideFunc &of)
15152 OctaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, T8, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15153 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
15163 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc,
class Outs
ideFunc>
15164 void ParallelForEachVoxelIf(VoxelFunc vf, OutsideFunc of,
const blocked_range3d<int> &re,
GenericImage<T1> &im1,
GenericImage<T2> &im2,
GenericImage<T3> &im3,
GenericImage<T4> &im4,
GenericImage<T5> &im5,
GenericImage<T6> &im6,
GenericImage<T7> &im7,
GenericImage<T8> &im8)
15166 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15167 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15171 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15175 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf, of);
15179 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class T8,
class VoxelFunc>
15182 if (VoxelFunc::IsReduction()) _foreachoctaryvoxelfunction_must_not_be_reduction();
15183 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, im8, vf);
OctaryForEachVoxelBody_2Const(const OctaryForEachVoxelBody_2Const &o)
Copy constructor.
double _dt
Voxel t-dimensions (in ms)
OctaryForEachVoxelIfBody_Const(const OctaryForEachVoxelIfBody_Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_5Const(OctaryForEachVoxelIfBody_5Const &o, split s)
Split constructor.
Dummy type used to distinguish split constructor from copy constructor.
OctaryForEachVoxelIfBody_2Const(const OctaryForEachVoxelIfBody_2Const &o)
Copy constructor.
OctaryForEachVoxelBody_6Const(OctaryForEachVoxelBody_6Const &o, split s)
Split constructor.
OctaryForEachVoxelIfBody_6Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OctaryForEachVoxelBody_6Const(const OctaryForEachVoxelBody_6Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OctaryForEachVoxelBody_4Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelBody_4Const(const OctaryForEachVoxelBody_4Const &o)
Copy constructor.
bool IsEmpty() const
Whether image is uninitialized.
OctaryForEachVoxelIfBody_Const(OctaryForEachVoxelIfBody_Const &o, split s)
Split constructor.
OctaryForEachVoxelBody_5Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelBody(const OctaryForEachVoxelBody &o)
Copy constructor.
OctaryForEachVoxelIfBody_6Const(OctaryForEachVoxelIfBody_6Const &o, split s)
Split constructor.
OctaryForEachVoxelBody_1Const(OctaryForEachVoxelBody_1Const &o, split s)
Split constructor.
int _y
Image y-dimension (in voxels)
OctaryForEachVoxelIfBody_4Const(OctaryForEachVoxelIfBody_4Const &o, split s)
Split constructor.
OctaryForEachVoxelIfBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
void operator()(const ImageAttributes &attr) const
Process entire image.
OctaryForEachVoxelBody_7Const(const OctaryForEachVoxelBody_7Const &o)
Copy constructor.
VoxelFunc _VoxelFunc
Functor executed for each voxel.
OctaryForEachVoxelIfBody(const OctaryForEachVoxelIfBody &o)
Copy constructor.
OctaryForEachVoxelBody_7Const(OctaryForEachVoxelBody_7Const &o, split s)
Split constructor.
OctaryForEachVoxelBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelBody_Const(const OctaryForEachVoxelBody_Const &o)
Copy constructor.
OctaryForEachVoxelBody_3Const(OctaryForEachVoxelBody_3Const &o, split s)
Split constructor.
VoxelType * GetPointerToVoxels(int=0, int=0, int=0, int=0)
int GetX() const
Returns the number of voxels in the x-direction.
OctaryForEachVoxelIfBody_6Const(const OctaryForEachVoxelIfBody_6Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_3Const(OctaryForEachVoxelIfBody_3Const &o, split s)
Split constructor.
int _z
Image z-dimension (in voxels)
int _l
Indices for fixed dimensions.
OctaryForEachVoxelBody_7Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, const GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
int _t
Image t-dimension (in voxels)
OctaryForEachVoxelBody_3Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelIfBody_4Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
int GetT() const
Returns the number of voxels in the t-direction.
OctaryForEachVoxelIfBody_5Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
int GetY() const
Returns the number of voxels in the y-direction.
OctaryForEachVoxelBody_Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, const GenericImage< T7 > &im7, const GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelBody_Const(OctaryForEachVoxelBody_Const &o, split s)
Split constructor.
OctaryForEachVoxelBody_2Const(OctaryForEachVoxelBody_2Const &o, split s)
Split constructor.
OctaryForEachVoxelBody_4Const(OctaryForEachVoxelBody_4Const &o, split s)
Split constructor.
int GetNumberOfVoxels() const
OctaryForEachVoxelBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelIfBody_1Const(const OctaryForEachVoxelIfBody_1Const &o)
Copy constructor.
OctaryForEachVoxelBody_5Const(const OctaryForEachVoxelBody_5Const &o)
Copy constructor.
OutsideFunc _OutsideFunc
Functor executed for each background voxel.
OctaryForEachVoxelIfBody_7Const(OctaryForEachVoxelIfBody_7Const &o, split s)
Split constructor.
OctaryForEachVoxelBody(OctaryForEachVoxelBody &o, split s)
Split constructor.
OctaryForEachVoxelIfBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OctaryForEachVoxelIfBody_4Const(const OctaryForEachVoxelIfBody_4Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_5Const(const OctaryForEachVoxelIfBody_5Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_2Const(OctaryForEachVoxelIfBody_2Const &o, split s)
Split constructor.
OctaryForEachVoxelBody_1Const(const OctaryForEachVoxelBody_1Const &o)
Copy constructor.
double GetTSize() const
Returns the size of a voxel in the t-direction.
OctaryForEachVoxelBody_5Const(OctaryForEachVoxelBody_5Const &o, split s)
Split constructor.
OctaryForEachVoxelIfBody(OctaryForEachVoxelIfBody &o, split s)
Split constructor.
int _x
Image x-dimension (in voxels)
OctaryForEachVoxelBody_3Const(const OctaryForEachVoxelBody_3Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, const GenericImage< T7 > &im7, const GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
void parallel_reduce(const Range &range, Body &body)
parallel_reduce dummy template function which executes the body serially
OctaryForEachVoxelIfBody_3Const(const OctaryForEachVoxelIfBody_3Const &o)
Copy constructor.
OctaryForEachVoxelIfBody_7Const(const OctaryForEachVoxelIfBody_7Const &o)
Copy constructor.
OctaryForEachVoxelBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
OctaryForEachVoxelIfBody_1Const(OctaryForEachVoxelIfBody_1Const &o, split s)
Split constructor.
OctaryForEachVoxelIfBody_7Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, const GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OctaryForEachVoxelIfBody_3Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OctaryForEachVoxelBody_6Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, const GenericImage< T6 > &im6, GenericImage< T7 > &im7, GenericImage< T8 > &im8, VoxelFunc &vf)
Constructor.
void parallel_for(const Range &range, const Body &body)
parallel_for dummy template function which executes the body serially