src/vapiCameraSettings.h

Ir para a documentação deste ficheiro.
00001 #ifndef _VAPI_CAMERA_SETTINGS_
00002 #define _VAPI_CAMERA_SETTINGS_
00003 #include <highgui.h>
00004 #include "vapiTypes.h"
00005 
00013 enum CameraType
00014 { vCameraNONE, vCameraLocal, vCameraRemoteIP, vCameraLocalFile };
00015 
00016 typedef struct _vCameraSettings
00017 {
00018         CvCapture *LocalCameraCapture;
00019         vBoolean LocalCameraFirstCapture;
00020         int CameraType;
00021         int LocalCameraIndex;
00022         char *RemoteCameraIP;
00023         char *RemoteCameraURL;  /* Pode ser utilizada para url ou ficheiro. */
00024         char *LocalFileName;
00025         double CalibrationConstant;
00026 } vCameraSettings;
00027 
00028 vCameraSettings *vapiCameraSettingsInit ();
00029 
00030 void vapiCameraSettingsSetNoCapture (vCameraSettings * CameraSettings);
00031 
00032 void vapiCameraSettingsSetCapture (vCameraSettings * CameraSettings,
00033                                    CvCapture * Capture);
00034 
00035 void vapiCameraSettingsSetCalibrationConstant (vCameraSettings *
00036                                                CameraSettings,
00037                                                double Constant);
00038 
00039 CvCapture *vapiCameraSettingsGetCapture (vCameraSettings * CameraSettings);
00040 
00041 int vapiCameraSettingsGetType (vCameraSettings * CameraSettings);
00042 
00043 void vapiCameraSettingsSetTypeLocal (vCameraSettings * CameraSettings,
00044                                      int LocalCameraIndex);
00045 
00046 void vapiCameraSettingsSetTypeLocalFile (vCameraSettings * CameraSettings,
00047                                          const char *LocalFileName);
00048 
00049 void vapiCameraSettingsSetTypeRemoteIP (vCameraSettings * CameraSettings,
00050                                         const char *IPAddress,
00051                                         const char *URL);
00052 
00053 void vapiCameraSettingsInformLoadingStatus (const char *Message,
00054                                             double steps);
00055 
00056 void vCameraSettingsFree (vCameraSettings * vFree);
00057 
00058 char *vapiCameraSettingsGetLocalFilename (vCameraSettings * CameraSettings);
00059 
00060 int vapiCameraSettingsGetLocalCameraNumber (vCameraSettings * CameraSettings);
00061 
00062 int vapiCameraSettingsStartNewVapi (vCameraSettings * CameraSettings);
00063 
00064 vCameraSettings * vapiCameraSettingsRetrieveGlobal();
00065 
00066 void vapiGlobalCameraSettingsInit();
00067 
00068 #endif

Gerado em Tue Jul 24 10:34:59 2007 para Vapi por  doxygen 1.5.1