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 |
|---|---|---|---|---|---|---|
| columns | SFInt32 | inputOutput | 0 | Number of columns in the filter | ||
| rows | SFInt32 | inputOutput | 0 | Number of rows in the filter | ||
| 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. | |||
| center | SFVec2f | inputOutput | 0,0 | Image center | ||
| scale | SFVec2f | inputOutput | 1,1 | Image size | ||
| rotation | SFFloat | inputOutput | 0 | Image rotation | ||
| lenseDistortion | SFFloat | inputOutput | 0 | "less than 0" is cushion, "larger than 0" is barrel | ||
| lenseShift | SFVec2f | inputOutput | 0 0 | shift the lense | ||
| enabled | SFBool | inputOutput | TRUE | If FALSE, filter is disabled | ||
| 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 | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |
