示例#1
0
        public AddCam(globals global_variables)
        {
            this.global_variables = global_variables;

            InitializeComponent();

            short i;
            Filter f;

            //what cameras are available?  Populate the combo box
            cboCamaras.Items.Clear();
            for (i = 0; i < global_variables.WDM_filters.VideoInputDevices.Count; i++)
            {
                f = global_variables.WDM_filters.VideoInputDevices[i];
                cboCamaras.Items.Add(f.Name);
            }
        }
示例#2
0
        public AddCam(globals global_variables)
        {
            this.global_variables = global_variables;

            InitializeComponent();

            short  i;
            Filter f;

            //what cameras are available?  Populate the combo box
            cboCamaras.Items.Clear();
            for (i = 0; i < global_variables.WDM_filters.VideoInputDevices.Count; i++)
            {
                f = global_variables.WDM_filters.VideoInputDevices[i];
                cboCamaras.Items.Add(f.Name);
            }
        }
示例#3
0
        public frmMain()
        {
            Random rnd = new Random();

            global_variables = new globals();

            InitializeComponent();

            initialise();

            // load calibration data
            stereo.loadCalibrationData(global_variables.calibration_filename);

            //what cameras are available?  Populate the list box
            lstCameraDevices.Items.Clear();
            for (short i = 0; i < global_variables.WDM_filters.VideoInputDevices.Count; i++)
            {
                Filter f = global_variables.WDM_filters.VideoInputDevices[i];
                if (!f.Name.ToLower().Contains("(vfw)"))  // don't show VFW drivers
                    lstCameraDevices.Items.Add(f.Name);
            }
        }
示例#4
0
        public frmMain()
        {
            global_variables = new globals();

            InitializeComponent();
        }
示例#5
0
        public frmMain()
        {
            Random rnd = new Random();

            global_variables = new globals();

            InitializeComponent();

            initialise();
            
            // load calibration data
            stereo.loadCalibrationData(global_variables.calibration_filename);

            //what cameras are available?  Populate the list box
            lstCameraDevices.Items.Clear();
            for (short i = 0; i < global_variables.WDM_filters.VideoInputDevices.Count; i++)
            {
                Filter f = global_variables.WDM_filters.VideoInputDevices[i];
                if (!f.Name.ToLower().Contains("(vfw)"))  // don't show VFW drivers
                    lstCameraDevices.Items.Add(f.Name);
            }

        }
示例#6
0
        public frmMain()
        {
            global_variables = new globals();

            InitializeComponent();
        }