Esempio n. 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);
            }
        }
Esempio n. 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);
            }
        }
Esempio n. 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);
            }
        }
Esempio n. 4
0
        public frmMain()
        {
            global_variables = new globals();

            InitializeComponent();
        }
Esempio n. 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);
            }

        }
Esempio n. 6
0
        public frmMain()
        {
            global_variables = new globals();

            InitializeComponent();
        }