예제 #1
0
        public void RemoveLayer(VisualizationDataSource dataSource)
        {
            ProbesLayer probesLayer = probesLayers.Find(pl => pl.Guid == dataSource.Guid);

            if (probesLayer != null)
            {
                host.DataSources.Remove(probesLayer.LayerID, probesLayer.LayerName);
                probesLayers.Remove(probesLayer);
            }
        }
예제 #2
0
 private void AddLayerToHost(ProbesLayer probesLayer)
 {
     host.DataSources.Add(new DataSourceLayerData(probesLayer.LayerID, probesLayer.LayerName, probesLayer.DataSource, DataSourceUsage.TextureMap, 999, 1));
 }
예제 #3
0
 private void AddLayerToHost(ProbesLayer probesLayer)
 {
     host.DataSources.Add(new DataSourceLayerData(probesLayer.LayerID, probesLayer.LayerName, probesLayer.DataSource, DataSourceUsage.TextureMap, 999, 1));
 }