Equalizer  1.2.1
fabric/eye.h
00001 
00002 /* Copyright (c) 2007-2010, Stefan Eilemann <eile@equalizergraphics.com>
00003  * Copyright (c) 2010, Cedric Stalder <cedric.stalder@gmail.com>
00004  *
00005  * This library is free software; you can redistribute it and/or modify it under
00006  * the terms of the GNU Lesser General Public License version 2.1 as published
00007  * by the Free Software Foundation.
00008  *  
00009  * This library is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00012  * details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this library; if not, write to the Free Software Foundation, Inc.,
00016  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef EQFABRIC_EYE_H
00020 #define EQFABRIC_EYE_H
00021 
00022 #include <eq/fabric/api.h>
00023 #include <iostream>
00024 
00025 namespace eq
00026 {
00027 namespace fabric
00028 {
00032     enum Eye
00033     {
00034         EYE_UNDEFINED  = 0,
00035         EYE_CYCLOP     = 1, 
00036         EYE_LEFT       = 2, 
00037         EYE_RIGHT      = 4, 
00038         EYE_LAST       = EYE_RIGHT, 
00039         NUM_EYES       = 3,  
00040         EYES_STEREO    = EYE_LEFT | EYE_RIGHT, 
00041         EYES_ALL       = 7 
00042     };
00043 
00044     EQFABRIC_API std::ostream& operator << ( std::ostream& os, const Eye& eye );
00045 }
00046 }
00047 
00048 #endif // EQFABRIC_EYE_H
Generated on Fri Jun 8 2012 15:44:30 for Equalizer 1.2.1 by  doxygen 1.8.0