CaptureCamera Class Reference

This class implements a TaskContext that grabs images from a firewire-camera using OpenCV. More...

#include <CaptureCamera.hpp>

List of all members.

Public Member Functions

 CaptureCamera (std::string name)
 Creates an unconfigured CaptureCamera component.
virtual bool configureHook ()
virtual bool startHook ()
virtual void updateHook ()
virtual void cleanupHook ()

Protected Attributes

RTT::WriteDataPort< IplImage > _image
 Dataport which contains grabbed image.
RTT::WriteDataPort
< RTT::TimeService::ticks > 
_capture_time
 Dataport which contains grabbing timestamp.
RTT::Command< bool(void)> _newImage
 Command to grab image.
RTT::Command< bool(void)> _setProperties
 Command to update the camera properties.
RTT::Property< int > _camera_index
 camera id
RTT::Property< std::string > _video_driver
 select video driver: autodetect, v4l or firewire
RTT::Property< int > _capture_mode
 capturing mode, check dc1394 for values (firewire)
RTT::Property< int > _capture_shutter
 shutter time in micro seconds (firewire)
RTT::Property< int > _capture_gain
 capturing gain
RTT::Property< int > _capture_convert
 set true if opencv should convert the grabbed image to RGB (firewire)
RTT::Property< double > _capture_fps
 framerate of camera (firewire)
RTT::Property< int > _capture_width
 capture frame width
RTT::Property< int > _capture_height
 capture frame height
RTT::Property< bool > _show_time
 boolean whether to print capturing time information
RTT::Property< bool > _show_image
 boolean whether to show the captured image in a window

Detailed Description

This class implements a TaskContext that grabs images from a firewire-camera using OpenCV.

The component can be executed a periodic as well as by a non-periodic activity.

Definition at line 46 of file CaptureCamera.hpp.


Constructor & Destructor Documentation

CaptureCamera ( std::string  name  ) 

The documentation for this class was generated from the following files:
Generated on Thu Dec 23 15:05:28 2010 for OrocosComponentLibrary by  doxygen 1.6.3