00001 00002 /* 00003 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00004 * All rights reserved. 00005 * 00006 * Author(s): 00007 * Marc Navarro (mnavarro@wins.uva.nl) 00008 */ 00009 00010 #ifndef HxCorbaMenu_idl 00011 #define HxCorbaMenu_idl 00012 00013 module HxCorbaMenu 00014 { 00015 typedef long operation; 00016 00017 00018 interface TagList 00019 { 00020 struct Menu 00021 { 00022 operation addInt; 00023 operation getInt; 00024 operation addFloat; 00025 operation getFloat; 00026 operation addValue; 00027 operation getValue; 00028 }; 00029 00030 };//end interface TagList 00031 00032 00033 interface ImageRep 00034 { 00035 struct Menu 00036 { 00037 struct inquiry 00038 { 00039 operation pixelDimensionality; 00040 operation pixelType; 00041 operation pixelPrecision; 00042 operation dimensionality; 00043 operation getSizes; 00044 operation dimensionSize; 00045 operation numberOfPixels; 00046 operation signature; 00047 00048 } end_inquiry; 00049 00050 operation binaryPixOp; 00051 operation binaryPixOpVal; 00052 operation unaryPixOp; 00053 operation multiPixOp; 00054 operation MNPixOp; 00055 operation reduceOp; 00056 operation generalizedConvolution; 00057 operation generalizedConvolutionK1d; 00058 operation geometricOp2d; 00059 operation neighbourhoodOp; 00060 00061 }; 00062 00063 };//end interface ImageRep 00064 00065 typedef sequence<ImageRep> ImageList; 00066 00067 interface ImageSeq 00068 { 00069 struct Menu 00070 { 00071 operation getFrame; 00072 operation nrFrames; 00073 operation frameSizes; 00074 }; 00075 };//end interface ImageSeq 00076 00077 interface Histogram 00078 { 00079 struct Menu 00080 { 00081 operation dimensionality; 00082 operation dimensionSize; 00083 operation nrOfBins; 00084 00085 operation lowBin; 00086 operation highBin; 00087 operation binWidth; 00088 operation binToValue; 00089 operation valueToBin; 00090 00091 operation get1; 00092 operation get2; 00093 operation get3; 00094 00095 operation sum; 00096 operation minVal; 00097 operation maxVal; 00098 //operation maxValIndex; 00099 00100 operation smooth; 00101 operation normalize; 00102 operation intersection; 00103 operation chiSquare; 00104 operation chiSquareNorm; 00105 00106 operation threshold; 00107 operation countBins; 00108 operation reduceRange; 00109 operation reduceRangeVal; 00110 operation to1D; 00111 00112 }; 00113 };//end interface Histogram 00114 00115 typedef sequence<Histogram> HistogramList; 00116 00117 interface Blob2d 00118 { 00119 struct Menu 00120 { 00121 operation getInputImage; 00122 operation getLabeledImage; 00123 operation getLabel; 00124 operation getContourX; 00125 operation getContourY; 00126 operation getContourLength; 00127 operation getFeature; 00128 }; 00129 };//end interface Blob2d 00130 00131 typedef sequence<Blob2d> Blob2dSet; 00132 00133 interface Polyline2d 00134 { 00135 struct Menu 00136 { 00137 operation getClosed; 00138 operation getNrPoints; 00139 operation getPoint; 00140 }; 00141 };//end interface Polyline2d 00142 00143 interface BSplineCurve 00144 { 00145 struct Menu 00146 { 00147 operation curveType; 00148 operation degree; 00149 operation minT; 00150 operation maxT; 00151 operation numP; 00152 operation P; 00153 operation controlP; 00154 operation C; 00155 operation length; 00156 operation center; 00157 operation sampleC; 00158 }; 00159 };//end interface BSplineCurve 00160 00161 interface SampledBSplineCurve 00162 { 00163 struct Menu 00164 { 00165 operation curveType; 00166 operation nSamples; 00167 operation numP; 00168 operation controlP; 00169 operation C; 00170 operation CPoly; 00171 }; 00172 };//end interface SampledBSplineCurve 00173 00174 00175 interface NJet 00176 { 00177 struct Menu 00178 { 00179 operation order; 00180 operation scale; 00181 operation nrComponents; 00182 operation isColor; 00183 00184 struct idx { 00185 operation getLidx; 00186 operation getJidx; 00187 operation getMidx; 00188 } end_idx; 00189 00190 00191 operation xy; 00192 operation xyz; 00193 operation xyl; 00194 operation xyzl; 00195 00196 operation getLList; 00197 operation getJList; 00198 operation getMList; 00199 operation getList; 00200 00201 operation getLw; 00202 operation getJw; 00203 operation getMw; 00204 }; 00205 };//end interface NJet 00206 00207 interface Constructor 00208 { 00209 struct Menu 00210 { 00211 struct ImageRep 00212 { 00213 operation importImage; 00214 operation fromSignature; 00215 operation fromImage; 00216 operation fromValue; 00217 operation fromNamedGenerator; 00218 operation fromImport; 00219 00220 operation from2Images; 00221 operation from3Images; 00222 00223 operation fromFile; 00224 00225 } end_ImageRep; 00226 00227 struct ImageSeq 00228 { 00229 operation constructImageSeq; 00230 operation constructBufferedImageSeq; 00231 00232 } end_ImageSeq; 00233 00234 struct TagList 00235 { 00236 operation emptyTagList; 00237 operation simpleIntTag; 00238 operation simpleFloatTag; 00239 00240 } end_TagList; 00241 00242 struct Matrix 00243 { 00244 operation translate2d; 00245 operation scale2d; 00246 operation rotate2d; 00247 operation rotate2dDeg; 00248 operation reflect2d; 00249 operation shear2d; 00250 operation translate3d; 00251 operation scale3d; 00252 operation rotateX3d; 00253 operation rotateX3dDeg; 00254 operation rotateY3d; 00255 operation rotateY3dDeg; 00256 operation rotateZ3d; 00257 operation rotateZ3dDeg; 00258 operation reflect3d; 00259 operation projection; 00260 operation camera; 00261 operation lift2dTo3dXY; 00262 00263 } end_Matrix; 00264 00265 struct Polyline2d 00266 { 00267 operation importPolyline; 00268 00269 } end_Polyline2d; 00270 00271 struct BSplineCurve 00272 { 00273 operation makeUniformBSpline; 00274 operation makeInterpolatingBSpline; 00275 00276 } end_BSplineCurve; 00277 00278 struct SampledBSplineCurve 00279 { 00280 operation makeUniformSampledBSpline; 00281 operation makeInterpolatingSampledBSpline; 00282 00283 } end_SampledBSplineCurve; 00284 00285 struct NJet 00286 { 00287 operation makeNJet; 00288 00289 } end_NJet; 00290 }; 00291 };//end interface Constructor 00292 00293 }; 00294 00295 #endif //HxCorbaMenu_idl