instantreality 1.0

Component:
EventUtilities
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

Splitter

Splits incoming MF values into the single components and transfers each single value to one single ROUTE connected to the "out" outslot. I.e. when you send the MFInt32 value [ 0 8 15 ] to the "in" inslot of this node, the SFInt32 value 0 is sent via the first ROUTE connected to the "out" outslot of this node, 8 is sent to the second ROUTE, and 15 to the third ROUTE.

Inheritance

Code

XML encoding
<Splitter mode='sorted'
minIndex='0'
maxIndex='-1'
enabled='TRUE'
logFeature=''
 />
Classic encoding
Splitter {
	mode "sorted"
	minIndex 0
	maxIndex -1
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool enabled SFBool inputOutput TRUE Enables or disables the node. A node that is disabled does not react to incoming events and does not send events.
MFAny in MFAny inputOnly MF values sent to this field get split into their individual SF values. The individual SF values are sent to the ROUTEs connected to the "out" outslot of this node, one SF value per ROUTE.
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
SFInt32 maxIndex SFInt32 inputOutput -1 Use this field to skip values at the end of the MF values. Skips also a corresponding number of ROUTEs.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFInt32 minIndex SFInt32 inputOutput 0 Use this field to skip values at the beginning of the MF values. Skips also a corresponding number of ROUTEs.
SFString mode SFString inputOutput sorted This exposed field is currently not used.
SFAny out SFAny outputOnly The ROUTEs connected to this outslot receive the individual SF components of the MF values sent to the "in" inslot. The first ROUTE receives the first SF component, the second ROUTE the second component, etc.