Пример #1
0
        internal frmGenerate3DPolyBackground(BackgroundModelGenerator bgModelGenerator)
        {
            InitializeComponent();

            BackgroundModelGenerator = bgModelGenerator;

            UpdateControlState();
            DisplayModelParameters();
        }
        internal frmGenerate3DPolyBackground(BackgroundModelGenerator bgModelGenerator)
        {
            InitializeComponent();

            BackgroundModelGenerator = bgModelGenerator;

            UpdateControlState();
            DisplayModelParameters();
        }
        private void btnConfigureBackground_Click(object sender, EventArgs e)
        {
            var frmCfg = new frmGenerate3DPolyBackground(m_BgModelGen);
            if (frmCfg.ShowDialog(this) == DialogResult.OK)
            {
                m_PolyOrder = frmCfg.PolyOrder;
                m_PolyDepth = frmCfg.PolyDepth;

                m_BgModelGen = frmCfg.BackgroundModelGenerator;
            }
        }
        private void btnConfigureBackground_Click(object sender, EventArgs e)
        {
            var frmCfg = new frmGenerate3DPolyBackground(m_BgModelGen);

            if (frmCfg.ShowDialog(this) == DialogResult.OK)
            {
                m_PolyOrder = frmCfg.PolyOrder;
                m_PolyDepth = frmCfg.PolyDepth;

                m_BgModelGen = frmCfg.BackgroundModelGenerator;
            }
        }
        public frmGenerateOccultationVideoModel()
        {
            InitializeComponent();

            m_BgModelGen = new BackgroundModelGenerator(100, 100, 40);
        }
        public frmGenerateOccultationVideoModel()
        {
            InitializeComponent();

            m_BgModelGen = new BackgroundModelGenerator(100, 100, 40);
        }