コード例 #1
0
ファイル: Form1.cs プロジェクト: luckysama/GMM2D
 public GMMDemoWnd()
 {
     InitializeComponent();
     //this.FormBorderStyle = FormBorderStyle.FixedDialog;
     //this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.WindowState = FormWindowState.Maximized;
     gmm = new GMM();
     label_status.Text = "Welcome to GMM demo!"; // use this control to display a line of text.
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: luckysama/GMM2D
        private void ResetSimulationMemory()
        {
            UpdateConfigurationUnputs();

            gmm = new GMM();
            //gmm.ClearPoints();
            drawingGaussians.Clear();
            drawingPolygons.Clear();
            drawingPts.Clear();
            drawingLargeCircles.Clear();
            groundTruthGaussians.Clear();

            manual_mode            = false;
            manual_gmm_initialized = false;
            manual_level           = 0;
            fitMode.Text           = "Auto";
            label_status.Text      = "Memory cleared at " + DateTime.Now;
        }