Inherits opentl::input::ImageSensor.
Public Member Functions | |
| virtual void | captureNext () |
| virtual void | captureStart () |
| virtual void | captureStop () |
| virtual void | close () |
| double | getSpeed () |
| virtual const opentl::core::cvdata::Image & | image () |
| virtual void | init () |
| bool | isFinished () const |
| virtual void | open () |
| void | setSpeed (double factor) |
| VideoFile (std::string filename) | |
| virtual | ~VideoFile () |
| opentl::input::VideoFile::VideoFile | ( | std::string | filename | ) |
constructor
| virtual opentl::input::VideoFile::~VideoFile | ( | ) | [virtual] |
destructor
| virtual void opentl::input::VideoFile::captureNext | ( | ) | [virtual] |
capture next image
Reimplemented from opentl::input::ImageSensor.
| virtual void opentl::input::VideoFile::captureStart | ( | ) | [virtual] |
start capture process
Reimplemented from opentl::input::ImageSensor.
| virtual void opentl::input::VideoFile::captureStop | ( | ) | [virtual] |
stop capture process
Reimplemented from opentl::input::ImageSensor.
| virtual void opentl::input::VideoFile::close | ( | ) | [virtual] |
close video file
Reimplemented from opentl::input::AbstractSensor.
| double opentl::input::VideoFile::getSpeed | ( | ) |
get speed factor the frame rate of a video is multiplied with. The higher the speed, the faster the video is running. A value of 1.0 means realtime.
| virtual const opentl::core::cvdata::Image& opentl::input::VideoFile::image | ( | ) | [virtual] |
get image data from last captured image
Reimplemented from opentl::input::ImageSensor.
| virtual void opentl::input::VideoFile::init | ( | ) | [virtual] |
initialize video capturing process
Reimplemented from opentl::input::AbstractSensor.
| bool opentl::input::VideoFile::isFinished | ( | ) | const |
check if end video file has been reached
| virtual void opentl::input::VideoFile::open | ( | ) | [virtual] |
open video stream from given file (constructor)
Reimplemented from opentl::input::AbstractSensor.
| void opentl::input::VideoFile::setSpeed | ( | double | factor | ) |
set speed factor the frame rate of a video is multiplied with. The higher the speed, the faster the video is running. A value of 1.0 means realtime.
1.5.8