UnityMol  0.9.6-875
UnityMol viewer / In developement
UIData.cs
Go to the documentation of this file.
1 
66 namespace UI
67 {
68 
69  using UnityEngine;
70  using System.Collections;
71 
78  public class UIData {
79 // public static bool standalone=true;
80 
81  //Initial molecule to load from resources
82  public static string init_molecule = "";
83 
84  #if UNITY_EDITOR
85 // public static string server_url = "http://172.27.0.170/";
86  public static string server_url = "http://www.shaman.ibpc.fr/umolweb/";
87  #else
88  public static string server_url = "";
89  #endif
90 // public static string server_url = "http://localhost:8888/";
91 
92 
93  public static bool fetchPDBFile = false;
94  public static bool isConfirm = false;
95  public static bool changeStructure = false;
96  public static bool hasMoleculeDisplay = false;
97  public static bool hasResidues = false;
98  public static bool hasChains = false;
99 
100  public static bool isOpenFile=false;
101  public static bool isParticlesInitialized = false;
102 
103  public static bool isCubeLoaded = false;
104  public static bool isSphereLoaded = false;
105  public static bool isHBallLoaded = false;
106 
107  public static bool isRenderDictInit = false;
108  public static bool isTexturesMenuListInit = false;
109 
110  public static bool readHetAtom = true;
111  public static bool readWater = false;
112  public static bool connectivity_calc = true;
113  public static bool connectivity_PDB = false;
114 
115  public static bool isFileLoaded = false;
116  public static bool isMoleculeDisplayed = false;
117 
118 
119  public static bool toggleMouse = true;
120  public static bool toggleKey = false;
121 
122  public static bool toggleClip =true;
123  public static bool togglePlane=false;
124 
125  public static bool toggleGray =false;
126  public static bool toggleColor=true;
127 
128  public static bool backGroundIs = false;
129  public static bool backGroundNo = true;
130  public static bool backGroundTrans = true;
131 
132  public static bool cameraStop = false;
133  public static bool lightStop = false;
134 
135  public static bool cameraStop2 = false;
136 
137  public static bool loginSucess=false;
138 
139  public static AtomType atomtype=AtomType.noatom;
140 
141  public static BondType bondtype=BondType.nobond;
142 
143  public static bool EnableUpdate=true;
144 
145  public static bool interactive=false;
146 
147  public static bool resetInteractive=false;
148 
149  public static bool meshcombine=false;
150 
151  public static bool resetMeshcombine=false;
152 
153  public static bool fileBrowser;
154 
155  public static bool switchmode=false;
156 
157  public static bool hballsmoothmode=false;
158 
159  public static bool grayscalemode = false;
160 
161  public static bool hiddenUI=false;
162 
163  public static bool newUIActivated = false;
164 
165 
166  public static bool hiddenUIbutFPS=false;
167 
168  public static bool hiddenCamera=false;
169 
170  public static bool openAllMenu=false;
171 
172  public static bool openBound=false;
173 
176  public static bool secondarystruct=false;
177 
179  public static bool toggle_bf = false;
180 
181  public static bool surfColChain = false;
182  public static bool surfColHydroKD = false;
183  public static bool surfColHydroEng = false;
184  public static bool surfColHydroWO = false;
185  public static bool surfColHydroEis = false;
186  public static bool surfColHydroHW = false;
187  public static bool surfColPChim = false;
188  public static bool surfColBF = false;
189  public static bool isGLIC = false;
190  public static bool spread_tree = false;
191 
192  public static bool firststruct=true;
193 
194  public static bool toggleSurf=true;
195  public static bool toggleBfac=false;
196 
197  //activate shadows on atoms and bonds
198  public static bool shadow = false;
199 
200  // Guided navigation mode
201  public static bool guided=false;
202  // Optimal view mode
203  public static bool optim_view=false;
204  public static Vector3 optim_view_start_point;
205  public static float start_time;
206 
207  public enum AtomType {
208  cube=0,
209  sphere=1,
210  hyperball=2,
211  raycasting=3,
212  billboard=4,
213  rcbillboard=5,
214  hbbillboard=6,
215  rcsprite=7,
216  multihyperball=8,
217  combinemeshball=9,
218  particleball=10,
219  particleballalphablend=11,
220  noatom = 12,
221  optihb = 13
222  }
223 
224  public enum BondType {
225  cube=0,
226  line=1,
227  hyperstick=2,
228  tubestick=3,
229  bbhyperstick=4,
230  particlestick=5,
231  nobond=6,
232  optihs=7
233  }
234 
235  public enum FFType {
236  atomic = 0,
237  HiRERNA = 1
238  }
239 
240  public static bool loadHireRNA = false;
241  public static FFType ffType = FFType.atomic;
242  }
243 
244 }
static bool openAllMenu
Definition: UIData.cs:170
static string init_molecule
Definition: UIData.cs:82
static bool fetchPDBFile
Definition: UIData.cs:93
static bool EnableUpdate
Definition: UIData.cs:143
static bool isOpenFile
Definition: UIData.cs:100
static bool togglePlane
Definition: UIData.cs:123
static bool optim_view
Definition: UIData.cs:203
static bool surfColBF
Definition: UIData.cs:188
static bool toggleColor
Definition: UIData.cs:126
static bool openBound
Definition: UIData.cs:172
static bool interactive
Definition: UIData.cs:145
static bool surfColChain
Definition: UIData.cs:181
static bool secondarystruct
Switch between all atoms and C-alpha trace or BFactor secondary structure representation.
Definition: UIData.cs:176
static bool fileBrowser
Definition: UIData.cs:153
static bool toggleSurf
Definition: UIData.cs:194
static bool newUIActivated
Definition: UIData.cs:163
static bool toggle_bf
Triggers the C-alpha trace regeneration when switching to it.
Definition: UIData.cs:179
static bool switchmode
Definition: UIData.cs:155
static bool isFileLoaded
Definition: UIData.cs:115
static bool lightStop
Definition: UIData.cs:133
static bool cameraStop2
Definition: UIData.cs:135
static bool guided
Definition: UIData.cs:201
static bool backGroundNo
Definition: UIData.cs:129
static bool toggleMouse
Definition: UIData.cs:119
static bool toggleClip
Definition: UIData.cs:122
static FFType ffType
Definition: UIData.cs:241
static bool meshcombine
Definition: UIData.cs:149
static bool hiddenCamera
Definition: UIData.cs:168
static bool isMoleculeDisplayed
Definition: UIData.cs:116
static string server_url
Definition: UIData.cs:88
static bool surfColPChim
Definition: UIData.cs:187
static bool connectivity_calc
Definition: UIData.cs:112
static bool changeStructure
Definition: UIData.cs:95
static bool backGroundTrans
Definition: UIData.cs:130
static bool surfColHydroKD
Definition: UIData.cs:182
static bool isRenderDictInit
Definition: UIData.cs:107
static bool surfColHydroEng
Definition: UIData.cs:183
static bool toggleBfac
Definition: UIData.cs:195
static float start_time
Definition: UIData.cs:205
static bool isTexturesMenuListInit
Definition: UIData.cs:108
static bool loadHireRNA
Definition: UIData.cs:240
static bool readWater
Definition: UIData.cs:111
static bool firststruct
Definition: UIData.cs:192
static bool resetInteractive
Definition: UIData.cs:147
static bool resetMeshcombine
Definition: UIData.cs:151
static bool hasChains
Definition: UIData.cs:98
static bool hasResidues
Definition: UIData.cs:97
!WiP Includes FLAGS of GUI.
Definition: UIData.cs:78
static bool isParticlesInitialized
Definition: UIData.cs:101
static bool isGLIC
Definition: UIData.cs:189
static bool toggleKey
Definition: UIData.cs:120
static BondType bondtype
Definition: UIData.cs:141
static bool hballsmoothmode
Definition: UIData.cs:157
static bool backGroundIs
Definition: UIData.cs:128
static bool isCubeLoaded
Definition: UIData.cs:103
static bool hiddenUI
Definition: UIData.cs:161
static bool toggleGray
Definition: UIData.cs:125
static bool isConfirm
Definition: UIData.cs:94
static AtomType atomtype
Definition: UIData.cs:139
static bool cameraStop
Definition: UIData.cs:132
static bool hasMoleculeDisplay
Definition: UIData.cs:96
static bool hiddenUIbutFPS
Definition: UIData.cs:166
static bool readHetAtom
Definition: UIData.cs:110
static bool grayscalemode
Definition: UIData.cs:159
static bool loginSucess
Definition: UIData.cs:137
static bool spread_tree
Definition: UIData.cs:190
static bool isSphereLoaded
Definition: UIData.cs:104
static Vector3 optim_view_start_point
Definition: UIData.cs:204
static bool isHBallLoaded
Definition: UIData.cs:105
static bool shadow
Definition: UIData.cs:198
static bool surfColHydroHW
Definition: UIData.cs:186
static bool surfColHydroWO
Definition: UIData.cs:184
static bool connectivity_PDB
Definition: UIData.cs:113
Definition: GUIDisplay.cs:66
static bool surfColHydroEis
Definition: UIData.cs:185