O'Reilly logo

openFrameworks Essentials by Denis Perevalov, Igor Tatarnikov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multimedia and other classes

The following table lists the most important classes used in most openFrameworks projects. They are discussed in Chapter 4, Working with Raster Graphics – Images, Videos, and Shaders, Chapter 5, Creating 3D Graphics, Chapter 6, Animating Parameters, and Chapter 7, Distributed and Physical Computing with Networking and Arduino.

Class name with example of an object definition

Description

ofImage image;

This is an image class, which holds equal data in the RAM and video memory.

ofPixels pixels;

This is an image class, which holds data in RAM only.

ofTexture texture;

This is an image class, which holds data in video memory only.

ofVideoPlayer video;

This is a video player class.

ofVideoGrabber camera; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required