00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : Nicolas DAGUISE (Mar 2005) 00022 **=======================================================================*/ 00023 00024 00025 #ifndef SO_FLAT_SCREEN_H 00026 #define SO_FLAT_SCREEN_H 00027 00028 #include <ScaleViz/nodes/SoBaseScreen.h> 00029 #include <Inventor/fields/SoSFVec2f.h> 00030 #include <Inventor/fields/SoSFVec4f.h> 00031 #include <Inventor/fields/SoSFString.h> 00032 #include <Inventor/fields/SoSFFloat.h> 00033 #include <Inventor/fields/SoSFEnum.h> 00034 00094 class SoFlatScreen : public SoBaseScreen 00095 { 00096 00097 SO_NODE_HEADER(SoFlatScreen); 00098 00099 public : 00100 00110 SoSFVec2f tileOrigin; 00111 00120 SoSFVec2f tileSize; 00121 00134 SoSFVec4f softEdgeOverlap; 00135 00142 SoSFVec4f softEdgeGamma; 00143 00155 SoSFString view; 00156 00169 SoSFVec4f viewport; 00170 00179 SoSFFloat rightOverlap; 00180 00189 SoSFFloat leftOverlap; 00190 00199 SoSFFloat topOverlap; 00200 00209 SoSFFloat bottomOverlap; 00210 00211 enum CameraMode 00212 { 00216 MONOSCOPIC, 00220 LEFT_VIEW, 00224 RIGHT_VIEW 00225 }; 00226 00234 SoSFEnum cameraMode; 00235 00239 SoFlatScreen(); 00240 00241 private: 00242 static void initClass(); 00243 static void exitClass(); 00244 00245 private: 00246 virtual ~SoFlatScreen(); 00247 }; 00248 00249 #endif // SO_FLAT_SCREEN_H 00250 00251 00252 00253 00254