Working with Horizon 3D Objects
Note: you will need to include HorizonData and Horizon3D in your Module Dependencies list in addition to Viewer3D.
Creating a horizon
In this example, we assume you have already created a horizon dataset horizonData and a 3D window threeDWindow. See section Working with Horizons for examples on how to create a horizon dataset. Also, see section Working With Windows to find more information on how to create and set attributes for a 3D window.
import com.interactive.intviewerapi.objects3d.ISeismicVolumeObject3D;
import com.interactive.intviewerapi.layers.NamedProps;
NamedProps props = new NamedProps();
IHorizonObject3D object3D = IHorizonObject3D.factory.createObject3D(threeDWindow, horizonData, props, false);