Equalizer  2.1.0
Parallel Rendering Framework
fabric/eye.h
1 
2 /* Copyright (c) 2007-2017, Stefan Eilemann <eile@equalizergraphics.com>
3  * Cedric Stalder <cedric.stalder@gmail.com>
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef EQFABRIC_EYE_H
20 #define EQFABRIC_EYE_H
21 
22 #include <eq/fabric/api.h>
23 #include <iostream>
24 #include <lunchbox/bitOperation.h>
25 
26 namespace eq
27 {
28 namespace fabric
29 {
31 enum Eye
32 {
33  EYE_CYCLOP_BIT = 0,
34  EYE_LEFT_BIT = 1,
35  EYE_RIGHT_BIT = 2,
36  EYE_UNDEFINED = 0,
37  EYE_CYCLOP = 1 << EYE_CYCLOP_BIT,
38  EYE_LEFT = 1 << EYE_LEFT_BIT,
39  EYE_RIGHT = 1 << EYE_RIGHT_BIT,
41  NUM_EYES = 3,
43  EYES_ALL = 7
44 };
45 
46 EQFABRIC_API std::ostream& operator<<(std::ostream& os, const Eye& eye);
47 }
48 }
49 
50 #endif // EQFABRIC_EYE_H
the last eye
Definition: fabric/eye.h:40
Defines export visibility macros for library EqualizerFabric.
monoscopic &#39;middle&#39; eye
Definition: fabric/eye.h:37
Eye
Eye pass bit mask for which rendering is enabled.
Definition: fabric/eye.h:31
left and right eye
Definition: fabric/eye.h:42
The Equalizer client library.
Definition: eq/agl/types.h:23
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
Definition: axisEvent.h:49