public class SoMPEGNavRenderer extends SoMPEGRenderer
After SoMPEGNavRenderer.record() is called, all camera movements are recorded until SoMPEGNavRenderer.stop() is called. At that time, frames corresponding to each camera movement are rendered and stored in the MPEG output.
See the parent class SoMPEGRenderer
for methods to specify the file and recording parameters.
See also:
SoMPEGRenderer.Components
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMPEGNavRenderer(SoNode node)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
adjustNumFramesPerSecond(boolean flag)
Specifies whether the camera movements are adjusted to the number of frames per second.
|
SoCamera |
getCamera()
Returns the camera currently used by the MPEG renderer.
|
boolean |
isAdjustedNumFramesPerSecond()
Returns whether the camera movements are adjusted to the number of frames per second.
|
void |
setCamera(SoCamera camera)
Specifies the camera to be used by the MPEG renderer.
|
addFrame, closeFile, getBackgroundColor, getComponents, getCompressionRate, getGLRenderAction, getNumFramesPerSecond, getSceneGraph, getShareContext, getSize, isRecording, isViewerIdle, openFile, openFile, pause, record, setBackgroundColor, setBitPerSec, setComponents, setCompressionRate, setGLRenderAction, setNumFramesPerSecond, setSceneGraph, setShareContext, setSize, setViewerIsIdle, stop
dispose, getNativeResourceHandle
public SoMPEGNavRenderer(SoNode node)
SoMPEGRenderer.setSceneGraph()
is called with the given argument. The specified scene graph must contain a camera in order to produce correct results.public void adjustNumFramesPerSecond(boolean flag)
public boolean isAdjustedNumFramesPerSecond()
public SoCamera getCamera()
public void setCamera(SoCamera camera)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com