#include <base_firei.h>
Public Member Functions | |
| base_firei_control () | |
| Class constructor. | |
| base_firei_control (char *devicefile, int HN, int NN, int CF, int FR) | |
| Overloaded class constructor. | |
| ~base_firei_control () | |
| Class destructor. | |
| int | PrintPossibleModes (void) |
| Prints to shell all the camera possible modes. | |
| int | PrintPossibleFrameRates (void) |
| Prints to shell all the camera possible frame rates. | |
| int | PrintCameraFeatures (void) |
| Prints to shell all the camera features. | |
| int | PrintCameraInfo (void) |
| Prints to shell some camera info. | |
| int | SetHandleNum (int num) |
| Sets the flag HandleNum to num. | |
| int | SetNodeNum (int num) |
| Sets the flag NodeNum to num. | |
| int | SetColorFormat (int cm) |
| Sets the camera color format. | |
| int | SetFeatureToManualAuto (unsigned int f, unsigned int val) |
| Sets a camera feature to manual or auto control. | |
| int | SetPredefinedParams (int paramsset) |
| int | SetFlgverbose (unsigned char val) |
| Sets the flag verbose to val. | |
| int | SetFlgtestimgparams (unsigned char val) |
| Sets the flag testimgparams to val. | |
| int | DmaUnlisten (void) |
| int | CleanupIsoChannels (void) |
| int | OpenHandle (void) |
| Opens the raw1394 handle with the num HandleNum. | |
| int | TurnOffCamera (void) |
| Turns off the camera in handle handlenum and node nodenum. | |
| int | TurnOnCamera (void) |
| Turns on the camera in handle handlenum and node nodenum. | |
| int | GetCameraNodes (void) |
| Gets all the cameras and their nodes in the predefined handlenum. | |
| int | SetupCapture_dma (void) |
| Sets up the capture. | |
| int | StartIsoTransmission (void) |
| Starts iso transmission. | |
| int | GetFrame_dma (IplImage *img) |
| Gets an image from the camera at handle handlenum and node nodenum. | |
| int | GetFrame_dma (IplImage *img, int64 *ts) |
| int | GetFrame_dma (IplImage *img, double *ts) |
| int | GetFrame (IplImage *img, double *ts) |
| int | InitCameraToFactorySettings (void) |
| Inits camera to its factory settings. | |
| int | GetFrameRate (void) |
| int | GetBrightness (void) |
| int | GetSaturation (void) |
| int | GetExposure (void) |
| int | GetSharpness (void) |
| int | GetWhiteBalance (void) |
| int | GetHue (void) |
| int | GetGamma (void) |
| int | GetShutter (void) |
| int | GetGain (void) |
| int | GetIris (void) |
| int | SetFrameRate (int fr) |
| int | SetBrightness (unsigned int b, unsigned char manual) |
| int | SetSaturation (unsigned int s, unsigned char manual) |
| int | SetExposure (unsigned int e, unsigned char manual) |
| int | SetSharpness (unsigned int s, unsigned char manual) |
| int | SetWhiteBalance (unsigned int ub, unsigned int vr, unsigned char manual) |
| int | SetHue (unsigned int h, unsigned char manual) |
| int | SetGamma (unsigned int g, unsigned char manual) |
| int | SetShutter (unsigned int s, unsigned char manual) |
| int | SetGain (unsigned int g, unsigned char manual) |
Private Attributes | |
| dc1394_feature_info * | feature |
| dc1394_feature_set * | featureset |
| dc1394_miscinfo * | info |
| dc1394_camerainfo * | camerainfo |
| unsigned char * | TmpBuffer |
| int | handlenum |
| int | nodenum |
| dc1394_cameracapture | camera |
| int | numNodes |
| int | numCameras |
| raw1394handle_t | handle |
| nodeid_t * | camera_nodes |
| unsigned int | channel |
| unsigned int | speed |
| unsigned int | format |
| unsigned int | framerate |
| unsigned int | mode |
| IplImage * | image |
| struct { | |
| unsigned char verbose | |
| unsigned char hashandle | |
| unsigned char testimgparams | |
| } | flg |
| struct { | |
| int width | |
| int height | |
| int numchannels | |
| unsigned int channel | |
| unsigned int speed | |
| int colormode | |
| int framerate | |
| unsigned int Brightness | |
| unsigned int Exposure | |
| unsigned int Sharpness | |
| unsigned int Hue | |
| unsigned int Saturation | |
| unsigned int Gamma | |
| unsigned int Temperature | |
| unsigned int Shutter | |
| unsigned int Gain | |
| unsigned int FrameRate | |
| unsigned int Iris | |
| struct { | |
| unsigned int u_b_value | |
| unsigned int v_r_value | |
| } WhiteBalance | |
| } | captureparams |
| int base_firei_control::CleanupIsoChannels | ( | void | ) | [inline] |
| int base_firei_control::InitCameraToFactorySettings | ( | void | ) | [inline] |
Inits camera to its factory settings.
References camera_nodes, handle, and nodenum.
| int base_firei_control::PrintCameraFeatures | ( | void | ) | [inline] |
Prints to shell all the camera features.
References featureset.
| int base_firei_control::PrintCameraInfo | ( | void | ) | [inline] |
| int base_firei_control::SetFlgtestimgparams | ( | unsigned char | val | ) | [inline] |
Sets the flag testimgparams to val.
If true every time a get image is called the pointer to the image is first tested avoiding a runtime crash.
| val | 1 for TRUE or 0 for FALSE |
| int base_firei_control::SetFlgverbose | ( | unsigned char | val | ) | [inline] |
Sets the flag verbose to val.
If true reports will be written to the shell.
| val | 1 for TRUE or 0 for FALSE |
| int base_firei_control::SetHandleNum | ( | int | num | ) | [inline] |
Sets the flag HandleNum to num.
| num | Number of the handle |
References handlenum.
| int base_firei_control::SetNodeNum | ( | int | num | ) | [inline] |
Sets the flag NodeNum to num.
| num | Number of the node |
References nodenum.
| int base_firei_control::SetupCapture_dma | ( | void | ) |
Sets up the capture.
| unsigned int base_firei_control::Brightness |
dc1394_cameracapture base_firei_control::camera [private] |
Referenced by base_firei_control(), DmaUnlisten(), GetFrame(), GetFrame_dma(), StartIsoTransmission(), and ~base_firei_control().
nodeid_t* base_firei_control::camera_nodes [private] |
Referenced by base_firei_control(), GetBrightness(), GetCameraNodes(), GetExposure(), GetFrameRate(), GetGain(), GetGamma(), GetHue(), GetIris(), GetSaturation(), GetSharpness(), GetShutter(), GetWhiteBalance(), InitCameraToFactorySettings(), SetBrightness(), SetExposure(), SetFeatureToManualAuto(), SetFrameRate(), SetGain(), SetGamma(), SetHue(), SetSaturation(), SetSharpness(), SetShutter(), and SetWhiteBalance().
dc1394_camerainfo* base_firei_control::camerainfo [private] |
Referenced by PrintCameraInfo().
struct { ... } base_firei_control::captureparams [private] |
Referenced by base_firei_control(), GetBrightness(), GetExposure(), GetFrame(), GetFrame_dma(), GetFrameRate(), GetGain(), GetGamma(), GetHue(), GetIris(), GetSaturation(), GetSharpness(), GetShutter(), GetWhiteBalance(), SetBrightness(), SetColorFormat(), SetExposure(), SetFrameRate(), SetGain(), SetGamma(), SetHue(), SetSaturation(), SetSharpness(), SetShutter(), and SetWhiteBalance().
unsigned int base_firei_control::channel [private] |
Referenced by base_firei_control().
| unsigned int base_firei_control::Exposure |
dc1394_feature_info* base_firei_control::feature [private] |
dc1394_feature_set* base_firei_control::featureset [private] |
Referenced by PrintCameraFeatures().
struct { ... } base_firei_control::flg [private] |
unsigned int base_firei_control::format [private] |
Referenced by base_firei_control().
| unsigned int base_firei_control::FrameRate |
unsigned int base_firei_control::framerate [private] |
Referenced by base_firei_control().
| unsigned int base_firei_control::Gain |
| unsigned int base_firei_control::Gamma |
raw1394handle_t base_firei_control::handle [private] |
Referenced by base_firei_control(), DmaUnlisten(), GetBrightness(), GetCameraNodes(), GetExposure(), GetFrame(), GetFrame_dma(), GetFrameRate(), GetGain(), GetGamma(), GetHue(), GetIris(), GetSaturation(), GetSharpness(), GetShutter(), GetWhiteBalance(), InitCameraToFactorySettings(), OpenHandle(), SetBrightness(), SetExposure(), SetFeatureToManualAuto(), SetFrameRate(), SetGain(), SetGamma(), SetHue(), SetSaturation(), SetSharpness(), SetShutter(), SetWhiteBalance(), StartIsoTransmission(), TurnOffCamera(), TurnOnCamera(), and ~base_firei_control().
int base_firei_control::handlenum [private] |
Referenced by base_firei_control(), OpenHandle(), and SetHandleNum().
| unsigned char base_firei_control::hashandle |
| unsigned int base_firei_control::Hue |
IplImage* base_firei_control::image [private] |
dc1394_miscinfo* base_firei_control::info [private] |
| unsigned int base_firei_control::Iris |
unsigned int base_firei_control::mode [private] |
Referenced by base_firei_control(), GetFrame(), and GetFrame_dma().
int base_firei_control::nodenum [private] |
Referenced by base_firei_control(), GetBrightness(), GetExposure(), GetFrameRate(), GetGain(), GetGamma(), GetHue(), GetIris(), GetSaturation(), GetSharpness(), GetShutter(), GetWhiteBalance(), InitCameraToFactorySettings(), SetBrightness(), SetExposure(), SetFeatureToManualAuto(), SetFrameRate(), SetGain(), SetGamma(), SetHue(), SetNodeNum(), SetSaturation(), SetSharpness(), SetShutter(), SetWhiteBalance(), TurnOffCamera(), and TurnOnCamera().
int base_firei_control::numCameras [private] |
Referenced by base_firei_control(), and GetCameraNodes().
int base_firei_control::numNodes [private] |
Referenced by base_firei_control().
| unsigned int base_firei_control::Saturation |
| unsigned int base_firei_control::Sharpness |
| unsigned int base_firei_control::Shutter |
unsigned int base_firei_control::speed [private] |
Referenced by base_firei_control().
| unsigned int base_firei_control::Temperature |
| unsigned char base_firei_control::testimgparams |
unsigned char* base_firei_control::TmpBuffer [private] |
| unsigned int base_firei_control::u_b_value |
| unsigned int base_firei_control::v_r_value |
| unsigned char base_firei_control::verbose |
| struct { ... } base_firei_control::WhiteBalance |
1.6.3