Window (alias: LocalWindow)
A window describes the OpenGL rendering context.
Inheritance
Code
XML encoding
<Window enabled='TRUE' buffer='2' sample='1' sampleFilterMode='auto' position='-1 -1' size='512 512' fullScreen='FALSE' drawCursor='TRUE' drawToolBar='TRUE' border='TRUE' pipe='' description='' ignoreExtensions='' visible='TRUE' logFeature='' />
Classic encoding
Window { enabled TRUE buffer 2 sample 1 sampleFilterMode "auto" position -1 -1 size 512 512 fullScreen FALSE drawCursor TRUE drawToolBar TRUE border TRUE pipe "" description "" ignoreExtensions [""] visible TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
views | MFNode | inputOutput | Viewarea | Viewareas that should be drawn in this window. If no Viewarea isgiven, a default Viewarea is generated. | ||
ignoreExtensions | MFString | initializeOnly | OpenGL extensions that should be ignored during rendering | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
border | SFBool | initializeOnly | TRUE | Show window decorations like border or title bar | ||
drawCursor | SFBool | inputOutput | TRUE | If drawCurser is FALSE, no Cursor is shown | ||
drawToolBar | SFBool | inputOutput | TRUE | If TRUE, the viewer tries to provide a toolbar | ||
enabled | SFBool | inputOutput | TRUE | If enabled is TRUE, then rendering to this window is enabled | ||
fullScreen | SFBool | inputOutput | FALSE | If fullScreen is TRUE, the output window covers the whole screen. | ||
visible | SFBool | initializeOnly | TRUE | Show or hide the window on the screen | ||
buffer | SFInt32 | initializeOnly | 2 | 1 (single), 2 (double), 4 (quad) | ||
sample | SFInt32 | initializeOnly | 1 | number of multi-samples for FSAA | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
description | SFString | inputOutput | Description of the window | |||
pipe | SFString | initializeOnly | On X11 pipe is used to specify the X-Server e.g. :0 or rubens:1.0 | |||
sampleFilterMode | SFString | inputOutput | auto | auto, nicest, fastest, off | defines the filter-method of resolving the color of multisampled pixels; hint: use the sample-field to set the number of samples | |
statusMessage | SFString | inputOnly | allows do set some kind of status line | |||
position | SFVec2f | inputOutput | -1 -1 | Position of the window on the screen. If position is -1 -1, then the position is set by the window manager | ||
size | SFVec2f | inputOutput | 512 512 | Window size. If fullScreen is true, then window size is ignored |