Class IFrameEncodingPolicy
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.remoteviz.rendering.IFrameEncodingPolicy
-
- Direct Known Subclasses:
KeepFrameQualityPolicy,KeepFramesPerSecondPolicy
public class IFrameEncodingPolicy extends Inventor
This class is the base class ofKeepFramesPerSecondPolicyandKeepFrameQualityPolicy. The methods will be called internally by the RemoteViz service to retrieve encoding frame parameters (FPS and interactive frame quality).See
ConnectionSettingsto set the frame encoding policy.- See Also:
KeepFramesPerSecondPolicy,KeepFrameQualityPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetFrameQuality()Returns the frame quality value used to encode interactive frames.intgetFramesPerSecond()Returns the FPS value used to send frames to the client periodically.voidupdate(Connection connection)Update value of the FPS and frame quality.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getFramesPerSecond
public int getFramesPerSecond()
Returns the FPS value used to send frames to the client periodically.
-
update
public void update(Connection connection)
Update value of the FPS and frame quality.
-
getFrameQuality
public float getFrameQuality()
Returns the frame quality value used to encode interactive frames.
-
-