reference

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

ofBaseVideoDraws Class Reference

A base class representing a drawable video source. More...

#include <ofVideoBaseTypes.h>

Inheritance diagram for ofBaseVideoDraws:
ofBaseVideo ofBaseDraws ofBaseHasTexturePlanes ofBaseHasPixels_< unsigned char > ofBaseUpdates ofBaseHasTexture ofAbstractHasPixels ofVideoGrabber ofVideoPlayer

Public Member Functions

virtual ~ofBaseVideoDraws ()
 Destroy the ofBaseVideoDraws.
 
- Public Member Functions inherited from ofBaseVideo
virtual ~ofBaseVideo ()
 Destroy the ofBaseVideo.
 
virtual bool isFrameNew () const =0
 
virtual void close ()=0
 Close the video source.
 
virtual bool isInitialized () const =0
 Determine if the video source is initialized.
 
virtual bool setPixelFormat (ofPixelFormat pixelFormat)=0
 Set the requested ofPixelFormat.
 
virtual ofPixelFormat getPixelFormat () const =0
 
- Public Member Functions inherited from ofBaseHasPixels_< unsigned char >
virtual ~ofBaseHasPixels_ ()
 Destroy the ofAbstractHasPixels.
 
virtual ofPixels_< unsigned char > & getPixels ()=0
 Get a reference to the underlying ofPixels.
 
virtual const ofPixels_< unsigned char > & getPixels () const=0
 Get a const reference to the underlying ofPixels.
 
- Public Member Functions inherited from ofAbstractHasPixels
virtual ~ofAbstractHasPixels ()
 Destroy the ofAbstractHasPixels.
 
- Public Member Functions inherited from ofBaseUpdates
virtual ~ofBaseUpdates ()
 Destroy the ofBaseUpdates.
 
virtual void update ()=0
 Update the object's state.
 
- 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 ofBaseHasTexturePlanes
virtual ~ofBaseHasTexturePlanes ()
 Destroy the ofBaseHasTexturePlanes.
 
virtual std::vector< ofTexture > & getTexturePlanes ()=0
 
virtual const std::vector< ofTexture > & getTexturePlanes () const =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
 

Detailed Description

A base class representing a drawable video source.

Constructor & Destructor Documentation

◆ ~ofBaseVideoDraws()

virtual ofBaseVideoDraws::~ofBaseVideoDraws ( )
inlinevirtual

Destroy the ofBaseVideoDraws.


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