instantreality 1.0

Component:
SpatialUserInterface
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

X11Texture

The X11Texture maps the output of a virtual X11-Server to a texture. To do this, the xvfb X-Server is used.

Inheritance

Code

XML encoding
<X11Texture xserver='/usr/bin/Xvfb'
command=''
width='256'
height='256'
shell='/bin/csh'
maxFps='10'
display='3'
pointer='0 0'
button1='FALSE'
button2='FALSE'
button3='FALSE'
enabled='TRUE'
triggerName='Timer'
logFeature=''
 />
Classic encoding
X11Texture {
	xserver "/usr/bin/Xvfb"
	command ""
	width 256
	height 256
	shell "/bin/csh"
	maxFps 10
	display 3
	pointer 0 0
	button1 FALSE
	button2 FALSE
	button3 FALSE
	enabled TRUE
	triggerName "Timer"
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString xserver SFString initializeOnly /usr/bin/Xvfb The path to the binary of the virtual xvfb X11 server (hint: first check if Xvfb is installed).
SFString command SFString initializeOnly A shell command to be executed. This command is used to start applications on the X11 server
SFInt32 width SFInt32 initializeOnly 256 Width in pixels of the virtual framebuffer
SFInt32 height SFInt32 initializeOnly 256 Height in pixels of the virtual framebuffer
SFString shell SFString initializeOnly /bin/csh The shell is used to start commands in the x server
SFFloat maxFps SFFloat initializeOnly 10 With maxFps the maximum refresh rate can be set
SFInt32 display SFInt32 initializeOnly 3 Display number. It is possible to have more X11 textures, if each texture has it's own display id.
SFVec2f pointer SFVec2f inputOutput 0 0 Position of the pointing device (generally between 0 and 1).
SFBool button1 SFBool inputOutput FALSE If gets TRUE, process button1 pressed event (usually treated as left mouse button), else trigger release.
SFBool button2 SFBool inputOutput FALSE If gets TRUE, process button2 pressed event (usually treated as middle mouse button), else trigger release.
SFBool button3 SFBool inputOutput FALSE If gets TRUE, process button3 pressed event (usually treated as right mouse button), else trigger release.
SFString keyPress SFString inputOnly To be used as key pressed event.
SFString keyRelease SFString inputOnly To be used as key released event.
SFInt32 actionKeyPress SFInt32 inputOnly To be used for incoming actionKeyPress events.
SFInt32 actionKeyRelease SFInt32 inputOnly To be used for incoming actionKeyRelease events.
SFBool enabled SFBool inputOutput TRUE Flag to enable/disable the update.
SFString triggerName SFString initializeOnly Timer Name of the dynamic context-slot, which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutput to the triggerSlot-eventInput Slot.
SFTime triggerSlot SFTime inputOnly Slot which is used internally to connect a dynamic context-slot whose name is set by the triggerName value. It is used automatically to install a run-time environment trigger.
SFImage image_changed SFImage outputOnly sends a singe image on change
SFNode textureProperties SFNode initializeOnly TextureProperties Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored.
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