reference

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:
ofBaseHasPixels_< PixelType > ofBaseHasPixels_< unsigned char > ofBaseHasPixels_< T > ofBaseVideo ofBaseImage_< PixelType > ofBaseImage_< unsigned char > ofBaseImage_< T > ofBaseVideoDraws ofBaseVideoGrabber ofBaseVideoPlayer ofGstVideoUtils ofImage_< PixelType > ofImage_< unsigned char > ofVideoGrabber ofVideoPlayer ofDirectShowGrabber ofGstVideoGrabber ofVideoGrabber ofAVFoundationPlayer ofDirectShowPlayer ofGstVideoPlayer ofMediaFoundationPlayer

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);
ofPixels_< float > ofFloatPixels
Definition ofGraphicsBaseTypes.h:27
ofPixels_< unsigned short > ofShortPixels
Definition ofGraphicsBaseTypes.h:28

Constructor & Destructor Documentation

◆ ~ofAbstractHasPixels()

virtual ofAbstractHasPixels::~ofAbstractHasPixels ( )
inlinevirtual

Destroy the ofAbstractHasPixels.


The documentation for this class was generated from the following file: