This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofAbstractHasPixels Class Reference
An abstract class representing an object that has pixels. More...
#include <ofGraphicsBaseTypes.h>
Inheritance diagram for ofAbstractHasPixels:

Public Member Functions | |
virtual | ~ofAbstractHasPixels () |
Destroy the ofAbstractHasPixels. | |
Detailed Description
An abstract class representing an object that has pixels.
This empty class primarily exists to allow templated subclasses of different types to be stored as raw or shared pointers in collections such as std::vector.
Example:
std::vector<ofAbstractHasPixels> pixelProviders;
ofPixels pixels;
ofFloatPixels floatPixels;
ofShortPixels shortPixels;
// ...
pixelProviders.push_back(&pixels);
pixelProviders.push_back(&floatPixels);
pixelProviders.push_back(&shortPixels);
Constructor & Destructor Documentation
◆ ~ofAbstractHasPixels()
|
inlinevirtual |
Destroy the ofAbstractHasPixels.
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofGraphicsBaseTypes.h