reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofBaseImage_< T > Class Template Reference

A base class represeting an image. More...

#include <ofGLBaseTypes.h>

Inheritance diagram for ofBaseImage_< T >:
ofAbstractImage ofBaseHasPixels_< T > ofBaseDraws ofBaseHasTexture ofAbstractHasPixels ofImage_< unsigned char >

Public Member Functions

virtual ~ofBaseImage_ ()
 Destroy the ofBaseImage_.
 
- Public Member Functions inherited from ofAbstractImage
virtual ~ofAbstractImage ()
 Destroy the ofAbstractImage.
 
- Public Member Functions inherited from ofBaseDraws
virtual ~ofBaseDraws ()
 Destroy the abstract object.
 
virtual void draw (float x, float y) const
 Draw at a position at the native size.
 
virtual void draw (float x, float y, float w, float h) const =0
 Draw at a position with the specified size.
 
virtual void draw (const glm::vec2 &point) const
 Draw at a position at the native size.
 
virtual void draw (const ofRectangle &rect) const
 Draw at a position and size specified by a rectangle.
 
virtual void draw (const glm::vec2 &point, float w, float h) const
 Draw at a position.
 
virtual float getHeight () const =0
 Get the height.
 
virtual float getWidth () const =0
 Get the width.
 
virtual void setAnchorPercent (float xPct, float yPct)
 Set the anchor point the item is drawn around as a percentage.
 
virtual void setAnchorPoint (float x, float y)
 Set the anchor point the item is drawn around in pixels.
 
virtual void resetAnchor ()
 Reset the anchor point to (0, 0).
 
- Public Member Functions inherited from ofBaseHasTexture
virtual ~ofBaseHasTexture ()
 Destroy the ofBaseHasTexture.
 
virtual ofTexturegetTexture ()=0
 
virtual const ofTexturegetTexture () const =0
 
virtual void setUseTexture (bool bUseTex)=0
 Enable or disable internal ofTexture use.
 
virtual bool isUsingTexture () const =0
 
- Public Member Functions inherited from ofBaseHasPixels_< T >
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.
 
- Public Member Functions inherited from ofAbstractHasPixels
virtual ~ofAbstractHasPixels ()
 Destroy the ofAbstractHasPixels.
 

Detailed Description

template<typename T>
class ofBaseImage_< T >

A base class represeting an image.

Template Parameters
TThe pixel data type.

Constructor & Destructor Documentation

◆ ~ofBaseImage_()

template<typename T >
virtual ofBaseImage_< T >::~ofBaseImage_ ( )
inlinevirtual

Destroy the ofBaseImage_.


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