30 #ifndef MIRTK_ForEachSeptenaryVoxelFunction_H 31 #define MIRTK_ForEachSeptenaryVoxelFunction_H 33 #include "mirtk/Stream.h" 34 #include "mirtk/VoxelFunction.h" 40 inline void _foreachseptenaryvoxelfunction_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 VoxelFunc>
77 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
83 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
89 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)
103 const int T = (attr.
_dt ? attr.
_t : 1);
105 for (
int l = 0; l < T; ++l)
106 for (
int k = 0; k < attr.
_z; ++k)
107 for (
int j = 0; j < attr.
_y; ++j)
108 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
111 const_cast<SeptenaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
126 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
136 const int bi = re.cols().begin();
137 const int bj = re.rows().begin();
138 const int ei = re.cols().end();
139 const int ej = re.rows().end();
141 const int s1 = im7.
GetX() - (ei - bi);
151 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
152 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
155 const_cast<SeptenaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
162 const int bi = re.cols ().begin();
163 const int bj = re.rows ().begin();
164 const int bk = re.pages().begin();
165 const int ei = re.cols ().end();
166 const int ej = re.rows ().end();
167 const int ek = re.pages().end();
169 const int s1 = im7.
GetX() - (ei - bi);
170 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
180 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
181 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
182 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
185 const_cast<SeptenaryForEachVoxelBody_Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
194 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
215 VoxelFunc &vf, OutsideFunc &of)
217 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
223 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)
229 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)
243 const int T = (attr.
_dt ? attr.
_t : 1);
245 for (
int l = 0; l < T; ++l)
246 for (
int k = 0; k < attr.
_z; ++k)
247 for (
int j = 0; j < attr.
_y; ++j)
248 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
249 if (Domain::IsInside(im7, i, j, k, l, p7)) {
252 const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
253 }
else const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
268 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
269 if (Domain::IsInside(im7, idx, p7)) {
280 const int bi = re.cols().begin();
281 const int bj = re.rows().begin();
282 const int ei = re.cols().end();
283 const int ej = re.rows().end();
285 const int s1 = im7.
GetX() - (ei - bi);
295 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
296 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
297 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
300 const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
301 }
else const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
308 const int bi = re.cols ().begin();
309 const int bj = re.rows ().begin();
310 const int bk = re.pages().begin();
311 const int ei = re.cols ().end();
312 const int ej = re.rows ().end();
313 const int ek = re.pages().end();
315 const int s1 = im7.
GetX() - (ei - bi);
316 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
326 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
327 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
328 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
329 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
332 const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
333 }
else const_cast<SeptenaryForEachVoxelIfBody_Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
347 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
350 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
353 vf.join(body._VoxelFunc);
357 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
360 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
361 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
365 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
369 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
371 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
374 vf.join(body._VoxelFunc);
379 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
382 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
383 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
387 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
390 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
396 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
399 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
400 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
404 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
407 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
413 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
416 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
417 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
421 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
424 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
430 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
433 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
434 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
438 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
441 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
447 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
450 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
451 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
459 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
462 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
465 vf.join(body._VoxelFunc);
469 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
472 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
473 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
477 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
481 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
483 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
486 vf.join(body._VoxelFunc);
491 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
494 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
495 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
499 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
502 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
508 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
511 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
512 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
516 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
519 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
525 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
528 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
529 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
533 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
536 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
542 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
545 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
546 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
550 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
553 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
559 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
562 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
563 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
575 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
578 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
581 vf.join(body._VoxelFunc);
582 of.join(body._OutsideFunc);
586 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
589 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
590 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
594 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
598 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
602 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
605 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
606 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
610 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
614 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
616 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
619 vf.join(body._VoxelFunc);
620 of.join(body._OutsideFunc);
625 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
628 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
629 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
633 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
637 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
641 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
644 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
645 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
649 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
652 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
659 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
662 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
663 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
667 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
671 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
675 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
678 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
679 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
683 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
686 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
696 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
697 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
701 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
704 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
711 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
714 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
715 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
719 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
723 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
727 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
730 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
731 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
735 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
738 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
745 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
748 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
749 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
753 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
757 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
761 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
764 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
765 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
773 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
776 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
779 vf.join(body._VoxelFunc);
780 of.join(body._OutsideFunc);
784 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
787 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
788 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
792 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
796 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
800 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
803 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
804 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
808 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
812 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
814 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
817 vf.join(body._VoxelFunc);
818 of.join(body._OutsideFunc);
823 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
826 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
827 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
831 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
835 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
839 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
842 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
843 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
847 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
850 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
857 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
860 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
861 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
865 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
869 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
873 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
876 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
877 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
881 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
884 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
891 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
894 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
895 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
899 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
902 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
909 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
912 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
913 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
917 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
921 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
925 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
928 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
929 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
933 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
936 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
943 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
946 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
947 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
951 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
955 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
959 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
962 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
963 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
975 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
978 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
985 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
988 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
989 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
993 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
997 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
999 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1007 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1010 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1011 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1015 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1018 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1020 if (VoxelFunc::IsReduction()) {
1037 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1040 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1041 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1045 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1048 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1054 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1057 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1058 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1062 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1065 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1071 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1074 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1075 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1079 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1082 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1088 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1091 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1092 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1100 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1103 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1110 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1113 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1114 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
1118 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1122 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
1124 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1132 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1135 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1136 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
1140 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1143 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1145 if (VoxelFunc::IsReduction()) {
1162 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1165 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1166 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
1170 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1173 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1179 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1182 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1183 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
1187 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1190 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1196 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1199 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1200 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
1204 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1207 SeptenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
1213 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1216 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1217 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
1229 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1232 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1234 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1244 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1247 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1248 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1252 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1256 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1260 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1263 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1264 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1268 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1272 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1274 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1276 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1290 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1291 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1299 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1303 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1306 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1307 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1311 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1314 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1316 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1334 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1337 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1338 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1342 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1346 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1350 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1353 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1354 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1358 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1361 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1362 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1372 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1375 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1376 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1380 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1384 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1388 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1391 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1392 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1396 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1399 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1400 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1410 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1413 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1414 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1418 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1422 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1426 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1429 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1430 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1434 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1437 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1438 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1448 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1451 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1452 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1456 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1460 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
1464 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1467 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1468 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
1476 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1479 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1481 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1491 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1494 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1495 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
1499 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1503 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
1507 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1510 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1511 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
1515 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1519 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
1521 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1523 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1534 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1537 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1538 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
1542 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1546 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
1550 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1553 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1554 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
1558 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1561 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1563 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1581 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1584 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1585 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
1589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1593 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
1597 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1600 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1601 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
1605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1608 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1609 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1619 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1622 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1623 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1627 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1631 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1635 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1638 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1639 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
1643 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1646 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1647 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1657 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1660 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1661 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1665 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1669 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1673 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1676 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1677 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
1681 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1684 SeptenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
1685 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1695 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
1698 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1699 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1703 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1707 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
1711 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1714 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
1715 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
1726 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
1747 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
1753 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
1759 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)
1773 const int T = (attr.
_dt ? attr.
_t : 1);
1775 for (
int l = 0; l < T; ++l)
1776 for (
int k = 0; k < attr.
_z; ++k)
1777 for (
int j = 0; j < attr.
_y; ++j)
1778 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
1781 const_cast<SeptenaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
1796 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1806 const int bi = re.cols().begin();
1807 const int bj = re.rows().begin();
1808 const int ei = re.cols().end();
1809 const int ej = re.rows().end();
1811 const int s1 = im7.
GetX() - (ei - bi);
1821 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
1822 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1825 const_cast<SeptenaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
1832 const int bi = re.cols ().begin();
1833 const int bj = re.rows ().begin();
1834 const int bk = re.pages().begin();
1835 const int ei = re.cols ().end();
1836 const int ej = re.rows ().end();
1837 const int ek = re.pages().end();
1839 const int s1 = im7.
GetX() - (ei - bi);
1840 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
1850 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
1851 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
1852 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1855 const_cast<SeptenaryForEachVoxelBody_6Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
1864 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
1885 VoxelFunc &vf, OutsideFunc &of)
1887 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
1893 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)
1899 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)
1913 const int T = (attr.
_dt ? attr.
_t : 1);
1915 for (
int l = 0; l < T; ++l)
1916 for (
int k = 0; k < attr.
_z; ++k)
1917 for (
int j = 0; j < attr.
_y; ++j)
1918 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
1919 if (Domain::IsInside(im7, i, j, k, l, p7)) {
1922 const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
1923 }
else const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
1938 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1939 if (Domain::IsInside(im7, idx, p7)) {
1950 const int bi = re.cols().begin();
1951 const int bj = re.rows().begin();
1952 const int ei = re.cols().end();
1953 const int ej = re.rows().end();
1955 const int s1 = im7.
GetX() - (ei - bi);
1965 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
1966 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1967 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
1970 const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
1971 }
else const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
1978 const int bi = re.cols ().begin();
1979 const int bj = re.rows ().begin();
1980 const int bk = re.pages().begin();
1981 const int ei = re.cols ().end();
1982 const int ej = re.rows ().end();
1983 const int ek = re.pages().end();
1985 const int s1 = im7.
GetX() - (ei - bi);
1986 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
1996 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
1997 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
1998 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
1999 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
2002 const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
2003 }
else const_cast<SeptenaryForEachVoxelIfBody_6Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
2017 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2020 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2023 vf.join(body._VoxelFunc);
2027 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2030 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2031 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2035 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2039 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2041 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2044 vf.join(body._VoxelFunc);
2049 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2052 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2053 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2057 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2060 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2066 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2069 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2070 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2074 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2077 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2083 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2086 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2087 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2091 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2094 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2100 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2103 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2104 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2108 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2111 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2117 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2120 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2121 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2129 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2132 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2135 vf.join(body._VoxelFunc);
2139 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2142 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2143 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
2147 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2151 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
2153 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2156 vf.join(body._VoxelFunc);
2161 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2164 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2165 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
2169 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2172 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2178 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2181 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2182 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
2186 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2189 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2195 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2198 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2199 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2203 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2206 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2212 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2215 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2216 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2220 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2223 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2229 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2232 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2233 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2245 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2248 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2251 vf.join(body._VoxelFunc);
2252 of.join(body._OutsideFunc);
2256 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2259 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2260 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2264 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2268 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2272 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2275 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2276 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2280 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2284 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2286 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2289 vf.join(body._VoxelFunc);
2290 of.join(body._OutsideFunc);
2295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2298 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2299 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2303 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2307 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2311 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2314 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2315 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2319 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2322 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2329 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2332 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2333 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2337 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2341 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2345 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2348 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2349 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2353 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2356 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2363 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2366 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2367 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2371 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2374 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2384 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2385 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2389 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2393 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2397 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2400 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2401 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2405 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2408 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2415 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2418 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2419 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2423 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2427 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2431 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2434 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2435 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2446 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2449 vf.join(body._VoxelFunc);
2450 of.join(body._OutsideFunc);
2454 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2457 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2458 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
2462 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2466 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
2470 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2473 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2474 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
2478 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2482 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
2484 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2487 vf.join(body._VoxelFunc);
2488 of.join(body._OutsideFunc);
2493 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2496 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2497 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
2501 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2505 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
2509 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2512 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2513 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
2517 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2520 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2527 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2530 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2531 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
2535 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2539 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
2543 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2546 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2547 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
2551 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2554 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2561 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2564 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2565 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
2569 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2572 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2582 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2583 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
2587 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2591 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
2595 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2598 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2599 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
2603 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2606 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
2613 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2616 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2617 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
2621 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2625 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
2629 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2632 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2633 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
2645 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2648 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2655 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2658 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2659 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2663 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2667 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2669 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2677 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2680 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2681 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2685 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2688 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2690 if (VoxelFunc::IsReduction()) {
2707 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2710 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2711 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2715 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2718 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2724 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2727 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2728 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2732 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2735 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2741 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2744 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2745 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2749 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2752 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2758 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2761 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2762 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2770 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2773 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2780 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2783 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2784 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
2788 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2792 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
2794 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2802 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2805 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2806 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
2810 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2813 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2815 if (VoxelFunc::IsReduction()) {
2832 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2835 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2836 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
2840 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2843 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2849 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2852 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2853 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2857 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2860 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2866 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2869 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2870 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2874 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2877 SeptenaryForEachVoxelBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
2883 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2886 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2887 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
2899 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2902 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2904 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2914 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2917 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2918 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2922 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2926 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2930 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2933 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2934 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2938 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2942 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2944 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2946 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2957 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2960 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2961 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2965 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2969 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2973 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
2976 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
2977 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
2981 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
2984 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
2986 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3004 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3007 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3008 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3012 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3016 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3020 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3023 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3024 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3028 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3031 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3032 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3042 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3045 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3046 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3050 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3054 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3058 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3061 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3062 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3066 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3069 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3070 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3080 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3083 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3084 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3088 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3092 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3096 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3099 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3100 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3104 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3107 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3108 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3118 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3121 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3122 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3126 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3130 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3134 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3137 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3138 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3146 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3149 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3151 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3161 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3164 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3165 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
3169 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3173 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
3177 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3180 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3181 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
3185 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3189 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
3191 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3193 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3204 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3207 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3208 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
3212 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3216 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
3220 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3223 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3224 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
3228 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3231 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3233 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3251 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3254 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3255 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
3259 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3263 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
3267 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3270 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3271 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
3275 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3278 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3279 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3289 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3292 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3293 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3297 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3301 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3305 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3308 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3309 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
3313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3316 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3317 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3327 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3330 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3331 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3335 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3339 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3343 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3346 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3347 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
3351 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3354 SeptenaryForEachVoxelIfBody_6Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
3355 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3368 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3369 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3377 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
3381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3384 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3385 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
3396 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3417 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
3423 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
3429 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)
3443 const int T = (attr.
_dt ? attr.
_t : 1);
3445 for (
int l = 0; l < T; ++l)
3446 for (
int k = 0; k < attr.
_z; ++k)
3447 for (
int j = 0; j < attr.
_y; ++j)
3448 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
3451 const_cast<SeptenaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
3466 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3476 const int bi = re.cols().begin();
3477 const int bj = re.rows().begin();
3478 const int ei = re.cols().end();
3479 const int ej = re.rows().end();
3481 const int s1 = im7.
GetX() - (ei - bi);
3491 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
3492 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3495 const_cast<SeptenaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3502 const int bi = re.cols ().begin();
3503 const int bj = re.rows ().begin();
3504 const int bk = re.pages().begin();
3505 const int ei = re.cols ().end();
3506 const int ej = re.rows ().end();
3507 const int ek = re.pages().end();
3509 const int s1 = im7.
GetX() - (ei - bi);
3510 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
3520 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
3521 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
3522 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3525 const_cast<SeptenaryForEachVoxelBody_5Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3534 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
3555 VoxelFunc &vf, OutsideFunc &of)
3557 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
3563 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)
3569 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)
3583 const int T = (attr.
_dt ? attr.
_t : 1);
3585 for (
int l = 0; l < T; ++l)
3586 for (
int k = 0; k < attr.
_z; ++k)
3587 for (
int j = 0; j < attr.
_y; ++j)
3588 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
3589 if (Domain::IsInside(im7, i, j, k, l, p7)) {
3592 const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
3593 }
else const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
3608 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3609 if (Domain::IsInside(im7, idx, p7)) {
3620 const int bi = re.cols().begin();
3621 const int bj = re.rows().begin();
3622 const int ei = re.cols().end();
3623 const int ej = re.rows().end();
3625 const int s1 = im7.
GetX() - (ei - bi);
3635 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
3636 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3637 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
3640 const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3641 }
else const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3648 const int bi = re.cols ().begin();
3649 const int bj = re.rows ().begin();
3650 const int bk = re.pages().begin();
3651 const int ei = re.cols ().end();
3652 const int ej = re.rows ().end();
3653 const int ek = re.pages().end();
3655 const int s1 = im7.
GetX() - (ei - bi);
3656 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
3666 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
3667 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
3668 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
3669 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
3672 const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3673 }
else const_cast<SeptenaryForEachVoxelIfBody_5Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
3687 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3690 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3693 vf.join(body._VoxelFunc);
3697 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3700 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3701 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3705 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3709 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3711 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3714 vf.join(body._VoxelFunc);
3719 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3722 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3723 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3727 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3730 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3736 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3739 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3740 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3744 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3747 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3753 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3756 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3757 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3761 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3764 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3770 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3773 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3774 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3778 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3781 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3787 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3790 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3791 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3799 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3802 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3805 vf.join(body._VoxelFunc);
3809 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3812 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3813 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
3817 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3821 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
3823 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3826 vf.join(body._VoxelFunc);
3831 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3834 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3835 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
3839 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3842 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3848 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3851 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3852 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
3856 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3859 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3865 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3868 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3869 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
3873 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3876 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3882 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3885 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3886 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
3890 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3893 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
3899 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3902 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3903 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
3915 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3918 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3921 vf.join(body._VoxelFunc);
3922 of.join(body._OutsideFunc);
3926 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3929 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3930 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3934 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3938 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3942 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3945 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3946 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3950 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3954 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3956 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3959 vf.join(body._VoxelFunc);
3960 of.join(body._OutsideFunc);
3965 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3968 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3969 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3973 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3977 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3981 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
3984 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
3985 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
3989 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
3992 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
3999 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4002 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4003 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4007 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4011 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4015 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4018 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4019 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4023 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4026 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4033 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4036 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4037 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4041 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4044 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4054 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4055 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4059 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4063 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4067 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4070 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4071 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4075 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4078 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4085 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4088 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4089 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4093 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4097 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4101 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4104 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4105 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4113 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4116 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4119 vf.join(body._VoxelFunc);
4120 of.join(body._OutsideFunc);
4124 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4127 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4128 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4132 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4136 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4140 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4143 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4144 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
4148 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4152 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4154 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4157 vf.join(body._VoxelFunc);
4158 of.join(body._OutsideFunc);
4163 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4166 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4167 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4171 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4175 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4179 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4182 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4183 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
4187 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4190 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4197 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4200 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4201 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
4205 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4209 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
4213 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4216 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4217 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
4221 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4224 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4231 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4234 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4235 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4239 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4242 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4249 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4252 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4253 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4257 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4261 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4265 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4268 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4269 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
4273 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4276 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4283 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4286 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4287 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4291 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4295 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4302 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4303 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
4315 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4318 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4325 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4328 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4329 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4333 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4337 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4339 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4347 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4350 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4351 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4355 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4358 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4360 if (VoxelFunc::IsReduction()) {
4377 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4380 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4381 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4385 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4388 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4394 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4397 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4398 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4402 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4405 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4411 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4414 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4415 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4419 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4422 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4428 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4431 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4432 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4440 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4443 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4450 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4453 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4454 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
4458 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4462 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
4464 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4472 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4475 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4476 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
4480 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4483 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4485 if (VoxelFunc::IsReduction()) {
4502 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4505 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4506 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
4510 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4513 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4519 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4522 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4523 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
4527 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4530 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4536 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4539 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4540 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
4544 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4547 SeptenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
4553 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4556 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4557 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
4569 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4572 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4574 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4584 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4587 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4588 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4592 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4596 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4600 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4603 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4604 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4608 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4612 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4614 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4616 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4627 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4630 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4631 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4635 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4639 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4643 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4646 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4647 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4651 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4654 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4656 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4674 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4677 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4678 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4682 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4686 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4690 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4693 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4694 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4698 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4701 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4702 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4712 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4715 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4716 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4720 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4724 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4728 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4731 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4732 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4736 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4739 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4740 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4750 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4753 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4754 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4758 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4762 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4766 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4769 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4770 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4774 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4777 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4778 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4788 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4791 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4792 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4796 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4800 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
4804 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4807 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4808 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
4816 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4819 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4821 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4831 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4834 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4835 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4839 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4843 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4847 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4850 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4851 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
4855 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4859 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4861 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4863 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4874 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4877 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4878 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4882 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4886 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
4890 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4893 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4894 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
4898 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4901 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4903 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4924 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4925 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
4929 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4933 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
4937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4940 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4941 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
4945 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4948 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4949 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4959 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4962 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4963 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4967 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4971 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
4975 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
4978 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
4979 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
4983 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
4986 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
4987 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4997 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5000 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5001 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5005 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5009 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5013 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5016 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5017 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
5021 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5024 SeptenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5025 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
5035 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5038 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5039 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5043 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5047 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5054 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5055 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
5066 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5087 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
5093 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
5099 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)
5113 const int T = (attr.
_dt ? attr.
_t : 1);
5115 for (
int l = 0; l < T; ++l)
5116 for (
int k = 0; k < attr.
_z; ++k)
5117 for (
int j = 0; j < attr.
_y; ++j)
5118 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
5121 const_cast<SeptenaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
5136 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5146 const int bi = re.cols().begin();
5147 const int bj = re.rows().begin();
5148 const int ei = re.cols().end();
5149 const int ej = re.rows().end();
5151 const int s1 = im7.
GetX() - (ei - bi);
5161 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
5162 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5165 const_cast<SeptenaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5172 const int bi = re.cols ().begin();
5173 const int bj = re.rows ().begin();
5174 const int bk = re.pages().begin();
5175 const int ei = re.cols ().end();
5176 const int ej = re.rows ().end();
5177 const int ek = re.pages().end();
5179 const int s1 = im7.
GetX() - (ei - bi);
5180 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
5190 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
5191 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
5192 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5195 const_cast<SeptenaryForEachVoxelBody_4Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5204 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
5225 VoxelFunc &vf, OutsideFunc &of)
5227 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
5233 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)
5239 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)
5253 const int T = (attr.
_dt ? attr.
_t : 1);
5255 for (
int l = 0; l < T; ++l)
5256 for (
int k = 0; k < attr.
_z; ++k)
5257 for (
int j = 0; j < attr.
_y; ++j)
5258 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
5259 if (Domain::IsInside(im7, i, j, k, l, p7)) {
5262 const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
5263 }
else const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
5278 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5279 if (Domain::IsInside(im7, idx, p7)) {
5290 const int bi = re.cols().begin();
5291 const int bj = re.rows().begin();
5292 const int ei = re.cols().end();
5293 const int ej = re.rows().end();
5295 const int s1 = im7.
GetX() - (ei - bi);
5305 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
5306 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5307 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
5310 const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5311 }
else const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5318 const int bi = re.cols ().begin();
5319 const int bj = re.rows ().begin();
5320 const int bk = re.pages().begin();
5321 const int ei = re.cols ().end();
5322 const int ej = re.rows ().end();
5323 const int ek = re.pages().end();
5325 const int s1 = im7.
GetX() - (ei - bi);
5326 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
5336 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
5337 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
5338 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
5339 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
5342 const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5343 }
else const_cast<SeptenaryForEachVoxelIfBody_4Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
5357 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5360 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5363 vf.join(body._VoxelFunc);
5367 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5370 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5371 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5375 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5379 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5381 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5384 vf.join(body._VoxelFunc);
5389 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5392 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5393 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5397 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5400 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5406 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5409 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5410 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5414 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5417 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5423 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5426 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5427 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5431 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5434 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5440 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5443 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5444 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5448 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5451 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5457 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5460 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5461 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5469 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5472 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5475 vf.join(body._VoxelFunc);
5479 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5482 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5483 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
5487 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5491 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
5493 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5496 vf.join(body._VoxelFunc);
5501 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5504 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5505 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
5509 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5512 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5518 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5521 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5522 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
5526 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5529 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5535 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5538 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5539 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
5543 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5546 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5552 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5555 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5556 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
5560 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5563 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
5569 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5572 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5573 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
5585 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5588 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5591 vf.join(body._VoxelFunc);
5592 of.join(body._OutsideFunc);
5596 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5599 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5600 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5604 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5608 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5612 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5615 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5616 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5620 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5624 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5626 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5629 vf.join(body._VoxelFunc);
5630 of.join(body._OutsideFunc);
5635 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5638 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5639 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5643 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5647 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5651 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5654 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5655 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5659 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5662 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5669 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5672 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5673 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5677 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5681 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5688 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5689 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5696 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5703 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5706 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5707 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5711 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5714 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5721 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5724 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5725 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5729 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5733 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5737 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5740 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5741 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5745 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5748 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5755 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5758 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5759 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5763 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5767 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
5771 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5774 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5775 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5783 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5786 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5789 vf.join(body._VoxelFunc);
5790 of.join(body._OutsideFunc);
5794 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5797 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5798 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
5802 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5806 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
5810 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5813 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5814 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
5818 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5822 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
5824 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5827 vf.join(body._VoxelFunc);
5828 of.join(body._OutsideFunc);
5833 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5836 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5837 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
5841 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5845 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
5849 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5852 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5853 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
5857 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5860 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5867 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5870 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5871 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
5875 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5879 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
5883 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5886 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5887 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
5891 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5894 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5901 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5904 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5905 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5909 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5912 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5919 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5922 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5923 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5927 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5931 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5935 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5938 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5939 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
5943 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5946 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
5953 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
5956 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5957 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5961 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5965 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
5969 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5972 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5973 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
5985 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5988 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
5995 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
5998 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
5999 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6003 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6007 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6009 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6017 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6020 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6021 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6025 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6028 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6030 if (VoxelFunc::IsReduction()) {
6047 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6050 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6051 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6055 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6058 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6064 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6067 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6068 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6072 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6075 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6081 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6084 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6085 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6089 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6092 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6098 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6101 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6102 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6110 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6113 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6120 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6123 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6124 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
6128 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6132 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
6134 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6142 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6145 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6146 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
6150 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6153 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6155 if (VoxelFunc::IsReduction()) {
6172 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6175 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6176 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
6180 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6183 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6189 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6192 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6193 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
6197 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6200 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6206 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6209 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6210 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
6214 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6217 SeptenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
6223 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6226 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6227 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
6239 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6242 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6244 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6254 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6257 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6258 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6262 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6266 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6270 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6273 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6274 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6278 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6282 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6284 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6286 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6297 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6300 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6301 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6305 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6309 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6316 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6317 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6324 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6326 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6344 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6347 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6348 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6352 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6356 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6360 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6363 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6364 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6368 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6371 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6372 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6382 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6385 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6386 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6390 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6394 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6398 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6401 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6402 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6406 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6409 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6410 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6420 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6423 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6424 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6428 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6432 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6436 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6439 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6440 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6444 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6447 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6448 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6458 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6461 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6462 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6466 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6470 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
6474 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6477 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6478 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
6486 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6489 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6491 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6501 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6504 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6505 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
6509 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6513 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
6517 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6520 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6521 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
6525 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6529 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
6531 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6533 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6544 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6547 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6548 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
6552 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6556 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
6560 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6563 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6564 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
6568 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6571 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6573 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6591 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6594 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6595 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
6599 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6603 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
6607 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6610 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6611 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
6615 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6618 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6619 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6629 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6632 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6633 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6641 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6648 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6649 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
6653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6656 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6657 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6667 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6670 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6671 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6675 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6679 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6683 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6686 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6687 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
6691 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6694 SeptenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
6695 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6705 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
6708 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6709 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6713 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6717 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
6721 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6724 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
6725 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
6736 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
6757 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
6763 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
6769 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)
6783 const int T = (attr.
_dt ? attr.
_t : 1);
6785 for (
int l = 0; l < T; ++l)
6786 for (
int k = 0; k < attr.
_z; ++k)
6787 for (
int j = 0; j < attr.
_y; ++j)
6788 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
6791 const_cast<SeptenaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
6806 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
6816 const int bi = re.cols().begin();
6817 const int bj = re.rows().begin();
6818 const int ei = re.cols().end();
6819 const int ej = re.rows().end();
6821 const int s1 = im7.
GetX() - (ei - bi);
6831 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
6832 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
6835 const_cast<SeptenaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
6842 const int bi = re.cols ().begin();
6843 const int bj = re.rows ().begin();
6844 const int bk = re.pages().begin();
6845 const int ei = re.cols ().end();
6846 const int ej = re.rows ().end();
6847 const int ek = re.pages().end();
6849 const int s1 = im7.
GetX() - (ei - bi);
6850 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
6860 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
6861 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
6862 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
6865 const_cast<SeptenaryForEachVoxelBody_3Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
6874 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
6895 VoxelFunc &vf, OutsideFunc &of)
6897 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
6903 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)
6909 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)
6923 const int T = (attr.
_dt ? attr.
_t : 1);
6925 for (
int l = 0; l < T; ++l)
6926 for (
int k = 0; k < attr.
_z; ++k)
6927 for (
int j = 0; j < attr.
_y; ++j)
6928 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
6929 if (Domain::IsInside(im7, i, j, k, l, p7)) {
6932 const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
6933 }
else const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
6948 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
6949 if (Domain::IsInside(im7, idx, p7)) {
6960 const int bi = re.cols().begin();
6961 const int bj = re.rows().begin();
6962 const int ei = re.cols().end();
6963 const int ej = re.rows().end();
6965 const int s1 = im7.
GetX() - (ei - bi);
6975 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
6976 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
6977 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
6980 const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
6981 }
else const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
6988 const int bi = re.cols ().begin();
6989 const int bj = re.rows ().begin();
6990 const int bk = re.pages().begin();
6991 const int ei = re.cols ().end();
6992 const int ej = re.rows ().end();
6993 const int ek = re.pages().end();
6995 const int s1 = im7.
GetX() - (ei - bi);
6996 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
7006 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
7007 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
7008 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
7009 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
7012 const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
7013 }
else const_cast<SeptenaryForEachVoxelIfBody_3Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
7027 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7030 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7033 vf.join(body._VoxelFunc);
7037 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7040 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7041 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7045 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7049 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7051 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7054 vf.join(body._VoxelFunc);
7059 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7062 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7063 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7067 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7070 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7076 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7079 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7080 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7084 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7087 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7093 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7096 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7097 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7101 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7104 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7110 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7113 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7114 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7118 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7121 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7127 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7130 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7131 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7139 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7142 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7145 vf.join(body._VoxelFunc);
7149 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7152 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7153 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
7157 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7161 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
7163 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7166 vf.join(body._VoxelFunc);
7171 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7174 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7175 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
7179 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7182 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7188 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7191 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7192 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
7196 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7199 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7205 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7208 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7209 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7213 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7216 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7222 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7225 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7226 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7230 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7233 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7239 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7242 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7243 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7255 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7258 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7261 vf.join(body._VoxelFunc);
7262 of.join(body._OutsideFunc);
7266 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7269 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7270 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7274 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7278 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7282 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7285 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7286 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7290 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7294 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7296 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7299 vf.join(body._VoxelFunc);
7300 of.join(body._OutsideFunc);
7305 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7308 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7309 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7317 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7324 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7325 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7329 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7332 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7339 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7342 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7343 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7347 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7351 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7355 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7358 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7359 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7363 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7366 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7376 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7377 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7384 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7394 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7395 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7399 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7403 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7407 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7410 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7411 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7415 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7418 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7425 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7428 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7429 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7433 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7437 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7441 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7444 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7445 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7453 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7456 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7459 vf.join(body._VoxelFunc);
7460 of.join(body._OutsideFunc);
7464 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7467 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7468 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
7472 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7476 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
7480 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7483 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7484 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
7488 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7492 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
7494 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7497 vf.join(body._VoxelFunc);
7498 of.join(body._OutsideFunc);
7503 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7506 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7507 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
7511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7515 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
7519 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7522 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7523 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
7527 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7530 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7537 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7540 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7541 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
7545 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7549 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
7553 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7556 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7557 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
7561 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7564 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7574 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7575 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
7579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7582 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7592 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7593 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
7597 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7601 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
7605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7608 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7609 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
7613 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7616 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
7623 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7626 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7627 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
7631 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7635 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
7639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7642 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7643 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
7655 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7658 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7665 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7668 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7669 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7673 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7677 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7679 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7687 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7690 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7691 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7695 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7698 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7700 if (VoxelFunc::IsReduction()) {
7717 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7720 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7721 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7725 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7728 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7734 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7737 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7738 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7742 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7745 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7751 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7754 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7755 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7759 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7762 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7768 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7771 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7772 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7780 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7783 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7790 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7793 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7794 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
7798 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7802 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
7804 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7812 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7815 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7816 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
7820 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7823 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7825 if (VoxelFunc::IsReduction()) {
7842 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7845 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7846 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
7850 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7853 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7859 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7862 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7863 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7867 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7870 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7876 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7879 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7880 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7884 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7887 SeptenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
7893 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7896 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7897 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
7909 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7912 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7914 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7924 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7927 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7928 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7932 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7936 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7940 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7943 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7944 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7948 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7952 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7954 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7956 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7967 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7970 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7971 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7975 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7979 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7983 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
7986 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
7987 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
7991 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
7994 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
7996 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8014 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8017 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8018 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8022 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8026 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8030 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8033 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8034 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8038 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8041 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8042 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8052 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8055 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8056 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8060 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8064 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8068 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8071 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8072 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8076 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8079 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8080 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8090 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8093 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8094 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8098 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8102 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8106 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8109 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8110 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8114 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8117 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8118 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8128 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8131 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8132 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8136 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8140 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8144 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8147 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8148 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8156 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8159 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8161 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8171 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8174 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8175 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
8179 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8183 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
8187 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8190 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8191 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
8195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8199 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
8201 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8203 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8214 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8217 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8218 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
8222 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8226 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
8230 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8233 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8234 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
8238 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8241 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8243 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8261 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8264 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8265 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
8269 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8273 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
8277 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8280 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8281 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
8285 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8288 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8289 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8302 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8303 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8307 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8311 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8318 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8319 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
8323 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8326 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8327 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8337 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8340 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8341 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8345 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8349 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8353 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8356 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8357 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
8361 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8364 SeptenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
8365 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8375 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8378 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8379 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8383 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8387 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
8391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8394 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8395 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
8406 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8427 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
8433 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
8439 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)
8453 const int T = (attr.
_dt ? attr.
_t : 1);
8455 for (
int l = 0; l < T; ++l)
8456 for (
int k = 0; k < attr.
_z; ++k)
8457 for (
int j = 0; j < attr.
_y; ++j)
8458 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
8461 const_cast<SeptenaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
8476 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8486 const int bi = re.cols().begin();
8487 const int bj = re.rows().begin();
8488 const int ei = re.cols().end();
8489 const int ej = re.rows().end();
8491 const int s1 = im7.
GetX() - (ei - bi);
8501 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
8502 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8505 const_cast<SeptenaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8512 const int bi = re.cols ().begin();
8513 const int bj = re.rows ().begin();
8514 const int bk = re.pages().begin();
8515 const int ei = re.cols ().end();
8516 const int ej = re.rows ().end();
8517 const int ek = re.pages().end();
8519 const int s1 = im7.
GetX() - (ei - bi);
8520 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
8530 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
8531 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
8532 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8535 const_cast<SeptenaryForEachVoxelBody_2Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8544 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
8565 VoxelFunc &vf, OutsideFunc &of)
8567 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
8573 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)
8579 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)
8593 const int T = (attr.
_dt ? attr.
_t : 1);
8595 for (
int l = 0; l < T; ++l)
8596 for (
int k = 0; k < attr.
_z; ++k)
8597 for (
int j = 0; j < attr.
_y; ++j)
8598 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
8599 if (Domain::IsInside(im7, i, j, k, l, p7)) {
8602 const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
8603 }
else const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
8618 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8619 if (Domain::IsInside(im7, idx, p7)) {
8630 const int bi = re.cols().begin();
8631 const int bj = re.rows().begin();
8632 const int ei = re.cols().end();
8633 const int ej = re.rows().end();
8635 const int s1 = im7.
GetX() - (ei - bi);
8645 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
8646 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8647 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
8650 const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8651 }
else const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8658 const int bi = re.cols ().begin();
8659 const int bj = re.rows ().begin();
8660 const int bk = re.pages().begin();
8661 const int ei = re.cols ().end();
8662 const int ej = re.rows ().end();
8663 const int ek = re.pages().end();
8665 const int s1 = im7.
GetX() - (ei - bi);
8666 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
8676 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
8677 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
8678 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
8679 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
8682 const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8683 }
else const_cast<SeptenaryForEachVoxelIfBody_2Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
8697 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8700 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8703 vf.join(body._VoxelFunc);
8707 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8710 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8711 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8715 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8719 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8721 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8724 vf.join(body._VoxelFunc);
8729 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8732 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8733 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8737 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8740 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8746 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8749 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8750 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8754 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8757 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8763 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8766 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8767 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8771 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8774 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8780 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8783 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8784 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8788 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8791 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8797 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8800 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8801 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8809 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8812 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8815 vf.join(body._VoxelFunc);
8819 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8822 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8823 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
8827 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8831 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
8833 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8836 vf.join(body._VoxelFunc);
8841 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8844 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8845 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
8849 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8852 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8858 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8861 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8862 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
8866 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8869 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8875 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8878 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8879 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
8883 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8886 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8892 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8895 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8896 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
8900 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8903 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
8909 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8912 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8913 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
8925 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8928 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8931 vf.join(body._VoxelFunc);
8932 of.join(body._OutsideFunc);
8936 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8939 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8940 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8944 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8948 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8952 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8955 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8956 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8960 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8964 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8966 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8969 vf.join(body._VoxelFunc);
8970 of.join(body._OutsideFunc);
8975 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
8978 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8979 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8983 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8987 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
8991 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
8994 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
8995 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
8999 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9002 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9009 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9012 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9013 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9017 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9021 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9025 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9028 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9029 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9033 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9036 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9043 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9046 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9047 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9054 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9061 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9064 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9065 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9069 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9073 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9077 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9080 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9081 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9085 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9088 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9095 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9098 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9099 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9103 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9107 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9111 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9114 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9115 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9123 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9126 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9129 vf.join(body._VoxelFunc);
9130 of.join(body._OutsideFunc);
9134 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9137 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9138 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9142 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9146 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9150 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9153 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9154 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
9158 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9162 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9164 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9167 vf.join(body._VoxelFunc);
9168 of.join(body._OutsideFunc);
9173 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9176 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9177 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9181 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9185 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9189 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9192 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9193 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
9197 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9200 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9207 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9210 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9211 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
9215 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9219 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
9223 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9226 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9227 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
9231 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9234 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9241 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9244 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9245 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9249 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9252 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9259 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9262 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9263 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9267 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9271 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9275 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9278 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9279 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
9283 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9286 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9293 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9296 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9297 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9301 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9305 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9309 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9312 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9313 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
9325 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9328 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9335 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9338 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9339 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9343 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9347 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9349 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9357 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9360 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9361 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9365 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9368 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9370 if (VoxelFunc::IsReduction()) {
9387 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9390 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9391 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9395 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9398 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9404 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9407 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9408 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9412 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9415 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9421 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9424 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9425 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9429 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9432 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9438 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9441 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9442 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9450 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9453 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9460 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9463 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9464 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
9468 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9472 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
9474 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9482 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9485 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9486 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
9490 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9493 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9495 if (VoxelFunc::IsReduction()) {
9512 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9515 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9516 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
9520 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9523 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9529 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9532 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9533 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
9537 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9540 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9546 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9549 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9550 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
9554 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9557 SeptenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
9563 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9566 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9567 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
9579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9582 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9584 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9594 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9597 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9598 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9602 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9606 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9610 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9613 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9614 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9618 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9622 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9624 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9626 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9640 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9641 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9649 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9656 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9657 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9661 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9664 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9666 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9684 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9687 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9688 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9692 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9696 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9700 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9703 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9704 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9708 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9711 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9712 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9722 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9725 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9726 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9730 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9734 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9738 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9741 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9742 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9746 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9749 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9750 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9760 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9763 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9764 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9768 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9772 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9776 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9779 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9780 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9784 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9787 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9788 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9798 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9801 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9802 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9806 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9810 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
9814 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9817 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9818 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
9826 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9829 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9831 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9841 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9844 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9845 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9849 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9853 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9857 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9860 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9861 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
9865 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9869 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9871 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9873 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9884 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9887 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9888 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9892 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9896 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
9900 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9903 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9904 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
9908 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9911 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9913 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9931 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9934 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9935 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
9939 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9943 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
9947 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9950 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9951 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
9955 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9958 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9959 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9969 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9972 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9973 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9977 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9981 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
9985 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
9988 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
9989 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
9993 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
9996 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
9997 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10007 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10010 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10011 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10015 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10019 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10023 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10026 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10027 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
10031 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10034 SeptenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10035 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
10045 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10048 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10049 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10053 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10057 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10061 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10064 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10065 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
10076 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10097 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
10103 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
10109 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)
10123 const int T = (attr.
_dt ? attr.
_t : 1);
10125 for (
int l = 0; l < T; ++l)
10126 for (
int k = 0; k < attr.
_z; ++k)
10127 for (
int j = 0; j < attr.
_y; ++j)
10128 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
10131 const_cast<SeptenaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
10146 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10156 const int bi = re.cols().begin();
10157 const int bj = re.rows().begin();
10158 const int ei = re.cols().end();
10159 const int ej = re.rows().end();
10161 const int s1 = im7.
GetX() - (ei - bi);
10171 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
10172 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10175 const_cast<SeptenaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10182 const int bi = re.cols ().begin();
10183 const int bj = re.rows ().begin();
10184 const int bk = re.pages().begin();
10185 const int ei = re.cols ().end();
10186 const int ej = re.rows ().end();
10187 const int ek = re.pages().end();
10189 const int s1 = im7.
GetX() - (ei - bi);
10190 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
10200 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
10201 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
10202 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10205 const_cast<SeptenaryForEachVoxelBody_1Const *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10214 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
10235 VoxelFunc &vf, OutsideFunc &of)
10237 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
10243 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)
10249 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)
10263 const int T = (attr.
_dt ? attr.
_t : 1);
10265 for (
int l = 0; l < T; ++l)
10266 for (
int k = 0; k < attr.
_z; ++k)
10267 for (
int j = 0; j < attr.
_y; ++j)
10268 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
10269 if (Domain::IsInside(im7, i, j, k, l, p7)) {
10272 const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
10273 }
else const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
10288 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10289 if (Domain::IsInside(im7, idx, p7)) {
10300 const int bi = re.cols().begin();
10301 const int bj = re.rows().begin();
10302 const int ei = re.cols().end();
10303 const int ej = re.rows().end();
10305 const int s1 = im7.
GetX() - (ei - bi);
10315 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
10316 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10317 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
10320 const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10321 }
else const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10328 const int bi = re.cols ().begin();
10329 const int bj = re.rows ().begin();
10330 const int bk = re.pages().begin();
10331 const int ei = re.cols ().end();
10332 const int ej = re.rows ().end();
10333 const int ek = re.pages().end();
10335 const int s1 = im7.
GetX() - (ei - bi);
10336 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
10346 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
10347 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
10348 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
10349 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
10352 const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10353 }
else const_cast<SeptenaryForEachVoxelIfBody_1Const *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
10367 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10370 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10373 vf.join(body._VoxelFunc);
10377 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10380 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10381 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10385 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10389 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10391 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10394 vf.join(body._VoxelFunc);
10399 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10402 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10403 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10407 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10410 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10416 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10419 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10420 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10424 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10427 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10433 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10436 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10437 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10441 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10444 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10450 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10453 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10454 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10458 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10461 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10467 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10470 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10471 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10479 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10482 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10485 vf.join(body._VoxelFunc);
10489 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10492 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10493 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
10497 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10501 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
10503 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10506 vf.join(body._VoxelFunc);
10511 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10514 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10515 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
10519 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10522 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10528 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10531 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10532 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
10536 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10539 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10545 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10548 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10549 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
10553 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10556 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10562 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10565 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10566 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
10570 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10573 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
10579 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10582 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10583 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
10595 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10598 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10601 vf.join(body._VoxelFunc);
10602 of.join(body._OutsideFunc);
10606 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10609 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10610 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10614 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10618 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10622 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10625 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10626 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10630 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10634 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10636 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10639 vf.join(body._VoxelFunc);
10640 of.join(body._OutsideFunc);
10645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10648 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10649 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10657 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10661 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10664 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10665 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10669 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10672 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10679 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10682 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10683 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10687 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10691 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10695 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10698 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10699 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10703 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10706 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10713 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10716 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10717 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10721 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10724 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10731 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10734 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10735 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10739 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10743 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10747 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10750 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10751 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10755 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10758 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10765 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10768 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10769 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10773 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10777 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
10781 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10784 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10785 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
10793 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10796 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10799 vf.join(body._VoxelFunc);
10800 of.join(body._OutsideFunc);
10804 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10807 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10808 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
10812 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10816 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
10820 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10823 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10824 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
10828 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10832 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
10834 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10837 vf.join(body._VoxelFunc);
10838 of.join(body._OutsideFunc);
10843 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10846 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10847 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
10851 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10855 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
10859 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10862 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10863 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
10867 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10870 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10877 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10880 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10881 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
10885 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10889 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
10893 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10896 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10897 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
10901 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10904 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10911 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10914 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10915 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10919 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10922 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10929 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10932 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10933 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10941 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10945 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10948 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10949 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
10953 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10956 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
10963 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
10966 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10967 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10971 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10975 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
10979 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10982 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
10983 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
10995 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
10998 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11005 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11008 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11009 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11013 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11017 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11019 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11027 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11030 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11031 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11035 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11038 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11040 if (VoxelFunc::IsReduction()) {
11057 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11060 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11061 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11065 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11068 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11074 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11077 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11078 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11082 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11085 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11091 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11094 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11095 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11099 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11102 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11108 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11111 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11112 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11120 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11123 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11130 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11133 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11134 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
11138 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11142 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
11144 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11152 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11155 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11156 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
11160 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11163 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11165 if (VoxelFunc::IsReduction()) {
11182 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11185 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11186 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
11190 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11193 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11199 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11202 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11203 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
11207 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11210 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11216 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11219 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11220 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
11224 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11227 SeptenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
11233 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11236 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11237 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
11249 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11252 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11254 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11264 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11267 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11268 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11272 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11276 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11280 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11283 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11284 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11288 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11292 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11294 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11296 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11307 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11310 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11311 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11319 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11323 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11326 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11327 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11331 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11334 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11336 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11354 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11357 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11358 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11362 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11366 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11370 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11373 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11374 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11378 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11381 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11382 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11392 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11395 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11396 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11400 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11404 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11408 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11411 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11412 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11416 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11419 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11420 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11430 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11433 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11434 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11442 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11446 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11449 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11450 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11454 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11457 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11458 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11468 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11471 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11472 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11476 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11480 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
11484 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11487 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11488 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
11496 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11499 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11501 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11514 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11515 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
11519 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11523 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
11527 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11530 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11531 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
11535 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11539 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
11541 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11543 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11554 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11557 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11558 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
11562 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11566 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
11570 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11573 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11574 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
11578 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11581 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11583 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11601 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11604 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11605 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
11609 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11613 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
11617 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11620 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11621 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
11625 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11628 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11629 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11642 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11643 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11651 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11658 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11659 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
11663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11666 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11667 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11677 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11680 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11681 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11685 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11689 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11693 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11696 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11697 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
11701 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11704 SeptenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
11705 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11715 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
11718 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11719 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11727 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
11731 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11734 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
11735 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
11746 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
11767 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
11773 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6), im7(o.im7)
11779 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)
11793 const int T = (attr.
_dt ? attr.
_t : 1);
11795 for (
int l = 0; l < T; ++l)
11796 for (
int k = 0; k < attr.
_z; ++k)
11797 for (
int j = 0; j < attr.
_y; ++j)
11798 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
11801 const_cast<SeptenaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
11816 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
11826 const int bi = re.cols().begin();
11827 const int bj = re.rows().begin();
11828 const int ei = re.cols().end();
11829 const int ej = re.rows().end();
11831 const int s1 = im7.
GetX() - (ei - bi);
11841 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
11842 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
11845 const_cast<SeptenaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
11852 const int bi = re.cols ().begin();
11853 const int bj = re.rows ().begin();
11854 const int bk = re.pages().begin();
11855 const int ei = re.cols ().end();
11856 const int ej = re.rows ().end();
11857 const int ek = re.pages().end();
11859 const int s1 = im7.
GetX() - (ei - bi);
11860 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
11870 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
11871 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
11872 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
11875 const_cast<SeptenaryForEachVoxelBody *
>(
this)->
_VoxelFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
11884 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
11905 VoxelFunc &vf, OutsideFunc &of)
11907 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6), im7(im7)
11913 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)
11919 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)
11933 const int T = (attr.
_dt ? attr.
_t : 1);
11935 for (
int l = 0; l < T; ++l)
11936 for (
int k = 0; k < attr.
_z; ++k)
11937 for (
int j = 0; j < attr.
_y; ++j)
11938 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6, ++p7) {
11939 if (Domain::IsInside(im7, i, j, k, l, p7)) {
11942 const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
11943 }
else const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, k, l, p1, p2, p3, p4, p5, p6, p7);
11958 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
11959 if (Domain::IsInside(im7, idx, p7)) {
11970 const int bi = re.cols().begin();
11971 const int bj = re.rows().begin();
11972 const int ei = re.cols().end();
11973 const int ej = re.rows().end();
11975 const int s1 = im7.
GetX() - (ei - bi);
11985 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
11986 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
11987 if (Domain::IsInside(im7, i, j, this->_k, this->
_l, p7)) {
11990 const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
11991 }
else const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, this->_k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
11998 const int bi = re.cols ().begin();
11999 const int bj = re.rows ().begin();
12000 const int bk = re.pages().begin();
12001 const int ei = re.cols ().end();
12002 const int ej = re.rows ().end();
12003 const int ek = re.pages().end();
12005 const int s1 = im7.
GetX() - (ei - bi);
12006 const int s2 = (im7.
GetY() - (ej - bj)) * im7.
GetX();
12016 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2, p7 += s2)
12017 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1, p7 += s1)
12018 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1, p7 += 1) {
12019 if (Domain::IsInside(im7, i, j, k, this->
_l, p7)) {
12022 const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->
_VoxelFunc (i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
12023 }
else const_cast<SeptenaryForEachVoxelIfBody *
>(
this)->_OutsideFunc(i, j, k, this->
_l, p1, p2, p3, p4, p5, p6, p7);
12037 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12040 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12043 vf.join(body._VoxelFunc);
12047 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12050 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12051 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12055 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12059 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12061 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12064 vf.join(body._VoxelFunc);
12069 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12072 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12073 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12077 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12080 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12086 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12089 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12090 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12094 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12097 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12103 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12106 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12107 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12111 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12114 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12120 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12123 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12124 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12128 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12131 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12137 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12140 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12141 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12149 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12152 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12155 vf.join(body._VoxelFunc);
12159 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12162 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12163 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
12167 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12171 ForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
12173 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12176 vf.join(body._VoxelFunc);
12181 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12184 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12185 ForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
12189 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12192 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12198 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12201 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12202 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
12206 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12209 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12215 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12218 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12219 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12223 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12226 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12232 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12235 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12236 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12240 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12243 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12249 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12252 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12253 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12265 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12268 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12271 vf.join(body._VoxelFunc);
12272 of.join(body._OutsideFunc);
12276 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12279 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12280 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12284 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12288 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12292 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12295 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12296 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12300 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12304 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12306 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12309 vf.join(body._VoxelFunc);
12310 of.join(body._OutsideFunc);
12315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12318 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12319 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12323 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12327 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12331 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12334 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12335 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12339 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12342 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12349 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12352 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12353 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12357 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12361 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12368 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12369 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12376 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12383 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12386 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12387 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12394 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12401 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12404 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12405 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12409 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12413 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12417 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12420 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12421 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12425 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12428 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12435 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12438 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12439 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12447 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12454 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12455 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12463 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12466 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12469 vf.join(body._VoxelFunc);
12470 of.join(body._OutsideFunc);
12474 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12477 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12478 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
12482 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12486 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
12490 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12493 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12494 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
12498 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12502 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
12504 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12507 vf.join(body._VoxelFunc);
12508 of.join(body._OutsideFunc);
12513 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12516 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12517 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
12521 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12525 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
12529 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12532 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12533 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
12537 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12540 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12547 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12550 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12551 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
12555 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12559 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
12563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12566 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12567 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
12571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12574 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12581 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12584 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12585 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
12589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12592 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12599 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12602 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12603 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
12607 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12611 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
12615 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12618 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12619 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
12623 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12626 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
12633 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12636 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12637 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
12641 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12645 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
12649 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12652 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12653 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
12665 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12668 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12675 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12678 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12679 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12683 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12687 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12689 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12697 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12700 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12701 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12705 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12708 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12710 if (VoxelFunc::IsReduction()) {
12727 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12730 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12731 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12735 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12738 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12744 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12747 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12748 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12752 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12755 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12761 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12764 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12765 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12769 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12772 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12778 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12781 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12782 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12790 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12793 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12800 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12803 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12804 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
12808 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12812 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, im7, vf);
12814 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12822 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12825 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12826 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, im7, vf);
12830 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12833 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12835 if (VoxelFunc::IsReduction()) {
12852 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12855 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12856 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, im7, vf);
12860 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12863 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12869 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12872 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12873 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12877 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12880 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12886 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12889 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12890 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12894 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12897 SeptenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc> body(im1, im2, im3, im4, im5, im6, im7, vf);
12903 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12906 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12907 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, im7, vf);
12919 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12922 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12924 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
12934 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12937 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12938 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12942 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12946 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12950 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12953 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12954 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
12958 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12962 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12964 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12966 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
12977 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
12980 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12981 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12985 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12989 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
12993 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
12996 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
12997 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
13001 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13004 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13006 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13024 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13027 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13028 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13032 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13036 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13040 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13043 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13044 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
13048 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13051 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13052 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13062 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13065 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13066 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13070 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13074 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13078 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13081 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13082 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
13086 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13089 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13090 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13100 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13103 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13104 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13108 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13112 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13116 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13119 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13120 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
13124 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13127 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13128 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13138 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13141 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13142 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13146 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13150 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf, of);
13154 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13157 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13158 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, *im7, vf);
13166 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13169 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13171 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13181 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13184 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13185 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
13189 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13193 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
13197 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13200 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13201 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
13205 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13209 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
13211 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13213 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13224 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13227 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13228 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
13232 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13236 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf, of);
13240 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13243 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13244 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, im7, vf);
13248 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13251 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13253 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13271 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13274 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13275 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
13279 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13283 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf, of);
13287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13290 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13291 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, im7, vf);
13295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13298 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13299 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13309 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13312 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13313 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13317 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13321 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13325 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13328 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13329 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
13333 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13336 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13337 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13347 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13350 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13351 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13355 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13359 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13363 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13366 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13367 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
13371 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13374 SeptenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, T7, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, im7, vf, of);
13375 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
13385 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc,
class Outs
ideFunc>
13388 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13389 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13393 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13397 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf, of);
13401 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class T7,
class VoxelFunc>
13404 if (VoxelFunc::IsReduction()) _foreachseptenaryvoxelfunction_must_not_be_reduction();
13405 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, im7, vf);
double _dt
Voxel t-dimensions (in ms)
SeptenaryForEachVoxelIfBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelIfBody(const SeptenaryForEachVoxelIfBody &o)
Copy constructor.
SeptenaryForEachVoxelBody_6Const(const SeptenaryForEachVoxelBody_6Const &o)
Copy constructor.
Dummy type used to distinguish split constructor from copy constructor.
SeptenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelIfBody_3Const(const SeptenaryForEachVoxelIfBody_3Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_6Const(SeptenaryForEachVoxelBody_6Const &o, split s)
Split constructor.
SeptenaryForEachVoxelBody_4Const(SeptenaryForEachVoxelBody_4Const &o, split s)
Split constructor.
SeptenaryForEachVoxelBody_2Const(const SeptenaryForEachVoxelBody_2Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_5Const(const SeptenaryForEachVoxelBody_5Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelIfBody_6Const(const SeptenaryForEachVoxelIfBody_6Const &o)
Copy constructor.
SeptenaryForEachVoxelIfBody_4Const(const SeptenaryForEachVoxelIfBody_4Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_1Const(const SeptenaryForEachVoxelBody_1Const &o)
Copy constructor.
SeptenaryForEachVoxelIfBody_Const(SeptenaryForEachVoxelIfBody_Const &o, split s)
Split constructor.
bool IsEmpty() const
Whether image is uninitialized.
SeptenaryForEachVoxelIfBody_1Const(const SeptenaryForEachVoxelIfBody_1Const &o)
Copy constructor.
SeptenaryForEachVoxelIfBody_5Const(SeptenaryForEachVoxelIfBody_5Const &o, split s)
Split constructor.
SeptenaryForEachVoxelBody_2Const(SeptenaryForEachVoxelBody_2Const &o, split s)
Split constructor.
SeptenaryForEachVoxelBody_3Const(const SeptenaryForEachVoxelBody_3Const &o)
Copy constructor.
int _y
Image y-dimension (in voxels)
SeptenaryForEachVoxelIfBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelIfBody_1Const(SeptenaryForEachVoxelIfBody_1Const &o, split s)
Split constructor.
SeptenaryForEachVoxelIfBody_2Const(SeptenaryForEachVoxelIfBody_2Const &o, split s)
Split constructor.
VoxelFunc _VoxelFunc
Functor executed for each voxel.
SeptenaryForEachVoxelIfBody_6Const(SeptenaryForEachVoxelIfBody_6Const &o, split s)
Split constructor.
SeptenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelBody_4Const(const SeptenaryForEachVoxelBody_4Const &o)
Copy constructor.
void operator()(const ImageAttributes &attr) const
Process entire image.
VoxelType * GetPointerToVoxels(int=0, int=0, int=0, int=0)
int GetX() const
Returns the number of voxels in the x-direction.
SeptenaryForEachVoxelBody_3Const(SeptenaryForEachVoxelBody_3Const &o, split s)
Split constructor.
int _z
Image z-dimension (in voxels)
int _l
Indices for fixed dimensions.
SeptenaryForEachVoxelBody_5Const(SeptenaryForEachVoxelBody_5Const &o, split s)
Split constructor.
int _t
Image t-dimension (in voxels)
int GetT() const
Returns the number of voxels in the t-direction.
int GetY() const
Returns the number of voxels in the y-direction.
SeptenaryForEachVoxelIfBody_5Const(const SeptenaryForEachVoxelIfBody_5Const &o)
Copy constructor.
int GetNumberOfVoxels() const
OutsideFunc _OutsideFunc
Functor executed for each background voxel.
SeptenaryForEachVoxelBody(const SeptenaryForEachVoxelBody &o)
Copy constructor.
SeptenaryForEachVoxelIfBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf, OutsideFunc &of)
Constructor.
double GetTSize() const
Returns the size of a voxel in the t-direction.
SeptenaryForEachVoxelBody_Const(const SeptenaryForEachVoxelBody_Const &o)
Copy constructor.
SeptenaryForEachVoxelBody(SeptenaryForEachVoxelBody &o, split s)
Split constructor.
SeptenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SeptenaryForEachVoxelIfBody_2Const(const SeptenaryForEachVoxelIfBody_2Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_1Const(SeptenaryForEachVoxelBody_1Const &o, split s)
Split constructor.
SeptenaryForEachVoxelIfBody(SeptenaryForEachVoxelIfBody &o, split s)
Split constructor.
int _x
Image x-dimension (in voxels)
SeptenaryForEachVoxelIfBody_4Const(SeptenaryForEachVoxelIfBody_4Const &o, split s)
Split constructor.
SeptenaryForEachVoxelIfBody_3Const(SeptenaryForEachVoxelIfBody_3Const &o, split s)
Split constructor.
void parallel_reduce(const Range &range, Body &body)
parallel_reduce dummy template function which executes the body serially
SeptenaryForEachVoxelBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, GenericImage< T7 > &im7, VoxelFunc &vf)
Constructor.
SeptenaryForEachVoxelBody_Const(SeptenaryForEachVoxelBody_Const &o, split s)
Split constructor.
SeptenaryForEachVoxelIfBody_Const(const SeptenaryForEachVoxelIfBody_Const &o)
Copy constructor.
SeptenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
void parallel_for(const Range &range, const Body &body)
parallel_for dummy template function which executes the body serially
SeptenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.