You can grab a screen shot using http://openframeworks.cc/documentation/utils/ofUtils.html#!show_ofSaveScreen.
Or you could render to an ofFBO and readback the FBO's ofPixels using http://openframeworks.cc/documentation/graphics/ofImage.html#!show_ofSaveImage