Beispiel #1
0
 public Hist2DVm(int sharpness)
 {
     _enforceBounds = false;
     Sharpness = sharpness;
     GraphVm = new GraphVm();
     ColorSelector = ColorFunc.WeatherChannel;
 }
Beispiel #2
0
 public Hist2DVm(int sharpness, D2r<float> bounds)
 {
     _enforceBounds = true;
     Sharpness = sharpness;
     GraphVm = new GraphVm();
     Bounds = bounds;
     ColorSelector = ColorFunc.WeatherChannel;
 }
Beispiel #3
0
 public Hist1DVm(int sharpness)
 {
     _enforceBounds = false;
     Sharpness = sharpness;
     GraphVm = new GraphVm();
     ColorSteps = 256;
     Legend = Colors.White.ToUniformColorSequence((int)ColorSteps);
 }
Beispiel #4
0
 public Hist1DVm(float min, float max, int sharpness)
 {
     _enforceBounds = true;
     Sharpness = sharpness;
     GraphVm = new GraphVm();
     ColorSteps = 256;
     MinValue = min;
     MaxValue = max;
     Legend = Colors.White.ToUniformColorSequence((int)ColorSteps);
 }
Beispiel #5
0
        public ViewHPageVm(AppVm appModel)
        {
            AppVm = appModel;
            AppVm.OnReportReady.Subscribe(DisplaySim);

            var scse = (SimUtils.SimCliqueSetForEpoch)appModel.Sim;
            var ngM = scse.CliqueNetworkTr.NodeGroups;
            HistogramVm = new Hist1DVm(2);
            //MatrixSfVm = new MatrixSfVm(1, ngM.ColumnCount, ngM.RowCount);
            LastRepIteration = 0;
            GraphVm = new GraphVm();
            InitUi();
        }
 public ProjectionControlVm()
 {
     XSelectorVm = new GroupSelectorVm {Orientation = Orientation.Horizontal};
     YSelectorVm = new GroupSelectorVm();
     GraphVm = new GraphVm();
 }