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 (Jan 2005) 00022 **=======================================================================*/ 00023 00024 00025 #ifndef SO_MASTER_CONFIG_NODE_H 00026 #define SO_MASTER_CONFIG_NODE_H 00027 00028 #include <Inventor/fields/SoSFBool.h> 00029 #include <Inventor/fields/SoSFUShort.h> 00030 #include <Inventor/fields/SoSFString.h> 00031 #include <Inventor/fields/SoSFShort.h> 00032 #include <Inventor/fields/SoSFEnum.h> 00033 #include <Inventor/fields/SoMFVec2FilePathString.h> 00034 00035 #include <Inventor/nodes/SoNode.h> 00036 #include <ScaleViz/SoScaleViz.h> 00037 00073 class SoMasterConfig : public SoNode 00074 { 00075 SO_NODE_HEADER(SoMasterConfig); 00076 00077 public: 00078 00088 SoSFString hostname; 00089 00093 SoSFUShort port; 00094 00114 SoMFVec2FilePathString remotePathMapping; 00115 00119 SoMasterConfig(); 00120 00121 // 00122 // Open Inventor 700: The following fields have been officially 00123 // transferred to the new SoRemoteParams node. 00124 // They are here only for compatibility/conversion purposes. 00125 00126 private: 00127 enum LossyMode { 00131 ALWAYS, 00136 INTERACTIVE, 00140 NEVER 00141 }; 00142 00143 enum NetworkSpeedMode { 00148 SLOW, 00152 MEDIUM, 00156 FAST, 00161 LOCAL 00162 }; 00163 00172 SoSFEnum networkSpeed; 00173 00180 SoSFShort lossyQuality; 00181 00188 SoSFEnum lossyMode; 00189 00190 private: 00191 static void initClass(); 00192 static void exitClass(); 00193 00194 SoSFString clusterCom; 00195 00196 private: 00197 virtual ~SoMasterConfig(); 00198 00199 }; 00200 00201 #endif // SO_MASTER_CONFIG_NODE_H 00202 00203 00204 00205 00206