Working with FK Layers

Note: you will need to include SeismicData, Seismic2D and FKDisplay in your Module Dependencies list in addition to Viewer2D.

Creating a FK window

IFKWindow fkWindow = IFKWindow.factory.createWindow();

Creating a FK Layer

In this example, we assume you have already created a seismic layer seismicLayer and a FK window fkWindow.

fkWindow.setReferenceLayer(seismicLayer);
NamedProps layerProperties = new NamedProps();
layerProperties.putProperty(IFKLayer.USE_FULL_SECTION, true);
IFKLayer layer = IFKLayer.factory.createLayer(fkWindow, seismicLayer.getData(), layerProperties, false);