#include <VisionX/libraries/imrec/playback/AbstractPlaybackStrategy.h>
|
| virtual unsigned int | getCurrentFrame () const =0 |
| | Gets the current frame index of the playback.
|
| |
| virtual unsigned int | getFps () const =0 |
| | Gets the amount of frames per second of the recording.
|
| |
| virtual unsigned int | getFrameCount () const =0 |
| | Gets the total amout of frames in the recording.
|
| |
| virtual unsigned int | getFrameHeight () const =0 |
| | Gets the height of a frame in pixel.
|
| |
| virtual unsigned int | getFrameWidth () const =0 |
| | Gets the width of a frame in pixel.
|
| |
| virtual bool | getNextFrame (::CByteImage &buffer)=0 |
| | Writes the next frame into an IVT CByteImage buffer (RGB)
|
| |
| virtual bool | getNextFrame (cv::Mat &buffer)=0 |
| | Writes the next frame into an OpenCV Mat buffer (BGR)
|
| |
| virtual bool | getNextFrame (void *buffer)=0 |
| | Writes the next frame into an RGB buffer (one byte per channel => 3 byte per pixel)
|
| |
| virtual bool | hasNextFrame () const =0 |
| | Indicates whether the recording has a consecutive frame.
|
| |
| virtual bool | isPlayingBack () const =0 |
| | Indicates whether the instance is configured to be able to play back.
|
| |
| virtual void | setCurrentFrame (unsigned int frame)=0 |
| | Sets the frame from there the playback should resume afterwards (seek)
|
| |
| virtual void | startPlayback (const std::filesystem::path &filePath)=0 |
| | Starts the playback.
|
| |
| virtual void | stopPlayback ()=0 |
| | Stops the playback.
|
| |
| virtual | ~AbstractPlaybackStrategy () |
| | Destructor.
|
| |
Definition at line 50 of file AbstractPlaybackStrategy.h.
◆ ~AbstractPlaybackStrategy()
◆ getCurrentFrame()
| virtual unsigned int getCurrentFrame |
( |
| ) |
const |
|
pure virtual |
◆ getFps()
| virtual unsigned int getFps |
( |
| ) |
const |
|
pure virtual |
◆ getFrameCount()
| virtual unsigned int getFrameCount |
( |
| ) |
const |
|
pure virtual |
◆ getFrameHeight()
| virtual unsigned int getFrameHeight |
( |
| ) |
const |
|
pure virtual |
◆ getFrameWidth()
| virtual unsigned int getFrameWidth |
( |
| ) |
const |
|
pure virtual |
◆ getNextFrame() [1/3]
| virtual bool getNextFrame |
( |
::CByteImage & | buffer | ) |
|
|
pure virtual |
◆ getNextFrame() [2/3]
| virtual bool getNextFrame |
( |
cv::Mat & | buffer | ) |
|
|
pure virtual |
◆ getNextFrame() [3/3]
| virtual bool getNextFrame |
( |
void * | buffer | ) |
|
|
pure virtual |
◆ hasNextFrame()
| virtual bool hasNextFrame |
( |
| ) |
const |
|
pure virtual |
◆ isPlayingBack()
| virtual bool isPlayingBack |
( |
| ) |
const |
|
pure virtual |
◆ setCurrentFrame()
| virtual void setCurrentFrame |
( |
unsigned int | frame | ) |
|
|
pure virtual |
◆ startPlayback()
| virtual void startPlayback |
( |
const std::filesystem::path & | filePath | ) |
|
|
pure virtual |
◆ stopPlayback()
| virtual void stopPlayback |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: