public class SoFlatScreen extends SoBaseScreen
SoFlatScreen node is used in a ScaleViz configuration file. SoFlatScreen nodes provide a simple way of defining a display that is basically a very large desktop. The entire display configuration is treated as a single "logical" viewport, allowing the application's existing 2D interaction techniques to work as usual.
SoFlatScreen fields describe the portion of the view volume that will be rendered and where it will be rendered on the physical screen, as well as which render node will be used (for cluster rendering).
This class is used in both Cluster mode and MultiPipe mode, but different fields are used in each mode, as follows:
In MultiPipe mode there are two different ways to set the portion of the view volume to render: view and viewport values. Views are convenient keywords (e.g., NONE, LEFT, RIGHT...) that ScaleViz will interpret to compute the viewport values. Using viewport values is a more general and flexible way to describe the portion of the view volume to render.
In Cluster mode, use tileOrigin and tileSize to set the portion of the view volume to render, and use channelOrigin and channelSize to specify where it will be rendered on the physical screen.
File format/default:
FlatScreen {
| channelOrigin | 0.0 0.0 |
| channelSize | 1.0 1.0 |
| tileOrigin | 0.0 0.0 |
| tileSize | 1.0 1.0 |
| softEdgeOverlap | 0 0 0 0 |
| softEdgeGamma | 0 0 0 0 |
| view | "NONE" |
| viewport | -1.0 -1.0 -1.0 -1.0 |
| rightOverlap | 0.0 |
| leftOverlap | 0.0 |
| topOverlap | 0.0 |
| bottomOverlap | 0.0 |
| display | ":0" |
| name | "screen" |
| hostname | "localhost" |
| position | -1.0 -1.0 |
| size | -1.0 -1.0 |
| cameraMode | MONOSCOPIC |
| Modifier and Type | Class and Description |
|---|---|
static class |
SoFlatScreen.CameraModes |
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFFloat |
bottomOverlap
bottomOverlap modifies the bottom of the MultiPipe window. |
SoSFEnum<SoFlatScreen.CameraModes> |
cameraMode
Specifies the passive stereo rendering mode.
|
static int |
LEFT_VIEW
Deprecated.
Use
SoFlatScreen.CameraModes.LEFT_VIEW instead. |
SoSFFloat |
leftOverlap
leftOverlap modifies the left side of the MultiPipe window. |
static int |
MONOSCOPIC
Deprecated.
Use
SoFlatScreen.CameraModes.MONOSCOPIC instead. |
static int |
RIGHT_VIEW
Deprecated.
Use
SoFlatScreen.CameraModes.RIGHT_VIEW instead. |
SoSFFloat |
rightOverlap
rightOverlap modifies the right side of the MultiPipe window. |
SoSFVec4f |
softEdgeGamma
Specifies the gamma factor for the soft-edge region.
|
SoSFVec4f |
softEdgeOverlap
This field specifies the size of the overlap on each side of the graphics window.
|
SoSFVec2f |
tileOrigin
This field specifies lower left corner of the rectangular part of the view volume to be rendered on this screen.
|
SoSFVec2f |
tileSize
This field specifies the size of the rectangular part of the view volume to be rendered on this screen.
|
SoSFFloat |
topOverlap
topOverlap modifies the top of the MultiPipe window. |
SoSFString |
view
Specifies the portion of the view volume to be rendered on this screen.
|
SoSFVec4f |
viewport
Viewport values used to specify the portion of the scene to render within the MultiPipe window.
|
channelOrigin, channelSize, display, hostname, name, position, sizeVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoFlatScreen()
Constructor.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int MONOSCOPIC
SoFlatScreen.CameraModes.MONOSCOPIC instead.@Deprecated public static final int LEFT_VIEW
SoFlatScreen.CameraModes.LEFT_VIEW instead.@Deprecated public static final int RIGHT_VIEW
SoFlatScreen.CameraModes.RIGHT_VIEW instead.public final SoSFVec2f tileOrigin
Cluster mode only, not used in MultiPipe mode. For MultiPipe mode, use the view or viewport field.
public final SoSFVec2f tileSize
public final SoSFVec4f softEdgeOverlap
Cluster mode only, not used in MultiPipe mode. For MultiPipe mode, use the xxxOverlap fields.
public final SoSFVec4f softEdgeGamma
public final SoSFString view
view and viewport are both specified (not recommended), viewport takes precedence.
MultiPipe mode only, not used in Cluster mode. For Cluster mode, use the tileOrigin and tileSize fields.
public final SoSFVec4f viewport
view and viewport are both specified (not recommended), viewport takes precedence.
MultiPipe mode only, not used in Cluster mode. For Cluster mode, use the tileOrigin and tileSize fields.
public final SoSFFloat rightOverlap
rightOverlap modifies the right side of the MultiPipe window.
It modifies the right limit of the viewport of the region of the scene (that is rendered in this MP window). Valid range for values is 0..1.
MultiPipe mode only, not used in Cluster mode. For Cluster mode use the softEdgeOverlap field.
public final SoSFFloat leftOverlap
leftOverlap modifies the left side of the MultiPipe window.
It modifies the left limit of the viewport of the region of the scene (that is rendered in this MP window). Valid range for values is 0..1.
MultiPipe mode only, not used in Cluster mode. For Cluster mode use the softEdgeOverlap field.
public final SoSFFloat topOverlap
topOverlap modifies the top of the MultiPipe window.
It modifies the top limit of the viewport of the region of the scene (that is rendered in this MP window). Valid range for values is 0..1.
MultiPipe mode only, not used in Cluster mode. For Cluster mode use the softEdgeOverlap field.
public final SoSFFloat bottomOverlap
bottomOverlap modifies the bottom of the MultiPipe window.
It modifies the bottom of the viewport of the region of the scene (that is rendered in this MP window). Valid range for values is 0..1.
MultiPipe mode only, not used in Cluster mode. For Cluster mode use the softEdgeOverlap field.
public final SoSFEnum<SoFlatScreen.CameraModes> cameraMode
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com