Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

HxCorbaPixValue.idl

Go to the documentation of this file.
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 HxCorbaPixValue_idl
00011 #define HxCorbaPixValue_idl
00012 
00013 module HxCorba
00014 {
00015     enum PixValueTag { SI, SD, V2I, V2D, V3I, V3D, CPL };
00016 
00017     struct Vec2I { long x; long y; };
00018     struct Vec2D { double x; double y; };
00019     struct Vec3I { long x; long y; long z; };
00020     struct Vec3D { double x; double y; double z; };
00021     struct Complex { double x; double y; };
00022 
00023     union PixValue switch (PixValueTag) {
00024     case SI:
00025         long scalarInt;
00026     case SD:
00027         double scalarDouble;
00028     case V2I:
00029         Vec2I vect2Int;
00030     case V2D:
00031         Vec2D vect2Double;
00032     case V3I:
00033         Vec3I vect3Int;
00034     case V3D:
00035         Vec3D vect3Double;
00036     case CPL:
00037         Complex cplx;
00038     };
00039 };
00040 
00041 #endif //HxCorbaPixValue_idl

Generated on Tue Jan 8 13:55:44 2002 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001