Exemplo n.º 1
0
 protected virtual void OnResultsReadyToVisualize(VisualizationEventArgs args)
 {
     if (ResultsReadyToVisualize != null)
     {
         ResultsReadyToVisualize(args);
     }
 }
Exemplo n.º 2
0
 protected virtual void OnResultsReadyToVisualize(object sender, VisualizationEventArgs e)
 {
     if (ResultsReadyToVisualize != null)
     {
         ResultsReadyToVisualize(sender, e);
     }
 }
Exemplo n.º 3
0
        private void OnRenderPackageAggregationCompleted(AsyncTask asyncTask)
        {
            var task = asyncTask as AggregateRenderPackageAsyncTask;

            var e = new VisualizationEventArgs(task.NormalRenderPackages, task.SelectedRenderPackages, task.NodeId);

            OnResultsReadyToVisualize(e);
        }
Exemplo n.º 4
0
        private void OnRenderPackageAggregationCompleted(AsyncTask asyncTask)
        {
            var task = asyncTask as AggregateRenderPackageAsyncTask;
            var rps  = new List <RenderPackage>();

            rps.AddRange(task.NormalRenderPackages.Cast <RenderPackage>());
            rps.AddRange(task.SelectedRenderPackages.Cast <RenderPackage>());

            var e = new VisualizationEventArgs(rps, task.NodeId, -1);

            OnResultsReadyToVisualize(this, e);
        }
Exemplo n.º 5
0
 protected virtual void OnResultsReadyToVisualize(object sender, VisualizationEventArgs e)
 {
     if (ResultsReadyToVisualize != null)
         ResultsReadyToVisualize(sender, e);
 }
        void viz_ResultsReadyToVisualize(VisualizationEventArgs args)
        {
            if (args.Id == Guid.Empty)
            {
                return;
            }

            Assert.AreEqual(0, args.Packages.Sum(rp => rp.PointVertexCount));
        }
Exemplo n.º 7
0
        private void OnRenderPackageAggregationCompleted(AsyncTask asyncTask)
        {
            var task = asyncTask as AggregateRenderPackageAsyncTask;

            var e = new VisualizationEventArgs(task.NormalRenderPackages, task.SelectedRenderPackages, task.NodeId);
            OnResultsReadyToVisualize(e);
        }
Exemplo n.º 8
0
 protected virtual void OnResultsReadyToVisualize(VisualizationEventArgs args)
 {
     if (ResultsReadyToVisualize != null)
         ResultsReadyToVisualize(args);
 }
Exemplo n.º 9
0
        private void OnRenderPackageAggregationCompleted(AsyncTask asyncTask)
        {
            var task = asyncTask as AggregateRenderPackageAsyncTask;
            var rps = new List<RenderPackage>();
            rps.AddRange(task.NormalRenderPackages.Cast<RenderPackage>());
            rps.AddRange(task.SelectedRenderPackages.Cast<RenderPackage>());

            Debug.WriteLine(string.Format("Render aggregation complete for {0}", task.NodeId));

            var e = new VisualizationEventArgs(rps, task.NodeId, -1);
            OnResultsReadyToVisualize(this, e);
        }