API / geotoolkit3d / scene / seismic / SliceMaterial / SliceMaterial
seismic.SliceMaterial.SliceMaterial
Namespaces
Type Aliases
Ƭ CommonOptions: Object
| Name | Type | Description |
|---|---|---|
autodecimate | boolean | Deprecated since 4.1, decimation is no longer supported, but will be replaced by an improved LOD/decimation in the future. If true, automatically decimate the pipeline to the amount of pixels of the texture limits. Default is true. |
clearpipeline | boolean | If true, will clear the pipeline after the slice is rendered. Default is true. |
data | { limits?: Rect ; reader?: SeismicReader | null } | The options related to the data |
data.limits? | Rect | The subpart of the seismic to read |
data.reader? | SeismicReader | null | The seismic reader that will be used to retrieve the traces, null to empty the slice |
disposesurface | boolean | If true, it will remove the surface from the heap after it's been moved to the GPU. Default is false. |
horizontalresolution | number | The amount of texture pixels for a horizontal unit (ie a trace's width in pixels). Default value is 1. |
initialtexturesize | number | Deprecated since 4.1, use maxtilesize instead. Initial texture size if lod isn't used (use tilesize if not defined by user). |
loadingcolor | string | Material color while loading seismic (css format). Default value is 'rgba(255, 255, 255, 0.25)'. |
lod | boolean | Deprecated since 4.1, lod is temporarily unavailable but will be back soon, with a different API. True for using LOD (level of details). It works only if autodecimate is true |
maxpixelsx | number | Max number of pixels to create in the X Direction. Number of tiles (X direction) * tilesize (X direction) will be reduced to fit this maximum value. Default value is 4096. |
maxpixelsy | number | Max number of pixels to create in the Y Direction. Number of tiles (Y direction) * tilesize (Y direction) will be reduced to fit this maximum value. Default value is 4096. |
maxtilesize | number | Maximum tile size in pixels. Will be adjusted down using hardware capabilities if required. this defines the maximum size (both width and height) of a tile-texture. By default, the default tile size will be 4096 or lower depending on device capabilities. |
numberofparalleltasks | number | Number of tiles to be processed in parallel. Default value is 24. |
overlay? | Group | null | A group that will be used to render 2D shapes on top of the slice as 'overlay'. The coordinates of those shapes should be in traces/samples. Set to null to disable the overlay. |
pipeline? | { options?: Options } | The options for the pipeline. |
pipeline.options? | Options | pipeline options |
readertracedecimation | boolean | Use trace decimation by reader if it is supported. Default value is false. |
verticalresolution | number | The amount of texture pixels for a vertical unit (ie a sample's height in pixels). Default value is 1. |
Ƭ EventMap: EventMap & { RenderingComplete: void }
Ƭ Options: OptionsBase & { data: { limits?: Rect ; reader: SeismicReader } }
Ƭ OptionsBase: Partial<CommonOptions> & { materialoptions?: OptionsBase }
Ƭ OptionsBaseOut: CommonOptions & { materialoptions: OptionsBaseOut ; pipeline: { options: Options } }