SoMPEGNavRenderer Class |
Generates MPEG output that tracks camera motion.
Namespace: OIV.Inventor.MPEG
The SoMPEGNavRenderer type exposes the following members.
Name | Description | |
---|---|---|
SoMPEGNavRenderer | Constructor. |
Name | Description | |
---|---|---|
AddFrame | Low level method to add a new frame to the MPEG output from a buffer of unsigned characters. | |
AdjustNumFramesPerSecond | Specifies whether the camera movements are adjusted to the number of frames per second. | |
CloseFile | Closes the MPEG file previously opened with the OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) method. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetBackgroundColor | Gets the background color for rendering each frame. | |
GetCamera | Returns the camera currently used by the MPEG renderer. | |
GetComponents | Returns the number of color components of the frames recorded. | |
GetCompressionRate | Returns the compression rate. | |
GetGLRenderAction | Gets the GL Render action used to generate each frame. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetNumFramesPerSecond | Gets the number of frames per second to be encoded in the MPEG output. | |
GetSceneGraph | Gets the scene graph used for generating frames in the MPEG output. | |
GetShareContext | Gets the OpenGL context shared by this object. | |
GetSize | Gets the frame pixel size. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAdjustedNumFramesPerSecond | Returns whether the camera movements are adjusted to the number of frames per second. | |
IsRecording | Returns true if this renderer is recording. | |
IsViewerIdle | (Inherited from SoMPEGRenderer.) | |
OpenFile(String) | Calls OpenFile(filename, System.Convert.ToUInt32(10000)). (Inherited from SoMPEGRenderer.) | |
OpenFile(String, UInt32) | Specifies the MPEG output file name. | |
Pause | Pauses the recording. | |
Record | Starts the recording. | |
SetBackgroundColor | Sets the background color for rendering each frame. | |
SetBitPerSec | This method allows the user to specify a fixed bit rate. | |
SetCamera | Specifies the camera to be used by the MPEG renderer. | |
SetComponents | Set the number of color components of the frames recorded. | |
SetCompressionRate | Compression rate of the MPEG output. | |
SetGLRenderAction | Sets the GL Render action used to generate each frame. | |
SetNumFramesPerSecond | Sets the number of frames per second encoded in the MPEG output. | |
SetSceneGraph | Sets the scene graph used for generating frames in the MPEG output. | |
SetShareContext | Sets the OpenGL context to be shared by the OIV.Inventor.MPEG.SoMPEGRenderer. | |
SetSize | Sets the frame pixel size. | |
SetViewerIsIdle | Tells the recorder that the viewer is idle. | |
Stop | Stops the recording and closes the opened file. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class generates MPEG output that tracks (i.e. follows) camera motion specifically changes in the position, orientation, nearDistance, and farDistance fields. These are the fields that can be modified by mouse movements within a viewer.
After () is called, all camera movements are recorded until () is called. At that time, frames corresponding to each camera movement are rendered and stored in the MPEG output.
See the parent class OIV.Inventor.MPEG.SoMPEGRenderer for methods to specify the file and recording parameters.