public class ConnectionSettings extends Inventor
Connection.Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description |
|---|---|
FrameEncoders |
getFrameEncoders()
Gets the frame encoders used by the connection.
|
IFrameEncodingPolicy |
getFrameEncodingPolicy()
Gets the frame encoding policy used by the
Connection. |
int |
getKeepAliveTimeOut()
Gets the keepalive timeout (ms).
|
int |
getMaxFPS()
Deprecated.
As of Open Inventor 9900 See documentation for more details
|
boolean |
isSupportedEncoders(FrameEncoders frameEncoders)
Returns if encoders are supported by the host.
|
void |
setFrameEncodingPolicy(IFrameEncodingPolicy policy)
Sets the frame encoding policy used by the
Connection. |
void |
setKeepAliveTimeOut(int value)
Sets the keepalive timeout (ms).
|
void |
setMaxFPS(int value)
Deprecated.
As of Open Inventor 9900 See documentation for more details
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic void setKeepAliveTimeOut(int value)
value - : the keepalive timeout delay (ms).@Deprecated public int getMaxFPS()
@Deprecated public void setMaxFPS(int value)
KeepFrameQualityPolicy (see setFrameEncodingPolicy) and the FPS target value.
The frame quality target is set to the default value (0.7).
value - : FPS target.Deprecated since Open Inventor 9900 public int getKeepAliveTimeOut()
public void setFrameEncodingPolicy(IFrameEncodingPolicy policy)
Connection.
A policy is used to calculate two values: FPS (frames per second) and interactive frame encoding quality. There are two predefined policies: KeepFramesPerSecondPolicy and KeepFrameQualityPolicy. The default value is KeepFrameQualityPolicy. (Replaces the old setMaxFPS method.)
policy - : a frame encoding policy object. This method takes the ownership of the pointed object and will be responsible for its deletion.public boolean isSupportedEncoders(FrameEncoders frameEncoders)
frameEncoders - : frame encoders
public IFrameEncodingPolicy getFrameEncodingPolicy()
Connection.
A policy is used to calculate two values: FPS (frames per second) and interactive frame encoding quality. There are two predefined policies: KeepFramesPerSecondPolicy and KeepFrameQualityPolicy. The default value is KeepFrameQualityPolicy.
Connection.public FrameEncoders getFrameEncoders()
RenderAreaListener.onOpenedConnection.
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com