instantreality 1.0

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

DistortionDisplayFilter

This filter can be used to do image warping

Inheritance

Code

XML encoding
<DistortionDisplayFilter columns='0'
rows='0'
positions=''
center='0,0'
scale='1,1'
rotation='0'
lenseDistortion='0'
lenseShift='0 0'
enabled='TRUE'
logFeature=''
 />
Classic encoding
DistortionDisplayFilter {
	columns 0
	rows 0
	positions []
	center 0,0
	scale 1,1
	rotation 0
	lenseDistortion 0
	lenseShift 0 0
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFInt32 columns SFInt32 inputOutput 0 Number of columns in the filter
SFInt32 rows SFInt32 inputOutput 0 Number of rows in the filter
MFVec2f positions MFVec2f inputOutput A regular grid is defined for the whole viewarea. Each point in this area defines the projection of each regular grid point. Values should be in the range 0-1.
SFVec2f center SFVec2f inputOutput 0,0 Image center
SFVec2f scale SFVec2f inputOutput 1,1 Image size
SFFloat rotation SFFloat inputOutput 0 Image rotation
SFFloat lenseDistortion SFFloat inputOutput 0 "less than 0" is cushion, "larger than 0" is barrel
SFVec2f lenseShift SFVec2f inputOutput 0 0 shift the lense
SFBool enabled SFBool inputOutput TRUE If FALSE, filter is disabled
SFNode metadata SFNode initializeOnly MetadataObject container for payload metadata inside MetadataSet element
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