SoMPEGFrameRenderer Class Reference
[MPEG]

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

#include <Inventor/MPEG/SoMPEGFrameRenderer.h>

Inheritance diagram for SoMPEGFrameRenderer:
SoMPEGRenderer

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.

SEE ALSO

SoMPEGRenderer, SoMPEGNavRenderer

See related examples:

MPEGFrameRenderer


Constructor & Destructor Documentation

SoMPEGFrameRenderer::SoMPEGFrameRenderer (  ) 

Constructor.

virtual SoMPEGFrameRenderer::~SoMPEGFrameRenderer (  )  [virtual]

Destructor.


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 Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/