Inheritance diagram for vetPlainFrameGenerator:

Public Member Functions | |
| vetPlainFrameGenerator (float fps=0) | |
| Default constructor, frame rate is managed by vetInput class. | |
| vetPlainFrameGenerator (PixelRGB96 &background, float fps=0) | |
| Default constructor initialize background, frame rate is managed by vetInput class. | |
| vetPlainFrameGenerator (PixelGrey &background, float fps=0) | |
| Default constructor initialize variables and connect. to device if asked. | |
| ~vetPlainFrameGenerator () | |
| VETRESULT | reset () |
| Reset current background pixels to defaults. | |
| void | useBufferYUV (unsigned int width, unsigned int height) |
| Update and set current buffer (vetFrameYUV420) to new size. | |
| void | useBufferRGB (unsigned int width, unsigned int height) |
| Update and set current buffer (vetFrameRGB24) to new size. | |
| void | useBufferTuC (unsigned int width, unsigned int height, vetFrame::VETFRAME_PROFILE profile) |
| Update and set current buffer (vetFrameT<uchar>) to new size. | |
| bool | isBufferYUV () |
| Evaluate is current buffer is a vetFrameYUV420. | |
| bool | isBufferRGB () |
| Evaluate is current buffer is a vetFrameRGB24. | |
| bool | isBufferTuC () |
| Evaluate is current buffer is a vetFrameT<uchar>. | |
| VETRESULT | setHeight (unsigned int value) |
| Set current RGB background.Read current RGB background.Set current greyscale background.Read current greyscale background.Set current canvas' height. | |
| VETRESULT | setWidth (unsigned int value) |
| Set current canvas' width. | |
| unsigned int | getWidth () const |
| Read current canvas's width. | |
| unsigned int | getHeight () const |
| Read current canvas's height. | |
| bool | EoF () |
| Get the state of current data source. | |
| VETRESULT | extractTo (vetFrameYUV420 &img) |
| Clear the frame with background pixel. | |
| VETRESULT | extractTo (vetFrameRGB24 &img) |
| Clear the frame with background pixel. | |
| VETRESULT | extractTo (vetFrameT< unsigned char > &img) |
| Clear the frame with background pixel. | |
Protected Member Functions | |
| void | releaseBuffers () |
| Close and free all buffers, then they are set to NULL. | |
Protected Attributes | |
| vetFrameYUV420 * | bufferYUV |
| Our YUV buffer. | |
| vetFrameRGB24 * | bufferRGB |
| Our RGB buffer. | |
| vetFrameT< unsigned char > * | bufferTuC |
| Our "Template" buffer. | |
Definition at line 49 of file vetPlainFrameGenerator.h.
|
|
Default constructor, frame rate is managed by vetInput class.
Definition at line 25 of file vetPlainFrameGenerator.cpp. |
|
||||||||||||
|
Default constructor initialize background, frame rate is managed by vetInput class.
Definition at line 38 of file vetPlainFrameGenerator.cpp. |
|
||||||||||||
|
Default constructor initialize variables and connect. to device if asked.
Definition at line 52 of file vetPlainFrameGenerator.cpp. |
|
|
Get the state of current data source.
Implements vetInput. Definition at line 225 of file vetPlainFrameGenerator.h. |
|
|
Clear the frame with background pixel.
Implements vetInput. Definition at line 329 of file vetPlainFrameGenerator.cpp. References bufferTuC, INFO, isBufferTuC(), VETRET_ILLEGAL_USE, and VETRET_OK. |
|
|
Clear the frame with background pixel.
Implements vetInput. Definition at line 305 of file vetPlainFrameGenerator.cpp. References bufferRGB, INFO, isBufferRGB(), VETRET_ILLEGAL_USE, and VETRET_OK. |
|
|
Clear the frame with background pixel.
Implements vetInput. Definition at line 281 of file vetPlainFrameGenerator.cpp. References bufferYUV, INFO, isBufferYUV(), VETRET_ILLEGAL_USE, and VETRET_OK. |
|
|
Read current canvas's height.
Implements vetInput. Definition at line 251 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrameT< T >::height, and vetFrame::height. |
|
|
Read current canvas's width.
Implements vetInput. Definition at line 232 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrameT< T >::width, and vetFrame::width. |
|
|
Evaluate is current buffer is a vetFrameRGB24.
Definition at line 151 of file vetPlainFrameGenerator.h. References bufferRGB. Referenced by extractTo(). |
|
|
Evaluate is current buffer is a vetFrameT<uchar>.
Definition at line 158 of file vetPlainFrameGenerator.h. References bufferTuC. Referenced by extractTo(). |
|
|
Evaluate is current buffer is a vetFrameYUV420.
Definition at line 144 of file vetPlainFrameGenerator.h. References bufferYUV. Referenced by extractTo(). |
|
|
Set current RGB background.Read current RGB background.Set current greyscale background.Read current greyscale background.Set current canvas' height.
Definition at line 180 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrameT< T >::reAllocCanvas(), vetFrameRGB24::reAllocCanvas(), vetFrameYUV420::reAllocCanvas(), VETRET_NOT_IMPLEMENTED, VETRET_OK, vetFrameT< T >::width, and vetFrame::width. |
|
|
Set current canvas' width.
Definition at line 206 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrameT< T >::height, vetFrame::height, vetFrameT< T >::reAllocCanvas(), vetFrameRGB24::reAllocCanvas(), vetFrameYUV420::reAllocCanvas(), VETRET_NOT_IMPLEMENTED, and VETRET_OK. |
|
||||||||||||
|
Update and set current buffer (vetFrameRGB24) to new size.
Definition at line 131 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrame::height, vetFrameRGB24::reAllocCanvas(), and vetFrame::width. |
|
||||||||||||||||
|
Update and set current buffer (vetFrameT<uchar>) to new size.
Definition at line 155 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrameT< T >::height, vetFrameT< T >::reAllocCanvas(), and vetFrameT< T >::width. |
|
||||||||||||
|
Update and set current buffer (vetFrameYUV420) to new size.
Definition at line 107 of file vetPlainFrameGenerator.cpp. References bufferRGB, bufferTuC, bufferYUV, vetFrame::height, vetFrameYUV420::reAllocCanvas(), and vetFrame::width. |
1.4.4