30 #ifndef MIRTK_ForEachSenaryVoxelFunction_H 31 #define MIRTK_ForEachSenaryVoxelFunction_H 33 #include "mirtk/Stream.h" 34 #include "mirtk/VoxelFunction.h" 40 inline void _foreachsenaryvoxelfunction_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 VoxelFunc>
75 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
81 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
87 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
100 const int T = (attr.
_dt ? attr.
_t : 1);
102 for (
int l = 0; l < T; ++l)
103 for (
int k = 0; k < attr.
_z; ++k)
104 for (
int j = 0; j < attr.
_y; ++j)
105 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
122 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
132 const int bi = re.cols().begin();
133 const int bj = re.rows().begin();
134 const int ei = re.cols().end();
135 const int ej = re.rows().end();
137 const int s1 = im6.
GetX() - (ei - bi);
146 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
147 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
157 const int bi = re.cols ().begin();
158 const int bj = re.rows ().begin();
159 const int bk = re.pages().begin();
160 const int ei = re.cols ().end();
161 const int ej = re.rows ().end();
162 const int ek = re.pages().end();
164 const int s1 = im6.
GetX() - (ei - bi);
165 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
174 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
175 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
176 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
188 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
207 VoxelFunc &vf, OutsideFunc &of)
209 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
215 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
221 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
234 const int T = (attr.
_dt ? attr.
_t : 1);
236 for (
int l = 0; l < T; ++l)
237 for (
int k = 0; k < attr.
_z; ++k)
238 for (
int j = 0; j < attr.
_y; ++j)
239 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
240 if (Domain::IsInside(im6, i, j, k, l, p6)) {
258 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
259 if (Domain::IsInside(im6, idx, p6)) {
270 const int bi = re.cols().begin();
271 const int bj = re.rows().begin();
272 const int ei = re.cols().end();
273 const int ej = re.rows().end();
275 const int s1 = im6.
GetX() - (ei - bi);
284 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
285 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
286 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
297 const int bi = re.cols ().begin();
298 const int bj = re.rows ().begin();
299 const int bk = re.pages().begin();
300 const int ei = re.cols ().end();
301 const int ej = re.rows ().end();
302 const int ek = re.pages().end();
304 const int s1 = im6.
GetX() - (ei - bi);
305 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
314 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
315 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
316 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
317 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
335 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
338 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
341 vf.join(body._VoxelFunc);
345 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
348 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
349 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
353 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
357 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
359 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
362 vf.join(body._VoxelFunc);
367 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
370 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
371 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
375 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
378 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
384 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
387 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
388 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
392 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
395 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
401 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
404 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
405 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
409 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
412 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
418 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
421 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
422 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
426 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
429 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
435 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
438 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
439 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
447 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
450 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
453 vf.join(body._VoxelFunc);
457 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
460 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
461 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
465 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
469 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
471 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
474 vf.join(body._VoxelFunc);
479 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
482 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
483 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
487 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
490 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
496 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
499 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
500 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
504 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
507 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
513 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
516 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
517 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
521 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
524 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
530 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
533 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
534 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
538 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
541 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
547 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
550 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
551 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
566 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
569 vf.join(body._VoxelFunc);
570 of.join(body._OutsideFunc);
574 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
577 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
578 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
582 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
586 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
590 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
593 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
594 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
598 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
602 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
604 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
607 vf.join(body._VoxelFunc);
608 of.join(body._OutsideFunc);
613 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
616 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
617 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
621 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
625 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
629 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
632 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
633 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
640 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
650 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
651 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
659 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
666 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
667 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
671 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
674 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
681 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
684 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
685 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
689 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
692 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
699 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
702 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
703 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
707 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
711 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
715 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
718 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
719 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
726 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
733 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
736 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
737 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
741 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
745 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
749 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
752 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
753 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
761 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
764 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
767 vf.join(body._VoxelFunc);
768 of.join(body._OutsideFunc);
772 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
775 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
776 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
780 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
784 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
788 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
791 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
792 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
796 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
800 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
802 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
805 vf.join(body._VoxelFunc);
806 of.join(body._OutsideFunc);
811 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
814 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
815 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
819 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
823 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
827 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
830 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
831 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
835 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
838 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
845 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
848 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
849 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
853 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
857 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
861 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
864 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
865 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
869 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
872 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
879 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
882 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
883 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
887 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
890 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
897 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
900 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
901 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
905 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
909 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
913 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
916 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
917 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
924 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
931 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
934 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
935 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
939 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
943 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
947 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
950 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
951 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
963 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
966 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
973 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
976 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
977 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
981 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
985 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
987 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
995 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
998 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
999 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1003 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1006 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1008 if (VoxelFunc::IsReduction()) {
1025 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1028 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1029 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1033 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1036 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1042 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1045 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1046 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1050 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1053 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1059 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1062 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1063 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1067 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1070 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1076 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1079 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1080 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1088 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1091 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1098 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1101 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1102 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
1106 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1110 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
1112 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1120 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1123 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1124 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
1128 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1131 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1133 if (VoxelFunc::IsReduction()) {
1150 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1153 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1154 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
1158 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1161 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1167 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1170 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1171 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
1175 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1178 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1184 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1187 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1188 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
1192 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1195 SenaryForEachVoxelBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
1201 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1204 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1205 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
1217 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1220 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1222 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1232 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1235 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1236 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1240 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1244 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1248 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1251 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1252 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1256 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1260 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1262 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1264 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1275 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1278 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1279 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1283 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1287 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1291 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1294 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1295 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1299 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1302 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1304 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1322 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1325 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1326 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1330 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1334 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1338 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1341 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1342 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1346 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1349 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1350 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1360 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1363 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1364 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1368 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1372 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1376 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1379 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1380 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1384 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1387 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1388 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1398 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1401 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1402 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1406 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1410 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1414 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1417 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1418 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1422 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1425 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1426 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1436 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1439 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1440 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1444 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1448 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
1452 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1455 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1456 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
1464 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1467 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1469 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1479 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1482 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1483 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
1487 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1491 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
1495 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1498 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1499 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
1503 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1507 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
1509 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1511 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1522 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1525 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1526 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
1530 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1534 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
1538 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1541 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1542 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
1546 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1549 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1551 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1569 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1572 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1573 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
1577 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1581 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
1585 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1588 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1589 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
1593 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1596 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1597 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1607 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1610 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1611 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1615 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1619 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1623 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1626 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1627 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
1631 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1634 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1635 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1648 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1649 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1653 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1657 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1661 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1664 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1665 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
1669 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1672 SenaryForEachVoxelIfBody_Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
1673 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
1683 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
1686 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1687 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1691 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1695 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
1699 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1702 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
1703 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
1714 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1733 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
1739 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
1745 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
1758 const int T = (attr.
_dt ? attr.
_t : 1);
1760 for (
int l = 0; l < T; ++l)
1761 for (
int k = 0; k < attr.
_z; ++k)
1762 for (
int j = 0; j < attr.
_y; ++j)
1763 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
1780 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1790 const int bi = re.cols().begin();
1791 const int bj = re.rows().begin();
1792 const int ei = re.cols().end();
1793 const int ej = re.rows().end();
1795 const int s1 = im6.
GetX() - (ei - bi);
1804 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
1805 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1815 const int bi = re.cols ().begin();
1816 const int bj = re.rows ().begin();
1817 const int bk = re.pages().begin();
1818 const int ei = re.cols ().end();
1819 const int ej = re.rows ().end();
1820 const int ek = re.pages().end();
1822 const int s1 = im6.
GetX() - (ei - bi);
1823 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
1832 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
1833 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
1834 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1846 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
1865 VoxelFunc &vf, OutsideFunc &of)
1867 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
1873 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
1879 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
1892 const int T = (attr.
_dt ? attr.
_t : 1);
1894 for (
int l = 0; l < T; ++l)
1895 for (
int k = 0; k < attr.
_z; ++k)
1896 for (
int j = 0; j < attr.
_y; ++j)
1897 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
1898 if (Domain::IsInside(im6, i, j, k, l, p6)) {
1916 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1917 if (Domain::IsInside(im6, idx, p6)) {
1928 const int bi = re.cols().begin();
1929 const int bj = re.rows().begin();
1930 const int ei = re.cols().end();
1931 const int ej = re.rows().end();
1933 const int s1 = im6.
GetX() - (ei - bi);
1942 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
1943 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1944 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
1955 const int bi = re.cols ().begin();
1956 const int bj = re.rows ().begin();
1957 const int bk = re.pages().begin();
1958 const int ei = re.cols ().end();
1959 const int ej = re.rows ().end();
1960 const int ek = re.pages().end();
1962 const int s1 = im6.
GetX() - (ei - bi);
1963 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
1972 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
1973 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
1974 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
1975 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
1993 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
1996 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
1999 vf.join(body._VoxelFunc);
2003 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2006 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2007 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2011 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2015 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2017 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2020 vf.join(body._VoxelFunc);
2025 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2028 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2029 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2033 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2036 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2042 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2045 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2046 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2050 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2053 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2059 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2062 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2063 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2067 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2070 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2076 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2079 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2080 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2084 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2087 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2093 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2096 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2097 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2105 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2108 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2111 vf.join(body._VoxelFunc);
2115 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2118 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2119 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
2123 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2127 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
2129 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2132 vf.join(body._VoxelFunc);
2137 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2140 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2141 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
2145 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2148 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2154 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2157 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2158 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
2162 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2165 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2171 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2174 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2175 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2179 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2182 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2188 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2191 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2192 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2196 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2199 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2205 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2208 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2209 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2221 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2224 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2227 vf.join(body._VoxelFunc);
2228 of.join(body._OutsideFunc);
2232 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2235 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2236 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2240 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2244 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2248 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2251 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2252 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2256 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2260 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2262 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2265 vf.join(body._VoxelFunc);
2266 of.join(body._OutsideFunc);
2271 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2274 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2275 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2279 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2283 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2290 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2291 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2298 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2305 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2308 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2309 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2317 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2324 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2325 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2329 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2332 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2339 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2342 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2343 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2347 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2350 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2357 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2360 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2361 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2369 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2376 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2377 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2384 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2391 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2394 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2395 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2399 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2403 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2407 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2410 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2411 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2419 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2422 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2425 vf.join(body._VoxelFunc);
2426 of.join(body._OutsideFunc);
2430 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2433 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2434 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
2438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2442 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
2446 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2449 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2450 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
2454 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2458 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
2460 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2463 vf.join(body._VoxelFunc);
2464 of.join(body._OutsideFunc);
2469 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2472 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2473 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
2477 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2481 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
2485 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2488 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2489 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
2493 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2496 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2503 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2506 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2507 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
2511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2515 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
2519 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2522 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2523 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
2527 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2530 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2537 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2540 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2541 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
2545 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2548 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2555 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2558 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2559 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
2563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2567 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
2571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2574 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2575 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
2579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2582 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
2589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2592 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2593 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
2597 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2601 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
2605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2608 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2609 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
2621 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2624 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2631 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2634 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2635 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2639 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2643 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2645 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2653 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2656 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2657 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2661 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2664 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2666 if (VoxelFunc::IsReduction()) {
2683 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2686 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2687 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2691 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2694 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2700 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2703 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2704 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2708 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2711 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2717 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2720 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2721 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2725 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2728 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2734 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2737 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2738 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
2746 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2749 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2756 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2759 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2760 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
2764 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2768 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
2770 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2778 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2781 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2782 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
2786 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2789 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2791 if (VoxelFunc::IsReduction()) {
2808 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2811 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2812 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
2816 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2819 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2825 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2828 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2829 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2833 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2836 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2842 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2845 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2846 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2850 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2853 SenaryForEachVoxelBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
2859 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2862 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2863 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
2875 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2878 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2880 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2890 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2893 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2894 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2898 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2902 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2906 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2909 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2910 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2914 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2918 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2920 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2922 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2933 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2936 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2937 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2941 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2945 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2949 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2952 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2953 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
2957 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2960 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2962 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
2980 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
2983 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
2984 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2988 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2992 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
2996 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
2999 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3000 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3004 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3007 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3008 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3018 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3021 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3022 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3026 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3030 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3034 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3037 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3038 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3042 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3045 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3046 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3056 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3059 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3060 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3064 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3068 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3072 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3075 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3076 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3080 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3083 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3084 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3094 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3097 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3098 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3102 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3106 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3110 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3113 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3114 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3122 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3125 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3127 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3137 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3140 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3141 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
3145 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3149 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
3153 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3156 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3157 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
3161 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3165 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
3167 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3169 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3180 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3183 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3184 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
3188 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3192 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
3196 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3199 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3200 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
3204 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3207 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3209 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3227 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3230 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3231 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
3235 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3239 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
3243 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3246 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3247 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
3251 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3254 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3255 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3265 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3268 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3269 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3273 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3277 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3281 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3284 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3285 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
3289 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3292 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3293 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3303 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3306 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3307 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3311 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3315 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3319 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3322 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3323 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
3327 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3330 SenaryForEachVoxelIfBody_5Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
3331 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
3341 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3344 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3345 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3349 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3353 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
3357 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3360 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3361 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
3372 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3391 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
3397 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
3403 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
3416 const int T = (attr.
_dt ? attr.
_t : 1);
3418 for (
int l = 0; l < T; ++l)
3419 for (
int k = 0; k < attr.
_z; ++k)
3420 for (
int j = 0; j < attr.
_y; ++j)
3421 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
3438 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3448 const int bi = re.cols().begin();
3449 const int bj = re.rows().begin();
3450 const int ei = re.cols().end();
3451 const int ej = re.rows().end();
3453 const int s1 = im6.
GetX() - (ei - bi);
3462 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
3463 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3473 const int bi = re.cols ().begin();
3474 const int bj = re.rows ().begin();
3475 const int bk = re.pages().begin();
3476 const int ei = re.cols ().end();
3477 const int ej = re.rows ().end();
3478 const int ek = re.pages().end();
3480 const int s1 = im6.
GetX() - (ei - bi);
3481 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
3490 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
3491 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
3492 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3504 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
3523 VoxelFunc &vf, OutsideFunc &of)
3525 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
3531 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
3537 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
3550 const int T = (attr.
_dt ? attr.
_t : 1);
3552 for (
int l = 0; l < T; ++l)
3553 for (
int k = 0; k < attr.
_z; ++k)
3554 for (
int j = 0; j < attr.
_y; ++j)
3555 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
3556 if (Domain::IsInside(im6, i, j, k, l, p6)) {
3574 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3575 if (Domain::IsInside(im6, idx, p6)) {
3586 const int bi = re.cols().begin();
3587 const int bj = re.rows().begin();
3588 const int ei = re.cols().end();
3589 const int ej = re.rows().end();
3591 const int s1 = im6.
GetX() - (ei - bi);
3600 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
3601 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3602 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
3613 const int bi = re.cols ().begin();
3614 const int bj = re.rows ().begin();
3615 const int bk = re.pages().begin();
3616 const int ei = re.cols ().end();
3617 const int ej = re.rows ().end();
3618 const int ek = re.pages().end();
3620 const int s1 = im6.
GetX() - (ei - bi);
3621 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
3630 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
3631 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
3632 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
3633 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
3651 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3654 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3657 vf.join(body._VoxelFunc);
3661 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3664 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3665 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3669 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3673 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3675 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3678 vf.join(body._VoxelFunc);
3683 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3686 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3687 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3691 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3694 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3700 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3703 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3704 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3708 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3711 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3717 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3720 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3721 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3725 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3728 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3734 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3737 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3738 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3742 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3745 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3751 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3754 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3755 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3763 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3766 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3769 vf.join(body._VoxelFunc);
3773 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3776 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3777 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
3781 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3785 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
3787 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3790 vf.join(body._VoxelFunc);
3795 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3798 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3799 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
3803 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3806 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3812 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3815 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3816 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
3820 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3823 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3829 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3832 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3833 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
3837 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3840 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3846 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3849 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3850 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
3854 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3857 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
3863 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3866 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3867 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
3879 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3882 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3885 vf.join(body._VoxelFunc);
3886 of.join(body._OutsideFunc);
3890 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3893 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3894 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3898 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3902 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3906 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3909 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3910 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3914 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3918 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3920 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3923 vf.join(body._VoxelFunc);
3924 of.join(body._OutsideFunc);
3929 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3932 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3933 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3941 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3945 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3948 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3949 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
3953 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3956 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3963 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3966 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3967 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3971 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3975 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3979 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
3982 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
3983 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
3987 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
3990 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
3997 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4000 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4001 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4005 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4008 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4015 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4018 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4019 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4023 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4027 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4031 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4034 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4035 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4039 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4042 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4049 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4052 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4053 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4057 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4061 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4065 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4068 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4069 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4077 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4080 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4083 vf.join(body._VoxelFunc);
4084 of.join(body._OutsideFunc);
4088 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4091 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4092 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4096 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4100 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4104 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4107 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4108 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
4112 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4116 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4118 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4121 vf.join(body._VoxelFunc);
4122 of.join(body._OutsideFunc);
4127 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4130 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4131 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4135 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4139 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4143 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4146 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4147 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
4151 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4154 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4161 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4164 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4165 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
4169 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4173 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
4177 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4180 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4181 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
4185 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4188 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4198 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4199 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4203 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4206 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4213 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4216 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4217 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4221 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4225 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4229 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4232 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4233 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
4237 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4240 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4247 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4250 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4251 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4255 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4259 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4263 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4266 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4267 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
4279 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4282 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4289 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4292 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4293 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4297 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4301 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4303 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4311 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4314 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4315 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4319 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4322 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4324 if (VoxelFunc::IsReduction()) {
4341 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4344 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4345 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4349 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4352 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4358 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4361 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4362 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4366 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4369 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4375 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4378 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4379 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4383 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4386 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4392 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4395 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4396 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4404 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4407 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4414 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4417 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4418 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
4422 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4426 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
4428 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4436 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4439 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4440 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
4444 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4447 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4449 if (VoxelFunc::IsReduction()) {
4466 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4469 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4470 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
4474 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4477 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4483 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4486 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4487 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
4491 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4494 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4500 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4503 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4504 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
4508 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4511 SenaryForEachVoxelBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
4517 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4520 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4521 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
4533 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4536 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4538 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4548 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4551 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4552 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4556 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4560 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4564 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4567 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4568 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4572 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4576 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4578 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4580 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4591 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4594 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4595 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4599 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4603 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4607 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4610 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4611 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
4615 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4618 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4620 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4638 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4641 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4642 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4646 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4650 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4654 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4657 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4658 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4662 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4665 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4666 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4676 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4679 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4680 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4684 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4688 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4692 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4695 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4696 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4700 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4703 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4704 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4714 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4717 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4718 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4722 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4726 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4730 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4733 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4734 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4738 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4741 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4742 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4752 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4755 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4756 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4760 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4764 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
4768 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4771 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4772 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
4780 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4783 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4785 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4795 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4798 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4799 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4803 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4807 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4811 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4814 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4815 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
4819 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4823 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4825 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4827 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4838 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4841 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4842 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4846 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4850 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
4854 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4857 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4858 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
4862 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4865 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4867 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4885 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4888 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4889 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
4893 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4897 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
4901 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4904 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4905 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
4909 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4912 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4913 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4923 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4926 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4927 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4931 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4935 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4939 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4942 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4943 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
4947 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4950 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4951 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4961 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4964 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4965 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4969 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4973 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
4977 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
4980 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
4981 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
4985 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
4988 SenaryForEachVoxelIfBody_4Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
4989 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
4999 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5002 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5003 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5007 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5011 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5015 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5018 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5019 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
5030 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5049 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
5055 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
5061 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
5074 const int T = (attr.
_dt ? attr.
_t : 1);
5076 for (
int l = 0; l < T; ++l)
5077 for (
int k = 0; k < attr.
_z; ++k)
5078 for (
int j = 0; j < attr.
_y; ++j)
5079 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
5096 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5106 const int bi = re.cols().begin();
5107 const int bj = re.rows().begin();
5108 const int ei = re.cols().end();
5109 const int ej = re.rows().end();
5111 const int s1 = im6.
GetX() - (ei - bi);
5120 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
5121 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5131 const int bi = re.cols ().begin();
5132 const int bj = re.rows ().begin();
5133 const int bk = re.pages().begin();
5134 const int ei = re.cols ().end();
5135 const int ej = re.rows ().end();
5136 const int ek = re.pages().end();
5138 const int s1 = im6.
GetX() - (ei - bi);
5139 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
5148 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
5149 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
5150 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5162 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
5181 VoxelFunc &vf, OutsideFunc &of)
5183 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
5189 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
5195 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
5208 const int T = (attr.
_dt ? attr.
_t : 1);
5210 for (
int l = 0; l < T; ++l)
5211 for (
int k = 0; k < attr.
_z; ++k)
5212 for (
int j = 0; j < attr.
_y; ++j)
5213 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
5214 if (Domain::IsInside(im6, i, j, k, l, p6)) {
5232 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5233 if (Domain::IsInside(im6, idx, p6)) {
5244 const int bi = re.cols().begin();
5245 const int bj = re.rows().begin();
5246 const int ei = re.cols().end();
5247 const int ej = re.rows().end();
5249 const int s1 = im6.
GetX() - (ei - bi);
5258 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
5259 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5260 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
5271 const int bi = re.cols ().begin();
5272 const int bj = re.rows ().begin();
5273 const int bk = re.pages().begin();
5274 const int ei = re.cols ().end();
5275 const int ej = re.rows ().end();
5276 const int ek = re.pages().end();
5278 const int s1 = im6.
GetX() - (ei - bi);
5279 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
5288 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
5289 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
5290 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
5291 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
5309 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5312 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5315 vf.join(body._VoxelFunc);
5319 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5322 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5323 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5327 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5331 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5333 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5336 vf.join(body._VoxelFunc);
5341 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5344 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5345 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5349 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5352 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5358 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5361 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5362 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5366 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5369 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5375 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5378 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5379 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5383 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5386 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5392 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5395 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5396 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5400 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5403 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5409 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5412 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5413 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5421 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5424 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5427 vf.join(body._VoxelFunc);
5431 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5434 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5435 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
5439 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5443 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
5445 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5448 vf.join(body._VoxelFunc);
5453 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5456 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5457 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
5461 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5464 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5470 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5473 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5474 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
5478 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5481 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5487 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5490 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5491 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
5495 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5498 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5504 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5507 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5508 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
5512 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5515 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
5521 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5524 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5525 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
5537 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5540 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5543 vf.join(body._VoxelFunc);
5544 of.join(body._OutsideFunc);
5548 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5551 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5552 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5556 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5560 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5564 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5567 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5568 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5572 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5576 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5578 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5581 vf.join(body._VoxelFunc);
5582 of.join(body._OutsideFunc);
5587 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5590 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5591 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5595 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5599 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5603 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5606 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5607 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5611 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5614 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5621 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5624 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5625 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5629 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5633 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5640 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5641 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5645 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5648 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5658 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5659 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5666 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5673 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5676 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5677 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5681 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5685 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5689 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5692 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5693 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5697 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5700 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5707 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5710 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5711 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5715 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5719 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
5723 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5726 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5727 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
5735 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5738 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5741 vf.join(body._VoxelFunc);
5742 of.join(body._OutsideFunc);
5746 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5749 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5750 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
5754 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5758 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
5762 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5765 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5766 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
5770 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5774 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
5776 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5779 vf.join(body._VoxelFunc);
5780 of.join(body._OutsideFunc);
5785 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5788 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5789 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
5793 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5797 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
5801 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5804 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5805 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
5809 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5812 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5819 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5822 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5823 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
5827 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5831 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
5835 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5838 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5839 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
5843 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5846 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5853 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5856 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5857 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5861 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5864 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5871 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5874 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5875 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5879 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5883 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5887 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5890 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5891 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
5895 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5898 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
5905 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
5908 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5909 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5913 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5917 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
5921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5924 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5925 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
5937 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5940 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5947 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5950 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5951 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5955 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5959 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5961 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5969 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5972 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
5973 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5977 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
5980 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
5982 if (VoxelFunc::IsReduction()) {
5999 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6002 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6003 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6007 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6010 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6016 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6019 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6020 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6024 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6027 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6033 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6036 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6037 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6041 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6044 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6050 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6053 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6054 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6062 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6065 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6072 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6075 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6076 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
6080 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6084 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
6086 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6094 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6097 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6098 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
6102 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6105 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6107 if (VoxelFunc::IsReduction()) {
6124 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6127 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6128 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
6132 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6135 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6141 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6144 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6145 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
6149 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6152 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6158 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6161 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6162 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
6166 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6169 SenaryForEachVoxelBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
6175 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6178 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6179 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
6191 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6194 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6196 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6206 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6209 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6210 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6214 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6218 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6222 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6225 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6226 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6230 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6234 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6236 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6238 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6249 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6252 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6253 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6257 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6261 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6265 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6268 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6269 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6273 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6276 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6278 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6296 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6299 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6300 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6304 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6308 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6312 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6315 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6316 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6320 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6323 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6324 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6334 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6337 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6338 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6342 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6346 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6350 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6353 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6354 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6358 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6361 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6362 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6372 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6375 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6376 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6380 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6384 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6388 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6391 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6392 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6396 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6399 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6400 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6410 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6413 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6414 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6418 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6422 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
6426 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6429 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6430 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
6438 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6441 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6443 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6453 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6456 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6457 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
6461 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6465 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
6469 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6472 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6473 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
6477 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6481 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
6483 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6485 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6496 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6499 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6500 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
6504 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6508 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
6512 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6515 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6516 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
6520 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6523 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6525 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6543 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6546 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6547 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
6551 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6555 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
6559 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6562 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6563 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
6567 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6570 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6571 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6581 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6584 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6585 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6593 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6597 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6600 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6601 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
6605 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6608 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6609 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6619 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6622 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6623 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6627 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6631 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6635 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6638 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6639 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
6643 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6646 SenaryForEachVoxelIfBody_3Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
6647 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
6657 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
6660 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6661 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6665 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6669 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
6673 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6676 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6677 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
6688 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6707 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
6713 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
6719 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
6732 const int T = (attr.
_dt ? attr.
_t : 1);
6734 for (
int l = 0; l < T; ++l)
6735 for (
int k = 0; k < attr.
_z; ++k)
6736 for (
int j = 0; j < attr.
_y; ++j)
6737 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
6754 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6764 const int bi = re.cols().begin();
6765 const int bj = re.rows().begin();
6766 const int ei = re.cols().end();
6767 const int ej = re.rows().end();
6769 const int s1 = im6.
GetX() - (ei - bi);
6778 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
6779 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6789 const int bi = re.cols ().begin();
6790 const int bj = re.rows ().begin();
6791 const int bk = re.pages().begin();
6792 const int ei = re.cols ().end();
6793 const int ej = re.rows ().end();
6794 const int ek = re.pages().end();
6796 const int s1 = im6.
GetX() - (ei - bi);
6797 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
6806 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
6807 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
6808 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6820 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
6839 VoxelFunc &vf, OutsideFunc &of)
6841 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
6847 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
6853 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
6866 const int T = (attr.
_dt ? attr.
_t : 1);
6868 for (
int l = 0; l < T; ++l)
6869 for (
int k = 0; k < attr.
_z; ++k)
6870 for (
int j = 0; j < attr.
_y; ++j)
6871 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
6872 if (Domain::IsInside(im6, i, j, k, l, p6)) {
6890 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6891 if (Domain::IsInside(im6, idx, p6)) {
6902 const int bi = re.cols().begin();
6903 const int bj = re.rows().begin();
6904 const int ei = re.cols().end();
6905 const int ej = re.rows().end();
6907 const int s1 = im6.
GetX() - (ei - bi);
6916 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
6917 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6918 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
6929 const int bi = re.cols ().begin();
6930 const int bj = re.rows ().begin();
6931 const int bk = re.pages().begin();
6932 const int ei = re.cols ().end();
6933 const int ej = re.rows ().end();
6934 const int ek = re.pages().end();
6936 const int s1 = im6.
GetX() - (ei - bi);
6937 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
6946 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
6947 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
6948 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
6949 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
6967 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6970 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6973 vf.join(body._VoxelFunc);
6977 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6980 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
6981 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6985 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
6989 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6991 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
6994 vf.join(body._VoxelFunc);
6999 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7002 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7003 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7007 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7010 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7016 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7019 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7020 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7024 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7027 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7033 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7036 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7037 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7041 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7044 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7050 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7053 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7054 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7058 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7061 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7067 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7070 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7071 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7079 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7082 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7085 vf.join(body._VoxelFunc);
7089 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7092 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7093 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
7097 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7101 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
7103 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7106 vf.join(body._VoxelFunc);
7111 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7114 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7115 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
7119 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7122 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7128 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7131 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7132 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
7136 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7139 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7145 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7148 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7149 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7153 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7156 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7162 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7165 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7166 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7170 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7173 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7179 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7182 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7183 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7198 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7201 vf.join(body._VoxelFunc);
7202 of.join(body._OutsideFunc);
7206 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7209 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7210 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7214 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7218 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7222 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7225 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7226 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7230 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7234 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7236 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7239 vf.join(body._VoxelFunc);
7240 of.join(body._OutsideFunc);
7245 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7248 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7249 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7253 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7257 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7261 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7264 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7265 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7269 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7272 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7279 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7282 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7283 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7287 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7291 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7295 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7298 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7299 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7303 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7306 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7313 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7316 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7317 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7321 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7324 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7331 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7334 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7335 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7339 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7343 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7347 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7350 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7351 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7355 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7358 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7365 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7368 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7369 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7373 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7377 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7381 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7384 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7385 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7393 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7396 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7399 vf.join(body._VoxelFunc);
7400 of.join(body._OutsideFunc);
7404 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7407 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7408 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
7412 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7416 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
7420 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7423 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7424 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
7428 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7432 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
7434 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7437 vf.join(body._VoxelFunc);
7438 of.join(body._OutsideFunc);
7443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7446 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7447 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
7451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7455 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
7459 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7462 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7463 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
7467 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7470 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7477 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7480 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7481 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
7485 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7489 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
7493 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7496 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7497 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
7501 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7504 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7514 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7515 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
7519 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7522 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7529 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7532 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7533 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
7537 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7541 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
7545 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7548 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7549 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
7553 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7556 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
7563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7566 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7567 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
7571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7575 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
7579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7582 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7583 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
7595 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7598 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7605 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7608 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7609 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7613 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7617 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7619 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7627 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7630 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7631 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7635 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7638 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7640 if (VoxelFunc::IsReduction()) {
7657 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7660 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7661 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7665 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7668 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7674 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7677 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7678 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7682 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7685 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7691 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7694 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7695 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7699 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7702 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7708 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7711 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7712 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7720 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7723 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7730 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7733 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7734 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
7738 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7742 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
7744 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7752 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7755 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7756 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
7760 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7763 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7765 if (VoxelFunc::IsReduction()) {
7782 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7785 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7786 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
7790 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7793 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7799 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7802 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7803 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7807 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7810 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7816 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7819 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7820 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7824 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7827 SenaryForEachVoxelBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
7833 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7836 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7837 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
7849 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7852 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7854 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7864 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7867 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7868 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7872 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7876 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7880 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7883 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7884 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7888 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7892 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7894 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7896 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7907 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7910 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7911 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7915 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7919 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7923 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7926 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7927 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
7931 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7934 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7936 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7954 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7957 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7958 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7962 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7966 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7970 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
7973 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7974 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
7978 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7981 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
7982 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
7992 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
7995 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
7996 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8000 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8004 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8008 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8011 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8012 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8016 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8019 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8020 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8030 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8033 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8034 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8038 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8042 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8046 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8049 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8050 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8054 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8057 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8058 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8068 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8071 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8072 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8076 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8080 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8084 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8087 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8088 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8096 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8099 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8101 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8111 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8114 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8115 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
8119 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8123 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
8127 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8130 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8131 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
8135 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8139 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
8141 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8143 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8154 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8157 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8158 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
8162 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8166 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
8170 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8173 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8174 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
8178 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8181 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8183 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8201 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8204 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8205 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
8209 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8213 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
8217 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8220 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8221 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
8225 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8228 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8229 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8239 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8242 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8243 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8247 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8251 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8255 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8258 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8259 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
8263 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8266 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8267 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8277 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8280 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8281 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8285 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8289 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8293 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8296 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8297 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
8301 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8304 SenaryForEachVoxelIfBody_2Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
8305 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
8315 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8318 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8319 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8323 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8327 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
8331 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8334 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8335 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
8346 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8365 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
8371 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
8377 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
8390 const int T = (attr.
_dt ? attr.
_t : 1);
8392 for (
int l = 0; l < T; ++l)
8393 for (
int k = 0; k < attr.
_z; ++k)
8394 for (
int j = 0; j < attr.
_y; ++j)
8395 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
8412 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8422 const int bi = re.cols().begin();
8423 const int bj = re.rows().begin();
8424 const int ei = re.cols().end();
8425 const int ej = re.rows().end();
8427 const int s1 = im6.
GetX() - (ei - bi);
8436 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
8437 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8447 const int bi = re.cols ().begin();
8448 const int bj = re.rows ().begin();
8449 const int bk = re.pages().begin();
8450 const int ei = re.cols ().end();
8451 const int ej = re.rows ().end();
8452 const int ek = re.pages().end();
8454 const int s1 = im6.
GetX() - (ei - bi);
8455 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
8464 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
8465 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
8466 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8478 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
8497 VoxelFunc &vf, OutsideFunc &of)
8499 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
8505 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
8511 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
8524 const int T = (attr.
_dt ? attr.
_t : 1);
8526 for (
int l = 0; l < T; ++l)
8527 for (
int k = 0; k < attr.
_z; ++k)
8528 for (
int j = 0; j < attr.
_y; ++j)
8529 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
8530 if (Domain::IsInside(im6, i, j, k, l, p6)) {
8548 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8549 if (Domain::IsInside(im6, idx, p6)) {
8560 const int bi = re.cols().begin();
8561 const int bj = re.rows().begin();
8562 const int ei = re.cols().end();
8563 const int ej = re.rows().end();
8565 const int s1 = im6.
GetX() - (ei - bi);
8574 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
8575 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8576 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
8587 const int bi = re.cols ().begin();
8588 const int bj = re.rows ().begin();
8589 const int bk = re.pages().begin();
8590 const int ei = re.cols ().end();
8591 const int ej = re.rows ().end();
8592 const int ek = re.pages().end();
8594 const int s1 = im6.
GetX() - (ei - bi);
8595 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
8604 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
8605 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
8606 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
8607 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
8625 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8628 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8631 vf.join(body._VoxelFunc);
8635 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8638 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8639 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8643 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8647 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8649 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8652 vf.join(body._VoxelFunc);
8657 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8660 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8661 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8665 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8668 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8674 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8677 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8678 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8682 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8685 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8691 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8694 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8695 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8699 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8702 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8708 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8711 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8712 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8716 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8719 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8725 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8728 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8729 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8737 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8740 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8743 vf.join(body._VoxelFunc);
8747 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8750 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8751 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
8755 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8759 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
8761 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8764 vf.join(body._VoxelFunc);
8769 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8772 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8773 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
8777 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8780 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8786 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8789 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8790 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
8794 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8797 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8803 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8806 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8807 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
8811 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8814 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8820 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8823 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8824 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
8828 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8831 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
8837 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8840 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8841 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
8853 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8856 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8859 vf.join(body._VoxelFunc);
8860 of.join(body._OutsideFunc);
8864 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8867 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8868 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8872 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8876 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8880 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8883 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8884 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8888 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8892 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8894 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8897 vf.join(body._VoxelFunc);
8898 of.join(body._OutsideFunc);
8903 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8906 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8907 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8911 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8915 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8919 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8922 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8923 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
8927 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8930 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8937 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8940 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8941 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8945 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8949 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8953 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
8956 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8957 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
8961 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8964 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8971 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8974 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8975 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8979 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8982 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8989 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
8992 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
8993 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
8997 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9001 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9005 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9008 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9009 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9013 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9016 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9023 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9026 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9027 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9031 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9035 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9039 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9042 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9043 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9051 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9054 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9057 vf.join(body._VoxelFunc);
9058 of.join(body._OutsideFunc);
9062 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9065 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9066 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9070 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9074 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9078 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9081 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9082 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
9086 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9090 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9092 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9095 vf.join(body._VoxelFunc);
9096 of.join(body._OutsideFunc);
9101 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9104 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9105 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9109 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9113 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9117 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9120 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9121 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
9125 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9128 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9135 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9138 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9139 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
9143 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9147 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
9151 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9154 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9155 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
9159 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9162 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9169 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9172 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9173 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9177 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9180 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9187 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9190 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9191 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9195 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9199 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9203 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9206 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9207 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
9211 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9214 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9221 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9224 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9225 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9229 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9233 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9237 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9240 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9241 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
9253 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9256 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9263 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9266 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9267 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9271 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9275 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9277 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9285 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9288 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9289 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9293 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9296 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9298 if (VoxelFunc::IsReduction()) {
9315 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9318 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9319 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9323 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9326 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9332 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9335 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9336 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9340 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9343 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9349 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9352 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9353 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9357 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9360 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9366 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9369 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9370 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9378 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9381 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9388 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9391 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9392 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
9396 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9400 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
9402 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9410 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9413 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9414 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
9418 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9421 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9423 if (VoxelFunc::IsReduction()) {
9440 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9443 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9444 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
9448 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9451 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9457 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9460 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9461 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
9465 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9468 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9474 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9477 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9478 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
9482 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9485 SenaryForEachVoxelBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
9491 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9494 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9495 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
9507 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9510 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9512 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9522 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9525 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9526 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9530 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9534 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9538 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9541 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9542 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9546 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9550 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9552 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9554 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9565 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9568 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9569 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9573 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9577 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9581 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9584 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9585 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
9589 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9592 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9594 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9612 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9615 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9616 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9620 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9624 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9628 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9631 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9632 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9636 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9639 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9640 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9650 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9653 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9654 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9658 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9662 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9666 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9669 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9670 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9674 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9677 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9678 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9688 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9691 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9692 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9696 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9700 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9704 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9707 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9708 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9712 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9715 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9716 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9726 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9729 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9730 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9734 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9738 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
9742 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9745 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9746 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
9754 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9757 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9759 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9769 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9772 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9773 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9777 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9781 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9785 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9788 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9789 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
9793 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9797 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9799 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9801 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9812 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9815 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9816 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9820 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9824 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
9828 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9831 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9832 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
9836 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9839 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9841 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9859 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9862 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9863 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
9867 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9871 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
9875 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9878 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9879 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
9883 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9886 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9887 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9897 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9900 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9901 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9905 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9909 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9913 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9916 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9917 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
9921 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9924 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9925 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9935 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9938 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9939 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9943 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9947 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9951 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9954 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9955 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
9959 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9962 SenaryForEachVoxelIfBody_1Const<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
9963 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
9973 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
9976 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9977 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9981 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9985 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
9989 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
9992 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
9993 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
10004 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10023 ForEachVoxelBody<VoxelFunc>(vf, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
10029 ForEachVoxelBody<VoxelFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
10035 ForEachVoxelBody<VoxelFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
10048 const int T = (attr.
_dt ? attr.
_t : 1);
10050 for (
int l = 0; l < T; ++l)
10051 for (
int k = 0; k < attr.
_z; ++k)
10052 for (
int j = 0; j < attr.
_y; ++j)
10053 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
10070 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10080 const int bi = re.cols().begin();
10081 const int bj = re.rows().begin();
10082 const int ei = re.cols().end();
10083 const int ej = re.rows().end();
10085 const int s1 = im6.
GetX() - (ei - bi);
10094 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
10095 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10105 const int bi = re.cols ().begin();
10106 const int bj = re.rows ().begin();
10107 const int bk = re.pages().begin();
10108 const int ei = re.cols ().end();
10109 const int ej = re.rows ().end();
10110 const int ek = re.pages().end();
10112 const int s1 = im6.
GetX() - (ei - bi);
10113 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
10122 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
10123 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
10124 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10136 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
10155 VoxelFunc &vf, OutsideFunc &of)
10157 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(vf, of, im1.Attributes()), im1(im1), im2(im2), im3(im3), im4(im4), im5(im5), im6(im6)
10163 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
10169 ForEachVoxelIfBody<VoxelFunc, OutsideFunc>(o, s), im1(o.im1), im2(o.im2), im3(o.im3), im4(o.im4), im5(o.im5), im6(o.im6)
10182 const int T = (attr.
_dt ? attr.
_t : 1);
10184 for (
int l = 0; l < T; ++l)
10185 for (
int k = 0; k < attr.
_z; ++k)
10186 for (
int j = 0; j < attr.
_y; ++j)
10187 for (
int i = 0; i < attr.
_x; ++i, ++p1, ++p2, ++p3, ++p4, ++p5, ++p6) {
10188 if (Domain::IsInside(im6, i, j, k, l, p6)) {
10206 for (
int idx = re.begin(); idx < re.end(); ++idx, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10207 if (Domain::IsInside(im6, idx, p6)) {
10218 const int bi = re.cols().begin();
10219 const int bj = re.rows().begin();
10220 const int ei = re.cols().end();
10221 const int ej = re.rows().end();
10223 const int s1 = im6.
GetX() - (ei - bi);
10232 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
10233 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10234 if (Domain::IsInside(im6, i, j, this->_k, this->
_l, p6)) {
10245 const int bi = re.cols ().begin();
10246 const int bj = re.rows ().begin();
10247 const int bk = re.pages().begin();
10248 const int ei = re.cols ().end();
10249 const int ej = re.rows ().end();
10250 const int ek = re.pages().end();
10252 const int s1 = im6.
GetX() - (ei - bi);
10253 const int s2 = (im6.
GetY() - (ej - bj)) * im6.
GetX();
10262 for (
int k = bk; k < ek; ++k, p1 += s2, p2 += s2, p3 += s2, p4 += s2, p5 += s2, p6 += s2)
10263 for (
int j = bj; j < ej; ++j, p1 += s1, p2 += s1, p3 += s1, p4 += s1, p5 += s1, p6 += s1)
10264 for (
int i = bi; i < ei; ++i, p1 += 1, p2 += 1, p3 += 1, p4 += 1, p5 += 1, p6 += 1) {
10265 if (Domain::IsInside(im6, i, j, k, this->
_l, p6)) {
10283 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10286 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10289 vf.join(body._VoxelFunc);
10293 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10296 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10297 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10301 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10305 ForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10307 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10310 vf.join(body._VoxelFunc);
10315 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10318 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10319 ForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10323 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10326 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10332 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10335 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10336 ForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10340 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10343 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10349 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10352 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10353 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10357 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10360 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10366 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10369 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10370 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10374 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10377 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10383 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10386 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10387 ForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10395 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10398 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10401 vf.join(body._VoxelFunc);
10405 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10408 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10409 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
10413 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10417 ForEachScalar(im1, im2, im3, im4, im5, im6, vf);
10419 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10422 vf.join(body._VoxelFunc);
10427 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10430 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10431 ForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
10435 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10438 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10444 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10447 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10448 ForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
10452 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10455 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10461 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10464 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10465 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
10469 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10472 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10478 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10481 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10482 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
10486 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10489 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
10495 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10498 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10499 ForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
10511 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10514 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10517 vf.join(body._VoxelFunc);
10518 of.join(body._OutsideFunc);
10522 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10525 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10526 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10530 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10534 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10538 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10541 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10542 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10546 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10550 ForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10552 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10555 vf.join(body._VoxelFunc);
10556 of.join(body._OutsideFunc);
10561 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10564 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10565 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10569 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10573 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10577 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10580 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10581 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10585 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10588 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10595 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10598 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10599 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10603 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10607 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10611 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10614 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10615 ForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10619 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10622 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10629 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10632 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10633 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10637 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10640 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10650 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10651 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10655 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10659 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10663 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10666 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10667 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10671 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10674 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10681 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10684 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10685 ForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10689 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10693 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
10697 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10700 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10701 ForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10709 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10712 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10715 vf.join(body._VoxelFunc);
10716 of.join(body._OutsideFunc);
10720 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10723 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10724 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
10728 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10732 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
10736 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10739 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10740 ForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
10744 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10748 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
10750 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10753 vf.join(body._VoxelFunc);
10754 of.join(body._OutsideFunc);
10759 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10762 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10763 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
10767 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10771 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
10775 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10778 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10779 ForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
10783 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10786 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10793 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10796 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10797 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
10801 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10805 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
10809 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10812 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10813 ForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
10817 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10820 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10827 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10830 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10831 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
10835 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10838 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10845 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10848 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10849 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
10853 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10857 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
10861 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10864 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10865 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
10869 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10872 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
10879 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
10882 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10883 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
10887 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10891 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
10895 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10898 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10899 ForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
10911 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10914 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10921 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10924 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10925 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10929 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10933 ParallelForEachScalar(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10935 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10943 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10946 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10947 ParallelForEachVoxel(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10951 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10954 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10956 if (VoxelFunc::IsReduction()) {
10973 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10976 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10977 ParallelForEachVoxel(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10981 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10984 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
10990 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
10993 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
10994 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
10998 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11001 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
11007 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11010 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11011 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11015 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11018 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(*im1, *im2, *im3, *im4, *im5, *im6, vf);
11024 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11027 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11028 ParallelForEachVoxel(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11036 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11039 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11046 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11049 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11050 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
11054 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11058 ParallelForEachScalar(im1, im2, im3, im4, im5, im6, vf);
11060 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11068 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11071 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11072 ParallelForEachVoxel(im1, im2, im3, im4, im5, im6, vf);
11076 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11079 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11081 if (VoxelFunc::IsReduction()) {
11098 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11101 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11102 ParallelForEachVoxel(attr, im1, im2, im3, im4, im5, im6, vf);
11106 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11109 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11115 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11118 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11119 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
11123 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11126 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11132 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11135 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11136 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
11140 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11143 SenaryForEachVoxelBody<T1, T2, T3, T4, T5, T6, VoxelFunc> body(im1, im2, im3, im4, im5, im6, vf);
11149 template <
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11152 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11153 ParallelForEachVoxel(re, im1, im2, im3, im4, im5, im6, vf);
11165 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11168 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11170 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11180 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11183 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11184 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11188 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11192 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11196 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11199 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11200 ParallelForEachScalarIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
11204 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11208 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11210 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11212 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11223 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11226 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11227 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11231 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11235 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11239 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11242 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11243 ParallelForEachVoxelIf<Domain>(*im1, *im2, *im3, *im4, *im5, *im6, vf);
11247 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11250 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11252 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11270 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11273 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11274 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11278 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11282 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11286 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11289 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11290 ParallelForEachVoxelIf<Domain>(attr, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11294 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11297 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11298 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11308 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11311 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11312 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11316 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11320 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11324 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11327 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11328 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11332 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11335 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11336 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11346 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11349 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11350 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11354 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11358 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11362 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11365 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11366 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11370 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11373 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(*im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11374 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11384 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11387 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11388 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11392 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11396 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf, of);
11400 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11403 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11404 ParallelForEachVoxelIf<Domain>(re, *im1, *im2, *im3, *im4, *im5, *im6, vf);
11412 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11415 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11417 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11427 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11430 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11431 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
11435 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11439 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
11443 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11446 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11447 ParallelForEachScalarIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
11451 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11455 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
11457 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11459 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11470 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11473 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11474 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
11478 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11482 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf, of);
11486 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11489 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11490 ParallelForEachVoxelIf<Domain>(im1, im2, im3, im4, im5, im6, vf);
11494 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11497 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11499 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11517 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11520 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11521 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
11525 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11529 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf, of);
11533 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11536 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11537 ParallelForEachVoxelIf<Domain>(attr, im1, im2, im3, im4, im5, im6, vf);
11541 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11544 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11545 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11555 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11558 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11559 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11563 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11567 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11571 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11574 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11575 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
11579 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11582 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11583 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11593 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11596 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11597 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11601 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11605 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11609 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11612 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11613 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
11617 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11620 SenaryForEachVoxelIfBody<T1, T2, T3, T4, T5, T6, VoxelFunc, OutsideFunc, Domain> body(im1, im2, im3, im4, im5, im6, vf, of);
11621 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) {
11631 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc,
class Outs
ideFunc>
11634 if (VoxelFunc::IsReduction() || OutsideFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11635 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11639 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11643 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf, of);
11647 template <
class Domain,
class T1,
class T2,
class T3,
class T4,
class T5,
class T6,
class VoxelFunc>
11650 if (VoxelFunc::IsReduction()) _foreachsenaryvoxelfunction_must_not_be_reduction();
11651 ParallelForEachVoxelIf<Domain>(re, im1, im2, im3, im4, im5, im6, vf);
double _dt
Voxel t-dimensions (in ms)
Dummy type used to distinguish split constructor from copy constructor.
SenaryForEachVoxelBody_Const(const SenaryForEachVoxelBody_Const &o)
Copy constructor.
SenaryForEachVoxelBody_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, VoxelFunc &vf)
Constructor.
SenaryForEachVoxelIfBody_1Const(const SenaryForEachVoxelIfBody_1Const &o)
Copy constructor.
SenaryForEachVoxelBody_4Const(const SenaryForEachVoxelBody_4Const &o)
Copy constructor.
SenaryForEachVoxelIfBody_5Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
bool IsEmpty() const
Whether image is uninitialized.
SenaryForEachVoxelIfBody_3Const(SenaryForEachVoxelIfBody_3Const &o, split s)
Split constructor.
SenaryForEachVoxelIfBody_Const(const SenaryForEachVoxelIfBody_Const &o)
Copy constructor.
SenaryForEachVoxelBody_2Const(const SenaryForEachVoxelBody_2Const &o)
Copy constructor.
SenaryForEachVoxelBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
SenaryForEachVoxelBody_4Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
int _y
Image y-dimension (in voxels)
SenaryForEachVoxelIfBody_3Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SenaryForEachVoxelBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
SenaryForEachVoxelBody_3Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
SenaryForEachVoxelBody_5Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, const GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
VoxelFunc _VoxelFunc
Functor executed for each voxel.
SenaryForEachVoxelIfBody_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, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SenaryForEachVoxelIfBody_2Const(SenaryForEachVoxelIfBody_2Const &o, split s)
Split constructor.
SenaryForEachVoxelBody_5Const(const SenaryForEachVoxelBody_5Const &o)
Copy constructor.
SenaryForEachVoxelBody(const SenaryForEachVoxelBody &o)
Copy constructor.
SenaryForEachVoxelIfBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SenaryForEachVoxelBody_2Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf)
Constructor.
void operator()(const ImageAttributes &attr) const
Process entire image.
SenaryForEachVoxelBody_Const(SenaryForEachVoxelBody_Const &o, split s)
Split constructor.
SenaryForEachVoxelIfBody_1Const(SenaryForEachVoxelIfBody_1Const &o, split s)
Split constructor.
VoxelType * GetPointerToVoxels(int=0, int=0, int=0, int=0)
int GetX() const
Returns the number of voxels in the x-direction.
int _z
Image z-dimension (in voxels)
SenaryForEachVoxelBody(SenaryForEachVoxelBody &o, split s)
Split constructor.
int _l
Indices for fixed dimensions.
int _t
Image t-dimension (in voxels)
int GetT() const
Returns the number of voxels in the t-direction.
SenaryForEachVoxelIfBody_1Const(const GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SenaryForEachVoxelIfBody(SenaryForEachVoxelIfBody &o, split s)
Split constructor.
int GetY() const
Returns the number of voxels in the y-direction.
SenaryForEachVoxelBody_1Const(const SenaryForEachVoxelBody_1Const &o)
Copy constructor.
SenaryForEachVoxelBody_5Const(SenaryForEachVoxelBody_5Const &o, split s)
Split constructor.
int GetNumberOfVoxels() const
SenaryForEachVoxelIfBody(GenericImage< T1 > &im1, GenericImage< T2 > &im2, GenericImage< T3 > &im3, GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
OutsideFunc _OutsideFunc
Functor executed for each background voxel.
SenaryForEachVoxelIfBody_Const(SenaryForEachVoxelIfBody_Const &o, split s)
Split constructor.
SenaryForEachVoxelIfBody_4Const(const GenericImage< T1 > &im1, const GenericImage< T2 > &im2, const GenericImage< T3 > &im3, const GenericImage< T4 > &im4, GenericImage< T5 > &im5, GenericImage< T6 > &im6, VoxelFunc &vf, OutsideFunc &of)
Constructor.
SenaryForEachVoxelIfBody_4Const(const SenaryForEachVoxelIfBody_4Const &o)
Copy constructor.
SenaryForEachVoxelBody_1Const(SenaryForEachVoxelBody_1Const &o, split s)
Split constructor.
SenaryForEachVoxelBody_3Const(const SenaryForEachVoxelBody_3Const &o)
Copy constructor.
double GetTSize() const
Returns the size of a voxel in the t-direction.
SenaryForEachVoxelIfBody_2Const(const SenaryForEachVoxelIfBody_2Const &o)
Copy constructor.
SenaryForEachVoxelBody_2Const(SenaryForEachVoxelBody_2Const &o, split s)
Split constructor.
SenaryForEachVoxelIfBody(const SenaryForEachVoxelIfBody &o)
Copy constructor.
SenaryForEachVoxelIfBody_4Const(SenaryForEachVoxelIfBody_4Const &o, split s)
Split constructor.
SenaryForEachVoxelIfBody_5Const(SenaryForEachVoxelIfBody_5Const &o, split s)
Split constructor.
int _x
Image x-dimension (in voxels)
SenaryForEachVoxelIfBody_3Const(const SenaryForEachVoxelIfBody_3Const &o)
Copy constructor.
void parallel_reduce(const Range &range, Body &body)
parallel_reduce dummy template function which executes the body serially
SenaryForEachVoxelIfBody_5Const(const SenaryForEachVoxelIfBody_5Const &o)
Copy constructor.
void parallel_for(const Range &range, const Body &body)
parallel_for dummy template function which executes the body serially
SenaryForEachVoxelBody_3Const(SenaryForEachVoxelBody_3Const &o, split s)
Split constructor.
SenaryForEachVoxelBody_4Const(SenaryForEachVoxelBody_4Const &o, split s)
Split constructor.