Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaPixValue.idl

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2000, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Marc Navarro            (mnavarro@wins.uva.nl)
00007  */
00008 
00009 #ifndef HxCorbaPixValue_idl
00010 #define HxCorbaPixValue_idl
00011 
00012 module HxCorba
00013 {
00014 
00016 enum PixValueTag { SI, SD, V2I, V2D, V3I, V3D, CPL };
00017 
00019 struct Vec2I { long x; long y; };
00021 struct Vec2D { double x; double y; };
00023 struct Vec3I { long x; long y; long z; };
00025 struct Vec3D { double x; double y; double z; };
00027 struct Complex { double x; double y; };
00028 
00029 
00031 union PixValue switch (PixValueTag) 
00032 {
00033 case SI:
00034     long scalarInt;
00035 case SD:
00036     double scalarDouble;
00037 case V2I:
00038     Vec2I vect2Int;
00039 case V2D:
00040     Vec2D vect2Double;
00041 case V3I:
00042     Vec3I vect3Int;
00043 case V3D:
00044     Vec3D vect3Double;
00045 case CPL:
00046     Complex cplx;
00047 };
00048 
00049 }; // module HxCorba
00050 
00051 #endif //HxCorbaPixValue_idl

Generated on Mon Jan 27 15:09:39 2003 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001