This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
A base class represeting an object that has pixels. More...
#include <ofGraphicsBaseTypes.h>

Public Member Functions | |
virtual | ~ofBaseHasPixels_ () |
Destroy the ofAbstractHasPixels. | |
virtual ofPixels_< T > & | getPixels ()=0 |
Get a reference to the underlying ofPixels. | |
virtual const ofPixels_< T > & | getPixels () const =0 |
Get a const reference to the underlying ofPixels. | |
![]() | |
virtual | ~ofAbstractHasPixels () |
Destroy the ofAbstractHasPixels. | |
Detailed Description
class ofBaseHasPixels_< T >
A base class represeting an object that has pixels.
- Template Parameters
-
T The pixel data type.
Constructor & Destructor Documentation
◆ ~ofBaseHasPixels_()
|
inlinevirtual |
Destroy the ofAbstractHasPixels.
Member Function Documentation
◆ getPixels() [1/2]
|
pure virtual |
Get a const reference to the underlying ofPixels.
- Returns
- a const reference the underlying ofPixels.
Implemented in ofImage_< PixelType >, ofImage_< unsigned char >, ofAVFoundationPlayer, ofDirectShowGrabber, ofDirectShowPlayer, ofGstVideoUtils, ofGstVideoGrabber, ofGstVideoPlayer, ofVideoGrabber, ofVideoPlayer, and ofMediaFoundationPlayer.
◆ getPixels() [2/2]
|
pure virtual |
Get a reference to the underlying ofPixels.
- Returns
- a reference the underlying ofPixels.
Implemented in ofImage_< PixelType >, ofImage_< unsigned char >, ofAVFoundationPlayer, ofDirectShowGrabber, ofDirectShowPlayer, ofGstVideoUtils, ofGstVideoGrabber, ofGstVideoPlayer, ofVideoGrabber, ofVideoPlayer, and ofMediaFoundationPlayer.
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofGraphicsBaseTypes.h