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 |
---|---|
|
This is an image class, which holds equal data in the RAM and video memory. |
|
This is an image class, which holds data in RAM only. |
|
This is an image class, which holds data in video memory only. |
|
This is a video player class. |
|
This a class for grabbing frames from a camera. |
|
This is a buffer for offscreen drawing. |
|
This is a shader class, which contains a vertex, fragment and, optionally, geometry shader programs. |
|
This is a class for representing and drawing a set of primitives, such as triangles, lines, or points. The |
|
This is a class for representing and drawing a sphere in 3D. Also, there are the |
|
This is a camera for 3D drawing. |
| |
|
These are the material properties for 3D drawing. |
|
This is the sound player class. |
|
This is the receiver of OSC networking messages (it requires the |
|
This is the sender of OSC networking messages (it requires the |
|
This is the class for serial port communication with devices such as Arduino. |