instantreality 1.0

Component:
Engine
Status:
fully implemented
Structure type:
abstract
Standard:
Avalon

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
SFBool enabled SFBool inputOutput TRUE If enabled is TRUE, then rendering to this window is enabled
SFInt32 buffer SFInt32 initializeOnly 2 1 (single), 2 (double), 4 (quad)
SFInt32 sample SFInt32 initializeOnly 1 number of multi-samples for FSAA
SFString 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
SFVec2f 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
SFVec2f size SFVec2f inputOutput 512 512 Window size. If fullScreen is true, then window size is ignored
SFBool fullScreen SFBool inputOutput FALSE If fullScreen is TRUE, the output window covers the whole screen.
SFBool drawCursor SFBool inputOutput TRUE If drawCurser is FALSE, no Cursor is shown
SFBool drawToolBar SFBool inputOutput TRUE If TRUE, the viewer tries to provide a toolbar
SFBool border SFBool initializeOnly TRUE Show window decorations like border or title bar
SFString pipe SFString initializeOnly On X11 pipe is used to specify the X-Server e.g. :0 or rubens:1.0
SFString description SFString inputOutput Description of the window
MFString ignoreExtensions MFString initializeOnly OpenGL extensions that should be ignored during rendering
MFNode views MFNode inputOutput Viewarea Viewareas that should be drawn in this window. If no Viewarea isgiven, a default Viewarea is generated.
SFString statusMessage SFString inputOnly allows do set some kind of status line
SFBool visible SFBool initializeOnly TRUE Show or hide the window on the screen
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element