Inherits opentl::input::ImageSensor.
Inherited by opentl::input::LinuxDC1394Camera, and opentl::input::WindowsCMU1394Camera.
Public Types | |
Public Member Functions | |
| FirewireCamera () | |
| virtual void | getCaptureParameters (int &width, int &height, opentl::core::cvdata::Image::ColorChannels &channels, opentl::core::cvdata::Image::BitsPerChannel &bpc)=0 |
| Returns the current capture parameters. Hint: open() needs to be called in advance. | |
| virtual | ~FirewireCamera () |
Static Public Member Functions | |
| static FirewireCamera * | createFirewireCamera (int cameraNumber=0) |
| Factory function to create a FirewireCamera instance. | |
| static void | deleteFirewireCamera (FirewireCamera *camera) |
| Destroys a camera object by calling its virtual destructor. | |
| static int | getNumberOfFirewireCameras () |
| Return the number of connected Firewire Cameras. | |
| static const std::string & | getVideoFormatString (Format format) |
| Return a string for a given format enum variable. | |
| static const std::string & | getVideoFramerateString (Framerate framerate) |
| Return a string for a given framerate enum variable. | |
| static const std::string & | getVideoModeString (Mode mode) |
| Return a string for a given mode enum variable. | |
Protected Attributes | |
| int | cameraIndex |
| Index of the camera. | |
| bool | capturing |
| Indicates, if we are in capture state or not. | |
| opentl::core::cvdata::Image * | currentFrame |
| The grabbed frame. | |
| opentl::core::cvdata::Image * | currentRGBFrame |
| The grabbed frame as a RGB image. | |
| bool | isOpened |
| Indicates, if the camera is opened. | |
FirewireCamera is the base class for operating system specific implementations of Firewire Cameras. Use this class to instantiate FirewireCamera Objects.
| VideoFramerate | (opentl::input::FirewireCamera::Framerate) Framerate |
| VideoMode | (opentl::input::FirewireCamera::Mode) VideoMode |
| VideoFormat | (opentl::input::FirewireCamera::Format) VideoFormat |
| OFFLINE_COUNT |
Reimplemented from opentl::input::ImageSensor.
| BayerFilter | (cvprocess::Bayer::Filter) BayerFilter |
| GainAuto | (bool) Enable Auto Gain |
| IrisAuto | (bool) Enable Auto Iris |
| Shutter | (int) Shutter |
| ShutterAuto | (bool) Enable Auto Shutter |
| TriggerDelay | TriggerDelay (not yet supported). |
| TriggerSource | TriggerSource (not yet supported). |
| WhiteBalance | (opentl::math::Vector2) White Balance |
| WhiteBalanceAuto | (bool) Enable White Balance Auto |
| TriggerMode | (unsigned int) TriggerMode |
| WhiteBalanceOnePush | (bool) enable white balance one push |
| ONLINE_COUNT |
Reimplemented from opentl::input::ImageSensor.
| opentl::input::FirewireCamera::FirewireCamera | ( | ) |
| virtual opentl::input::FirewireCamera::~FirewireCamera | ( | ) | [virtual] |
| static FirewireCamera* opentl::input::FirewireCamera::createFirewireCamera | ( | int | cameraNumber = 0 |
) | [static] |
Factory function to create a FirewireCamera instance.
| index | of the camera to connect to |
| static void opentl::input::FirewireCamera::deleteFirewireCamera | ( | FirewireCamera * | camera | ) | [static] |
Destroys a camera object by calling its virtual destructor.
| camera | The camera object to destroy. |
| virtual void opentl::input::FirewireCamera::getCaptureParameters | ( | int & | width, | |
| int & | height, | |||
| opentl::core::cvdata::Image::ColorChannels & | channels, | |||
| opentl::core::cvdata::Image::BitsPerChannel & | bpc | |||
| ) | [pure virtual] |
Returns the current capture parameters. Hint: open() needs to be called in advance.
Implemented in opentl::input::LinuxDC1394Camera, and opentl::input::WindowsCMU1394Camera.
| static int opentl::input::FirewireCamera::getNumberOfFirewireCameras | ( | ) | [static] |
Return the number of connected Firewire Cameras.
| static const std::string& opentl::input::FirewireCamera::getVideoFormatString | ( | Format | format | ) | [static] |
Return a string for a given format enum variable.
| format | the value for the string determination. |
| static const std::string& opentl::input::FirewireCamera::getVideoFramerateString | ( | Framerate | framerate | ) | [static] |
Return a string for a given framerate enum variable.
| framerate | the value for the string determination. |
| static const std::string& opentl::input::FirewireCamera::getVideoModeString | ( | Mode | mode | ) | [static] |
Return a string for a given mode enum variable.
| mode | the value for the string determination. |
int opentl::input::FirewireCamera::cameraIndex [protected] |
Index of the camera.
bool opentl::input::FirewireCamera::capturing [protected] |
Indicates, if we are in capture state or not.
The grabbed frame.
The grabbed frame as a RGB image.
bool opentl::input::FirewireCamera::isOpened [protected] |
Indicates, if the camera is opened.
1.5.8