/// <summary> /// Builds the alignment plot views. /// </summary> private void BuildClusterPlots(List <UMCClusterLight> clusters) { var view = new ClustersPlotView { Clusters = clusters }; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(0); } }
private void BuildMassTagPlots(MassTagsLoadedEventArgs e) { var view = new FeaturePlotView { MassTagsData = e }; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(9); } }
/// <summary> /// Builds the alignment plot views. /// </summary> /// <param name="e"></param> private void BuildAlignmentPlotView(FeaturesAlignedEventArgs e) { var view = new AlignmentPlotView { AlignmentData = e }; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(0); } }
/// <summary> /// Builds the alignment plot views. /// </summary> /// <param name="e"></param> private void BuildBaselineView(BaselineFeaturesLoadedEventArgs e) { // We dont care about the dataset if (e.DatasetInformation != null) { var view = new FeaturePlotView { BaselineData = e }; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(0); } } }