SoMPEGFrameRenderer Class Reference

VSG extension Generates MPEG output, frame by frame. More...

#include <Inventor/MPEG/SoMPEGFrameRenderer.h>

Inheritance diagram for SoMPEGFrameRenderer:

List of all members.

Public Member Functions

 SoMPEGFrameRenderer ()
virtual ~SoMPEGFrameRenderer ()
void recordFrame (float duration=0)

Detailed Description

VSG extension Generates MPEG output, frame by frame.

This class generates MPEG output, frame by frame.

See the parent class SoMPEGRenderer for methods to specify the file and recording parameters.


SoMPEGRenderer, SoMPEGNavRenderer

See related examples:


Constructor & Destructor Documentation

SoMPEGFrameRenderer::SoMPEGFrameRenderer (  ) 


virtual SoMPEGFrameRenderer::~SoMPEGFrameRenderer (  )  [virtual]


Member Function Documentation

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()).

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

Open Inventor by FEI reference manual, generated on 20 Aug 2019
Copyright © FEI S.A.S. All rights reserved.