Click or drag to resize
SoMPEGRenderer Methods

The SoMPEGRenderer type exposes the following members.

Methods
  NameDescription
Public methodAddFrame

Low level method to add a new frame to the MPEG output from a buffer of unsigned characters.

Public methodCloseFile

Closes the MPEG file previously opened with the OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) method.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetBackgroundColor

Gets the background color for rendering each frame.

Public methodGetComponents

Returns the number of color components of the frames recorded.

Public methodGetCompressionRate

Returns the compression rate.

Public methodGetGLRenderAction

Gets the GL Render action used to generate each frame.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumFramesPerSecond

Gets the number of frames per second to be encoded in the MPEG output.

Public methodGetSceneGraph

Gets the scene graph used for generating frames in the MPEG output.

Public methodGetShareContext

Gets the OpenGL context shared by this object.

Public methodGetSize

Gets the frame pixel size.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRecording

Returns true if this renderer is recording.

Public methodIsViewerIdle
Public methodOpenFile(String)
Calls OpenFile(filename, System.Convert.ToUInt32(10000)).
Public methodOpenFile(String, UInt32)

Specifies the MPEG output file name.

Public methodPause

Pauses the recording.

Public methodRecord

Starts the recording.

Public methodSetBackgroundColor

Sets the background color for rendering each frame.

Public methodSetBitPerSec

This method allows the user to specify a fixed bit rate.

Public methodSetComponents

Set the number of color components of the frames recorded.

Public methodSetCompressionRate

Compression rate of the MPEG output.

Public methodSetGLRenderAction

Sets the GL Render action used to generate each frame.

Public methodSetNumFramesPerSecond

Sets the number of frames per second encoded in the MPEG output.

Public methodSetSceneGraph

Sets the scene graph used for generating frames in the MPEG output.

Public methodSetShareContext

Sets the OpenGL context to be shared by the OIV.Inventor.MPEG.SoMPEGRenderer.

Public methodSetSize

Sets the frame pixel size.

Public methodSetViewerIsIdle

Tells the recorder that the viewer is idle.

Public methodStop

Stops the recording and closes the opened file.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also