00001
00002
00003
00004 #define CallWithImage3DAll_0(fct,typeName)\
00005 if(typeName=="Image3Df"){fct< Image3Df >();}\
00006 else\
00007 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00008 else\
00009 if(typeName=="Mask3D"){fct< Mask3D >();}\
00010 else\
00011 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00012 else\
00013 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00014 else\
00015 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00016 else\
00017 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00018 else\
00019 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >();}\
00020 else\
00021 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >();}\
00022 else\
00023 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >();}\
00024 else\
00025 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >();}\
00026 else\
00027 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >();}\
00028 else\
00029 {ThrowError("CallWithImage3DAll_0 failed, type \"%s\" is not in template group \"Image3DAll\"",typeName);}
00030 #define CallWithImage3DAll_1(fct,typeName,a0)\
00031 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00032 else\
00033 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00034 else\
00035 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00036 else\
00037 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00038 else\
00039 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00040 else\
00041 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00042 else\
00043 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00044 else\
00045 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0);}\
00046 else\
00047 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0);}\
00048 else\
00049 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0);}\
00050 else\
00051 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0);}\
00052 else\
00053 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0);}\
00054 else\
00055 {ThrowError("CallWithImage3DAll_1 failed, type \"%s\" is not in template group \"Image3DAll\"",typeName);}
00056 #define CallWithImage3DAll_2(fct,typeName,a0,a1)\
00057 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00058 else\
00059 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00060 else\
00061 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00062 else\
00063 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00064 else\
00065 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00066 else\
00067 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00068 else\
00069 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00070 else\
00071 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1);}\
00072 else\
00073 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1);}\
00074 else\
00075 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1);}\
00076 else\
00077 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1);}\
00078 else\
00079 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1);}\
00080 else\
00081 {ThrowError("CallWithImage3DAll_2 failed, type \"%s\" is not in template group \"Image3DAll\"",typeName);}
00082 #define CallWithImage3DAll_3(fct,typeName,a0,a1,a2)\
00083 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00084 else\
00085 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00086 else\
00087 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00088 else\
00089 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00090 else\
00091 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00092 else\
00093 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00094 else\
00095 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00096 else\
00097 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2);}\
00098 else\
00099 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2);}\
00100 else\
00101 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2);}\
00102 else\
00103 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2);}\
00104 else\
00105 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2);}\
00106 else\
00107 {ThrowError("CallWithImage3DAll_3 failed, type \"%s\" is not in template group \"Image3DAll\"",typeName);}
00108 #define CallWithImage3DAll_4(fct,typeName,a0,a1,a2,a3)\
00109 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00110 else\
00111 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00112 else\
00113 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00114 else\
00115 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00116 else\
00117 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00118 else\
00119 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00120 else\
00121 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00122 else\
00123 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2,a3);}\
00124 else\
00125 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2,a3);}\
00126 else\
00127 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2,a3);}\
00128 else\
00129 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2,a3);}\
00130 else\
00131 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2,a3);}\
00132 else\
00133 {ThrowError("CallWithImage3DAll_4 failed, type \"%s\" is not in template group \"Image3DAll\"",typeName);}
00134 #define CallWithImage3DArithmeticComparable_0(fct,typeName)\
00135 if(typeName=="Image3Df"){fct< Image3Df >();}\
00136 else\
00137 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00138 else\
00139 if(typeName=="Mask3D"){fct< Mask3D >();}\
00140 else\
00141 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00142 else\
00143 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00144 else\
00145 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >();}\
00146 else\
00147 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >();}\
00148 else\
00149 {ThrowError("CallWithImage3DArithmeticComparable_0 failed, type \"%s\" is not in template group \"Image3DArithmeticComparable\"",typeName);}
00150 #define CallWithImage3DArithmeticComparable_1(fct,typeName,a0)\
00151 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00152 else\
00153 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00154 else\
00155 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00156 else\
00157 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00158 else\
00159 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00160 else\
00161 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0);}\
00162 else\
00163 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0);}\
00164 else\
00165 {ThrowError("CallWithImage3DArithmeticComparable_1 failed, type \"%s\" is not in template group \"Image3DArithmeticComparable\"",typeName);}
00166 #define CallWithImage3DArithmeticComparable_2(fct,typeName,a0,a1)\
00167 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00168 else\
00169 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00170 else\
00171 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00172 else\
00173 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00174 else\
00175 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00176 else\
00177 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1);}\
00178 else\
00179 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1);}\
00180 else\
00181 {ThrowError("CallWithImage3DArithmeticComparable_2 failed, type \"%s\" is not in template group \"Image3DArithmeticComparable\"",typeName);}
00182 #define CallWithImage3DArithmeticComparable_3(fct,typeName,a0,a1,a2)\
00183 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00184 else\
00185 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00186 else\
00187 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00188 else\
00189 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00190 else\
00191 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00192 else\
00193 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2);}\
00194 else\
00195 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2);}\
00196 else\
00197 {ThrowError("CallWithImage3DArithmeticComparable_3 failed, type \"%s\" is not in template group \"Image3DArithmeticComparable\"",typeName);}
00198 #define CallWithImage3DArithmeticComparable_4(fct,typeName,a0,a1,a2,a3)\
00199 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00200 else\
00201 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00202 else\
00203 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00204 else\
00205 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00206 else\
00207 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00208 else\
00209 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2,a3);}\
00210 else\
00211 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2,a3);}\
00212 else\
00213 {ThrowError("CallWithImage3DArithmeticComparable_4 failed, type \"%s\" is not in template group \"Image3DArithmeticComparable\"",typeName);}
00214 #define CallWithImage3DArithmetic_0(fct,typeName)\
00215 if(typeName=="Image3Df"){fct< Image3Df >();}\
00216 else\
00217 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00218 else\
00219 if(typeName=="Mask3D"){fct< Mask3D >();}\
00220 else\
00221 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00222 else\
00223 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00224 else\
00225 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00226 else\
00227 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00228 else\
00229 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >();}\
00230 else\
00231 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >();}\
00232 else\
00233 {ThrowError("CallWithImage3DArithmetic_0 failed, type \"%s\" is not in template group \"Image3DArithmetic\"",typeName);}
00234 #define CallWithImage3DArithmetic_1(fct,typeName,a0)\
00235 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00236 else\
00237 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00238 else\
00239 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00240 else\
00241 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00242 else\
00243 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00244 else\
00245 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00246 else\
00247 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00248 else\
00249 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0);}\
00250 else\
00251 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0);}\
00252 else\
00253 {ThrowError("CallWithImage3DArithmetic_1 failed, type \"%s\" is not in template group \"Image3DArithmetic\"",typeName);}
00254 #define CallWithImage3DArithmetic_2(fct,typeName,a0,a1)\
00255 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00256 else\
00257 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00258 else\
00259 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00260 else\
00261 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00262 else\
00263 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00264 else\
00265 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00266 else\
00267 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00268 else\
00269 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1);}\
00270 else\
00271 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1);}\
00272 else\
00273 {ThrowError("CallWithImage3DArithmetic_2 failed, type \"%s\" is not in template group \"Image3DArithmetic\"",typeName);}
00274 #define CallWithImage3DArithmetic_3(fct,typeName,a0,a1,a2)\
00275 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00276 else\
00277 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00278 else\
00279 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00280 else\
00281 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00282 else\
00283 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00284 else\
00285 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00286 else\
00287 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00288 else\
00289 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2);}\
00290 else\
00291 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2);}\
00292 else\
00293 {ThrowError("CallWithImage3DArithmetic_3 failed, type \"%s\" is not in template group \"Image3DArithmetic\"",typeName);}
00294 #define CallWithImage3DArithmetic_4(fct,typeName,a0,a1,a2,a3)\
00295 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00296 else\
00297 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00298 else\
00299 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00300 else\
00301 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00302 else\
00303 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00304 else\
00305 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00306 else\
00307 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00308 else\
00309 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2,a3);}\
00310 else\
00311 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2,a3);}\
00312 else\
00313 {ThrowError("CallWithImage3DArithmetic_4 failed, type \"%s\" is not in template group \"Image3DArithmetic\"",typeName);}
00314 #define CallWithImage3DBasicCTypes_0(fct,typeName)\
00315 if(typeName=="Image3Df"){fct< Image3Df >();}\
00316 else\
00317 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00318 else\
00319 if(typeName=="Mask3D"){fct< Mask3D >();}\
00320 else\
00321 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00322 else\
00323 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00324 else\
00325 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >();}\
00326 else\
00327 {ThrowError("CallWithImage3DBasicCTypes_0 failed, type \"%s\" is not in template group \"Image3DBasicCTypes\"",typeName);}
00328 #define CallWithImage3DBasicCTypes_1(fct,typeName,a0)\
00329 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00330 else\
00331 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00332 else\
00333 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00334 else\
00335 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00336 else\
00337 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00338 else\
00339 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0);}\
00340 else\
00341 {ThrowError("CallWithImage3DBasicCTypes_1 failed, type \"%s\" is not in template group \"Image3DBasicCTypes\"",typeName);}
00342 #define CallWithImage3DBasicCTypes_2(fct,typeName,a0,a1)\
00343 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00344 else\
00345 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00346 else\
00347 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00348 else\
00349 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00350 else\
00351 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00352 else\
00353 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1);}\
00354 else\
00355 {ThrowError("CallWithImage3DBasicCTypes_2 failed, type \"%s\" is not in template group \"Image3DBasicCTypes\"",typeName);}
00356 #define CallWithImage3DBasicCTypes_3(fct,typeName,a0,a1,a2)\
00357 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00358 else\
00359 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00360 else\
00361 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00362 else\
00363 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00364 else\
00365 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00366 else\
00367 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2);}\
00368 else\
00369 {ThrowError("CallWithImage3DBasicCTypes_3 failed, type \"%s\" is not in template group \"Image3DBasicCTypes\"",typeName);}
00370 #define CallWithImage3DBasicCTypes_4(fct,typeName,a0,a1,a2,a3)\
00371 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00372 else\
00373 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00374 else\
00375 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00376 else\
00377 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00378 else\
00379 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00380 else\
00381 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2,a3);}\
00382 else\
00383 {ThrowError("CallWithImage3DBasicCTypes_4 failed, type \"%s\" is not in template group \"Image3DBasicCTypes\"",typeName);}
00384 #define CallWithImage3DLinear_0(fct,typeName)\
00385 if(typeName=="Image3Df"){fct< Image3Df >();}\
00386 else\
00387 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00388 else\
00389 if(typeName=="Mask3D"){fct< Mask3D >();}\
00390 else\
00391 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00392 else\
00393 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00394 else\
00395 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00396 else\
00397 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00398 else\
00399 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >();}\
00400 else\
00401 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >();}\
00402 else\
00403 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >();}\
00404 else\
00405 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >();}\
00406 else\
00407 {ThrowError("CallWithImage3DLinear_0 failed, type \"%s\" is not in template group \"Image3DLinear\"",typeName);}
00408 #define CallWithImage3DLinear_1(fct,typeName,a0)\
00409 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00410 else\
00411 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00412 else\
00413 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00414 else\
00415 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00416 else\
00417 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00418 else\
00419 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00420 else\
00421 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00422 else\
00423 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0);}\
00424 else\
00425 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0);}\
00426 else\
00427 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0);}\
00428 else\
00429 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0);}\
00430 else\
00431 {ThrowError("CallWithImage3DLinear_1 failed, type \"%s\" is not in template group \"Image3DLinear\"",typeName);}
00432 #define CallWithImage3DLinear_2(fct,typeName,a0,a1)\
00433 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00434 else\
00435 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00436 else\
00437 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00438 else\
00439 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00440 else\
00441 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00442 else\
00443 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00444 else\
00445 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00446 else\
00447 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1);}\
00448 else\
00449 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1);}\
00450 else\
00451 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1);}\
00452 else\
00453 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1);}\
00454 else\
00455 {ThrowError("CallWithImage3DLinear_2 failed, type \"%s\" is not in template group \"Image3DLinear\"",typeName);}
00456 #define CallWithImage3DLinear_3(fct,typeName,a0,a1,a2)\
00457 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00458 else\
00459 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00460 else\
00461 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00462 else\
00463 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00464 else\
00465 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00466 else\
00467 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00468 else\
00469 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00470 else\
00471 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2);}\
00472 else\
00473 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2);}\
00474 else\
00475 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2);}\
00476 else\
00477 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2);}\
00478 else\
00479 {ThrowError("CallWithImage3DLinear_3 failed, type \"%s\" is not in template group \"Image3DLinear\"",typeName);}
00480 #define CallWithImage3DLinear_4(fct,typeName,a0,a1,a2,a3)\
00481 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00482 else\
00483 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00484 else\
00485 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00486 else\
00487 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00488 else\
00489 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00490 else\
00491 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00492 else\
00493 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00494 else\
00495 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2,a3);}\
00496 else\
00497 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2,a3);}\
00498 else\
00499 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2,a3);}\
00500 else\
00501 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2,a3);}\
00502 else\
00503 {ThrowError("CallWithImage3DLinear_4 failed, type \"%s\" is not in template group \"Image3DLinear\"",typeName);}
00504 #define CallWithImage3DLinearNonInteger_0(fct,typeName)\
00505 if(typeName=="Image3Df"){fct< Image3Df >();}\
00506 else\
00507 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00508 else\
00509 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00510 else\
00511 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00512 else\
00513 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >();}\
00514 else\
00515 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >();}\
00516 else\
00517 {ThrowError("CallWithImage3DLinearNonInteger_0 failed, type \"%s\" is not in template group \"Image3DLinearNonInteger\"",typeName);}
00518 #define CallWithImage3DLinearNonInteger_1(fct,typeName,a0)\
00519 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00520 else\
00521 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00522 else\
00523 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00524 else\
00525 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00526 else\
00527 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0);}\
00528 else\
00529 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0);}\
00530 else\
00531 {ThrowError("CallWithImage3DLinearNonInteger_1 failed, type \"%s\" is not in template group \"Image3DLinearNonInteger\"",typeName);}
00532 #define CallWithImage3DLinearNonInteger_2(fct,typeName,a0,a1)\
00533 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00534 else\
00535 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00536 else\
00537 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00538 else\
00539 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00540 else\
00541 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1);}\
00542 else\
00543 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1);}\
00544 else\
00545 {ThrowError("CallWithImage3DLinearNonInteger_2 failed, type \"%s\" is not in template group \"Image3DLinearNonInteger\"",typeName);}
00546 #define CallWithImage3DLinearNonInteger_3(fct,typeName,a0,a1,a2)\
00547 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00548 else\
00549 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00550 else\
00551 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00552 else\
00553 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00554 else\
00555 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2);}\
00556 else\
00557 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2);}\
00558 else\
00559 {ThrowError("CallWithImage3DLinearNonInteger_3 failed, type \"%s\" is not in template group \"Image3DLinearNonInteger\"",typeName);}
00560 #define CallWithImage3DLinearNonInteger_4(fct,typeName,a0,a1,a2,a3)\
00561 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00562 else\
00563 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00564 else\
00565 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00566 else\
00567 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00568 else\
00569 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2,a3);}\
00570 else\
00571 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2,a3);}\
00572 else\
00573 {ThrowError("CallWithImage3DLinearNonInteger_4 failed, type \"%s\" is not in template group \"Image3DLinearNonInteger\"",typeName);}
00574 #define CallWithImage3DFloatCastable_0(fct,typeName)\
00575 if(typeName=="Image3Df"){fct< Image3Df >();}\
00576 else\
00577 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00578 else\
00579 if(typeName=="Mask3D"){fct< Mask3D >();}\
00580 else\
00581 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00582 else\
00583 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00584 else\
00585 {ThrowError("CallWithImage3DFloatCastable_0 failed, type \"%s\" is not in template group \"Image3DFloatCastable\"",typeName);}
00586 #define CallWithImage3DFloatCastable_1(fct,typeName,a0)\
00587 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00588 else\
00589 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00590 else\
00591 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00592 else\
00593 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00594 else\
00595 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00596 else\
00597 {ThrowError("CallWithImage3DFloatCastable_1 failed, type \"%s\" is not in template group \"Image3DFloatCastable\"",typeName);}
00598 #define CallWithImage3DFloatCastable_2(fct,typeName,a0,a1)\
00599 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00600 else\
00601 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00602 else\
00603 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00604 else\
00605 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00606 else\
00607 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00608 else\
00609 {ThrowError("CallWithImage3DFloatCastable_2 failed, type \"%s\" is not in template group \"Image3DFloatCastable\"",typeName);}
00610 #define CallWithImage3DFloatCastable_3(fct,typeName,a0,a1,a2)\
00611 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00612 else\
00613 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00614 else\
00615 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00616 else\
00617 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00618 else\
00619 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00620 else\
00621 {ThrowError("CallWithImage3DFloatCastable_3 failed, type \"%s\" is not in template group \"Image3DFloatCastable\"",typeName);}
00622 #define CallWithImage3DFloatCastable_4(fct,typeName,a0,a1,a2,a3)\
00623 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00624 else\
00625 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00626 else\
00627 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00628 else\
00629 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00630 else\
00631 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00632 else\
00633 {ThrowError("CallWithImage3DFloatCastable_4 failed, type \"%s\" is not in template group \"Image3DFloatCastable\"",typeName);}
00634 #define CallWithImage3DFloatingPoint_0(fct,typeName)\
00635 if(typeName=="Image3Df"){fct< Image3Df >();}\
00636 else\
00637 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00638 else\
00639 {ThrowError("CallWithImage3DFloatingPoint_0 failed, type \"%s\" is not in template group \"Image3DFloatingPoint\"",typeName);}
00640 #define CallWithImage3DFloatingPoint_1(fct,typeName,a0)\
00641 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00642 else\
00643 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00644 else\
00645 {ThrowError("CallWithImage3DFloatingPoint_1 failed, type \"%s\" is not in template group \"Image3DFloatingPoint\"",typeName);}
00646 #define CallWithImage3DFloatingPoint_2(fct,typeName,a0,a1)\
00647 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00648 else\
00649 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00650 else\
00651 {ThrowError("CallWithImage3DFloatingPoint_2 failed, type \"%s\" is not in template group \"Image3DFloatingPoint\"",typeName);}
00652 #define CallWithImage3DFloatingPoint_3(fct,typeName,a0,a1,a2)\
00653 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00654 else\
00655 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00656 else\
00657 {ThrowError("CallWithImage3DFloatingPoint_3 failed, type \"%s\" is not in template group \"Image3DFloatingPoint\"",typeName);}
00658 #define CallWithImage3DFloatingPoint_4(fct,typeName,a0,a1,a2,a3)\
00659 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00660 else\
00661 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00662 else\
00663 {ThrowError("CallWithImage3DFloatingPoint_4 failed, type \"%s\" is not in template group \"Image3DFloatingPoint\"",typeName);}
00664 #define CallWithImage3DAVWCompatible_0(fct,typeName)\
00665 if(typeName=="Image3Df"){fct< Image3Df >();}\
00666 else\
00667 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00668 else\
00669 if(typeName=="Mask3D"){fct< Mask3D >();}\
00670 else\
00671 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00672 else\
00673 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00674 else\
00675 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00676 else\
00677 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00678 else\
00679 {ThrowError("CallWithImage3DAVWCompatible_0 failed, type \"%s\" is not in template group \"Image3DAVWCompatible\"",typeName);}
00680 #define CallWithImage3DAVWCompatible_1(fct,typeName,a0)\
00681 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00682 else\
00683 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00684 else\
00685 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00686 else\
00687 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00688 else\
00689 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00690 else\
00691 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00692 else\
00693 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00694 else\
00695 {ThrowError("CallWithImage3DAVWCompatible_1 failed, type \"%s\" is not in template group \"Image3DAVWCompatible\"",typeName);}
00696 #define CallWithImage3DAVWCompatible_2(fct,typeName,a0,a1)\
00697 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00698 else\
00699 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00700 else\
00701 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00702 else\
00703 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00704 else\
00705 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00706 else\
00707 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00708 else\
00709 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00710 else\
00711 {ThrowError("CallWithImage3DAVWCompatible_2 failed, type \"%s\" is not in template group \"Image3DAVWCompatible\"",typeName);}
00712 #define CallWithImage3DAVWCompatible_3(fct,typeName,a0,a1,a2)\
00713 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00714 else\
00715 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00716 else\
00717 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00718 else\
00719 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00720 else\
00721 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00722 else\
00723 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00724 else\
00725 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00726 else\
00727 {ThrowError("CallWithImage3DAVWCompatible_3 failed, type \"%s\" is not in template group \"Image3DAVWCompatible\"",typeName);}
00728 #define CallWithImage3DAVWCompatible_4(fct,typeName,a0,a1,a2,a3)\
00729 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00730 else\
00731 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00732 else\
00733 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00734 else\
00735 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00736 else\
00737 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00738 else\
00739 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00740 else\
00741 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00742 else\
00743 {ThrowError("CallWithImage3DAVWCompatible_4 failed, type \"%s\" is not in template group \"Image3DAVWCompatible\"",typeName);}
00744 #define CallWithImage3DTransformWithInverseFieldTemplateGroup_0(fct,typeName)\
00745 if(typeName=="Image3Df"){fct< Image3Df >();}\
00746 else\
00747 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00748 else\
00749 if(typeName=="Mask3D"){fct< Mask3D >();}\
00750 else\
00751 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >();}\
00752 else\
00753 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >();}\
00754 else\
00755 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >();}\
00756 else\
00757 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >();}\
00758 else\
00759 {ThrowError("CallWithImage3DTransformWithInverseFieldTemplateGroup_0 failed, type \"%s\" is not in template group \"Image3DTransformWithInverseFieldTemplateGroup\"",typeName);}
00760 #define CallWithImage3DTransformWithInverseFieldTemplateGroup_1(fct,typeName,a0)\
00761 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00762 else\
00763 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00764 else\
00765 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00766 else\
00767 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0);}\
00768 else\
00769 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0);}\
00770 else\
00771 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0);}\
00772 else\
00773 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0);}\
00774 else\
00775 {ThrowError("CallWithImage3DTransformWithInverseFieldTemplateGroup_1 failed, type \"%s\" is not in template group \"Image3DTransformWithInverseFieldTemplateGroup\"",typeName);}
00776 #define CallWithImage3DTransformWithInverseFieldTemplateGroup_2(fct,typeName,a0,a1)\
00777 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00778 else\
00779 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00780 else\
00781 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00782 else\
00783 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1);}\
00784 else\
00785 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1);}\
00786 else\
00787 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1);}\
00788 else\
00789 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1);}\
00790 else\
00791 {ThrowError("CallWithImage3DTransformWithInverseFieldTemplateGroup_2 failed, type \"%s\" is not in template group \"Image3DTransformWithInverseFieldTemplateGroup\"",typeName);}
00792 #define CallWithImage3DTransformWithInverseFieldTemplateGroup_3(fct,typeName,a0,a1,a2)\
00793 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00794 else\
00795 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00796 else\
00797 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00798 else\
00799 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2);}\
00800 else\
00801 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2);}\
00802 else\
00803 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2);}\
00804 else\
00805 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2);}\
00806 else\
00807 {ThrowError("CallWithImage3DTransformWithInverseFieldTemplateGroup_3 failed, type \"%s\" is not in template group \"Image3DTransformWithInverseFieldTemplateGroup\"",typeName);}
00808 #define CallWithImage3DTransformWithInverseFieldTemplateGroup_4(fct,typeName,a0,a1,a2,a3)\
00809 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00810 else\
00811 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00812 else\
00813 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00814 else\
00815 if(typeName=="Image3Dlinear<complex<double> >"){fct< Image3Dlinear<complex<double> > >(a0,a1,a2,a3);}\
00816 else\
00817 if(typeName=="Image3Dlinear<complex<float> >"){fct< Image3Dlinear<complex<float> > >(a0,a1,a2,a3);}\
00818 else\
00819 if(typeName=="Image3Dlinear<Vect3D<float, float> >"){fct< Image3Dlinear<Vect3D<float, float> > >(a0,a1,a2,a3);}\
00820 else\
00821 if(typeName=="Image3Dlinear<Vect3Df>"){fct< Image3Dlinear<Vect3Df> >(a0,a1,a2,a3);}\
00822 else\
00823 {ThrowError("CallWithImage3DTransformWithInverseFieldTemplateGroup_4 failed, type \"%s\" is not in template group \"Image3DTransformWithInverseFieldTemplateGroup\"",typeName);}
00824 #define CallWithImage3DRealView_0(fct,typeName)\
00825 if(typeName=="Image3Df"){fct< Image3Df >();}\
00826 else\
00827 if(typeName=="Image3Dd"){fct< Image3Dd >();}\
00828 else\
00829 if(typeName=="Mask3D"){fct< Mask3D >();}\
00830 else\
00831 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >();}\
00832 else\
00833 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >();}\
00834 else\
00835 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >();}\
00836 else\
00837 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >();}\
00838 else\
00839 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >();}\
00840 else\
00841 {ThrowError("CallWithImage3DRealView_0 failed, type \"%s\" is not in template group \"Image3DRealView\"",typeName);}
00842 #define CallWithImage3DRealView_1(fct,typeName,a0)\
00843 if(typeName=="Image3Df"){fct< Image3Df >(a0);}\
00844 else\
00845 if(typeName=="Image3Dd"){fct< Image3Dd >(a0);}\
00846 else\
00847 if(typeName=="Mask3D"){fct< Mask3D >(a0);}\
00848 else\
00849 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0);}\
00850 else\
00851 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0);}\
00852 else\
00853 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0);}\
00854 else\
00855 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0);}\
00856 else\
00857 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0);}\
00858 else\
00859 {ThrowError("CallWithImage3DRealView_1 failed, type \"%s\" is not in template group \"Image3DRealView\"",typeName);}
00860 #define CallWithImage3DRealView_2(fct,typeName,a0,a1)\
00861 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1);}\
00862 else\
00863 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1);}\
00864 else\
00865 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1);}\
00866 else\
00867 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1);}\
00868 else\
00869 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1);}\
00870 else\
00871 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1);}\
00872 else\
00873 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1);}\
00874 else\
00875 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1);}\
00876 else\
00877 {ThrowError("CallWithImage3DRealView_2 failed, type \"%s\" is not in template group \"Image3DRealView\"",typeName);}
00878 #define CallWithImage3DRealView_3(fct,typeName,a0,a1,a2)\
00879 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2);}\
00880 else\
00881 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2);}\
00882 else\
00883 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2);}\
00884 else\
00885 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2);}\
00886 else\
00887 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2);}\
00888 else\
00889 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2);}\
00890 else\
00891 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2);}\
00892 else\
00893 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2);}\
00894 else\
00895 {ThrowError("CallWithImage3DRealView_3 failed, type \"%s\" is not in template group \"Image3DRealView\"",typeName);}
00896 #define CallWithImage3DRealView_4(fct,typeName,a0,a1,a2,a3)\
00897 if(typeName=="Image3Df"){fct< Image3Df >(a0,a1,a2,a3);}\
00898 else\
00899 if(typeName=="Image3Dd"){fct< Image3Dd >(a0,a1,a2,a3);}\
00900 else\
00901 if(typeName=="Mask3D"){fct< Mask3D >(a0,a1,a2,a3);}\
00902 else\
00903 if(typeName=="Image3Dlinear<int>"){fct< Image3Dlinear<int> >(a0,a1,a2,a3);}\
00904 else\
00905 if(typeName=="Image3Dlinear<short int>"){fct< Image3Dlinear<short int> >(a0,a1,a2,a3);}\
00906 else\
00907 if(typeName=="Image3Dlinear<unsigned short>"){fct< Image3Dlinear<unsigned short> >(a0,a1,a2,a3);}\
00908 else\
00909 if(typeName=="BitImage3D<byte,1,byte>"){fct< BitImage3D<byte,1,byte> >(a0,a1,a2,a3);}\
00910 else\
00911 if(typeName=="BitImage3D<byte,2,byte>"){fct< BitImage3D<byte,2,byte> >(a0,a1,a2,a3);}\
00912 else\
00913 {ThrowError("CallWithImage3DRealView_4 failed, type \"%s\" is not in template group \"Image3DRealView\"",typeName);}