Incompatible API changes in INTViewer 4.5.2

A/ The default query for seismic volumes in XSection window has changed

In previous releases of INTViewer, the default query was * (= all traces are displayed) when you open a seismic volume (3 keys) in a XSection.

In 4.5.2, this behaviour has been changed so that it defaults to a slice (ex: INLINE=300). This operation is done in the seismic layer factory (com.interactive.intviewerapi.layers.ISeismicLayer.factory). The slice value is defaulted to match any slice value picked in similar layers.

This change only affects volumes with exactly 3 keys (ex: INLINE, XLINE, Time). Gathers and raw Segy datasets are not affected, the default query is always * (= all traces are displayed) for those datasets.

Programmatically, if you do this with a seismic volume:

ISeismicLayer layer = ISeismicLayer.factory.createLayer(window, data, new NamedProps(), false);

layer.getQuery() executed just after this call now returns a com.interactive.intviewerapi.data.query.SeismicRangeQuery with the first key (ex: INLINE) set as a slice and the other keys (ex: XLINE and Time) as a full range

B/ The AGC, AGC_SYNC, REVERSE_POLARITY and POLARITY_SYNC named properties are deprecated

To enable AGC or Reverse Polarity, trace processors should be used instead. Trace processors can be synchronized.

C/ The com.interactive.intviewerapi.layers.PickingManager class is abstract

The deprecated methods have also been removed for that class.

D/ Several datasets can be selected in the seismic data chooser and pointset data chooser

To force only one dataset to be selected, change:

IDataChooser.Factory.createNewInstance(IDataChooser.SEISMIC);
IDataChooser.Factory.createNewInstance(IDataChooser.POINTSET);

to

IDataChooser.Factory.createNewInstance(IDataChooser.SEISMIC, false, JFileChooser.FILES_AND_DIRECTORIES);
IDataChooser.Factory.createNewInstance(IDataChooser.POINTSET, false, JFileChooser.FILES_ONLY);

E/ The com.interactive.intviewerapi.windows.TraceAxis.getField method has been removed

Use the getFieldName method instead.

F/ The order of the point values returned by ITrajectory.getTop() and ITrajectory.getBottom() has been changed

ITrajectory.getTop().w returns the TVD value, ITrajectory.getTop().z returns the MD value

ITrajectory.getBottom().w returns the TVD value, ITrajectory.getBottom().z returns the MD value

This change was made for consistency with the order of keys returned by ITrajectory.getDataRange()

G/ The com.interactive.intviewerapi.layers.IXSectionGridSurfaceLayer interface has been renamed com.interactive.intviewerapi.layers.IGridSurfaceLayer

H/ The com.interactive.intviewerapi.layers.IXSectionTriangleMeshLayer interface has been renamed com.interactive.intviewerapi.layers.ITriangleMeshLayer

I/ If you implement com.interactive.intviewerapi.layers.ILayerFactory

Change:

public class MyFactory implements ILayerFactory {

to

public class MyFactory implements ILayerFactory<ILayer2D, IData, ILayeredWindow> {

J/ The signature of the com.interactive.intviewerapi.plugins.generator.IDataGeneratorEditor interface has been changed

from

public interface IDataGeneratorEditor<T extends Object, U extends IData>
        extends IObjectEditor {

to

public interface IDataGeneratorEditor<T extends IDataGenerator>
        extends IObjectEditor {