public void CheckUI()
 {
     if (ServerStream.dataList != null)
     {
         if (ServerStream.dataList.Count == 0)
         {
             displayParallelCoord();
             //displayLayers();
             //scatterplot.read();
             //ENVmds.read();
             FilteringTypes.filter_nodes(filterPrefab, textPrefab);
             //datasetB();
             //stopTracking();
             //LayeredMapping.furtherData();
             //LayeredMapping.hideLayers();
             //initHistory(false);
             //initHistory(true);
             //initHistory(false);
             //initHistory(false);
             //makeENVlayer(1);
             //makeENVlayer(2);
             //makeENVlayer(3);
             //SetEdgeBundle();
             //print("MI count" + instantiators.Count);
             //smokey_minimize();  // initialize the view
         }
         if (ServerStream.dataList.Count != 0)
         {
             specie_name = ServerStream.dataList[0];
             ServerStream.LoadNext();
             BuildInstantiator();
             if (ServerStream.dataList.Count == 0 && ONCEE == false)
             {
                 ServerStream.newData();
                 displayLayers();
                 instantiators.Clear();
                 if (ONCEE == false)
                 {
                     //print("sdsad"+instantiators.Count);
                     //instantiators.Clear();
                 }
                 batchCount = allHabitats.Count;
                 AllbatchCounts.Add(eachSpecieCount);
                 print(eachSpecieCount);
                 //eachSpecieCount = 0;
                 ModelInstantiator.hideAll();
             }
             if (ServerStream.dataList.Count == 0 && ONCEE == true)
             {
                 displayLayers();
                 AllbatchCounts.Add(eachSpecieCount);
                 print(eachSpecieCount);
                 //instantiators.Clear();
             }
             CheckUI();
         }
     }
 }
Пример #2
0
 public Filter(FilteringTypes type, string pattern)
 {
     Type    = type;
     Pattern = pattern;
 }