Generates MPEG output, frame by frame. More...
#include <Inventor/MPEG/SoMPEGFrameRenderer.h>
Public Member Functions | |
SoMPEGFrameRenderer () | |
virtual | ~SoMPEGFrameRenderer () |
void | recordFrame (float duration=0) |
This class generates MPEG output, frame by frame.
See the parent class SoMPEGRenderer for methods to specify the file and recording parameters.
SoMPEGRenderer, SoMPEGNavRenderer
SoMPEGFrameRenderer::SoMPEGFrameRenderer | ( | ) |
Constructor.
virtual SoMPEGFrameRenderer::~SoMPEGFrameRenderer | ( | ) | [virtual] |
Destructor.
void SoMPEGFrameRenderer::recordFrame | ( | float | duration = 0 |
) |
Adds a new frame to the current MPEG output.
The duration (specified in seconds) is used to determine how many times this frame must be played in the MPEG output depending on the current number of frames per second (as specified by the method SoMPEGRenderer::setNumFramesPerSecond()).