instantreality 1.0

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

IOSensor

Generic IO Sensor. Allows to access external devices like joysticks and cameras inside of you application

Inheritance

Code

XML encoding
<IOSensor system='auto'
type=''
name=''
triggerName='Interaction'
maxValuesPerTrigger='1'
description=''
enabled='TRUE'
logFeature=''
 />
Classic encoding
IOSensor {
	system "auto"
	type ""
	name ""
	triggerName "Interaction"
	maxValuesPerTrigger 1
	description ""
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString system SFString initializeOnly auto auto, hid, ideal, ot, none abstraction system
SFString type SFString initializeOnly device type ( e.g. joystick, clock)
SFString name SFString initializeOnly identifier
SFString triggerName SFString initializeOnly Interaction 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-eventOutut to the triggerSlot-eventInput Slot.
SFInt32 maxValuesPerTrigger SFInt32 initializeOnly 1 Determines the number of values that are buffered by this sensor. When the sensor receives more data values between two frames than there is free space in the buffer, the oldest data values get lost. By default, the buffer size is 1, which means that data values are not buffered. This is ok for tracker data where you are only interested in the most recent position value, but it is not ok for button press events, because you might loose button press events.
SFTime triggerSlot SFTime inputOnly slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger.
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