Last updated

API / geotoolkit / seismic / widgets / SeismicWidget / SeismicWidget

Class: SeismicWidget

widgets.SeismicWidget.SeismicWidget

SeismicWidget is essentially a base widget specialized for seismic data display. It provides API to help viewing, interpreting and processing seismic data
It has a center part to display seismic data and a set of annotations on each side to display axes, titles, or colorbar.
It supports default tools like cross hair, zooming, panning, cursor tracking, scrolling etc. It also has an option to display trace number headers table.
Other options like horizontal and vertical scrollbars can be set here. To modify the styles of the x and y axis can be done using setProperties(). see example in the method.

Example

// Following code shows how to create a seismic widget using a pipeline. The {@link @int/geotoolkit/seismic/pipeline/SeismicPipeline~SeismicPipeline} is created earlier using a seismic reader.
const widget = new SeismicWidget(pipeline)
.setLayoutStyle({left: 0, top: 0, bottom: 0, right: 0});
widget.setScaleOptions({
'tracescale': 3,
'samplescale': 30,
'deviceunit': 'in',
'sampleunit': 's'
});

Example

// Provide own information for statusbar
import {AutoNumberFormat} from '@int/geotoolkit/util/AutoNumberFormat';
widget.setOptions({
'statusbar': {
'sections': {
'info': (widget, x, y, sample) => {
const autoFormat = new AutoNumberFormat();
let depthValue = Math.round(y * 100) / 100.0, sampleValue = '', traceNumber = '';
if (sample) {
traceNumber = sample['traceNumber'] + 1;
sampleValue = Math.round(sample['sampleValue'] * 10000) / 10000;
depthValue = Math.round(sample['location']['y'] * 100) / 100.0;
}
return {
'samples': ' Depth: ' + autoFormat.format(depthValue),
'value': ' Values: ' + sampleValue,
'traces': ' Trace Number: ' + traceNumber
};
}
}
}
});

Hierarchy

Table of contents

Constructors
Methods
addBaseLayeraddChildaddCssClass
addHeaderChartaddInvalidateHandleraddOverlay
adjustPositionapplyOpacityapplyResponsiveStyle
beginExportchangeBaseLayerOrderchangeChildOrder
changeOverlayOrdercheckCollisionclearBaseLayers
clearCacheclearChildrenclearOverlays
cloneconnectStyleconnectTool
copyConstructordisconnectStyledisconnectTool
disposedrawBorderenableClipping
enableEventPropagationenablePickingChildrenendExport
enumerateNodesexecuteexportToPdf
filterfitToBoundsfitToHeight
fitToWidthgetAnimationStylegetAnnotation
getAutoModelLimitsModegetAutoModelLimitsStrategygetAuxiliaryChart
getBaseLayergetBaseLayersgetBaseLayersCount
getBoundsgetCachegetChild
getChildrengetChildrenCountgetClassName
getClipStylegetCollectPerformanceInformationgetColorBarPipeline
getContentOrientationgetContentsAreagetContentsTransform
getCssgetCssClassgetCssClasses
getCssTransformgetDatagetDesiredHeight
getDesiredWidthgetDeviceLimitsgetExportElement
getFillStylegetIdgetInfiniteMode
getInvalidateMethodgetLayoutgetLayoutStyle
getLineStylegetLocalTransformgetManipulatorLayer
getManipulatorTypegetMarginsStylegetModel
getModelLimitsgetNamegetOpacity
getOpacityBlendModegetOptionsgetOrientation
getOverlaygetOverlayAtgetOverlayLayer
getOverlaysgetOverlaysCountgetPaddingStyle
getParentgetPipelinegetPreferredSize
getPropertiesgetPropertygetPropertyKeys
getRenderingFiltergetResponsiveStylegetRoot
getScaleOptionsgetScaleScrollStrategygetSceneTransform
getSeismicImagegetSeismicModelgetSeismicModelLimits
getTableHeadersgetTableTraceFiltergetTableView
getTaggetTitlegetTool
getToolByNamegetToolByTypegetTraceHeader
getTraceHeaderAxisgetTraceHeaderVisiblegetTraceHeaders
getVisiblegetVisibleDeviceLimitsgetVisibleModelLimits
getVisibleSeismicDeviceLimitsgetVisibleSeismicModelLimitsgetWidgetTools
getWorldTransformgetZIndexhasCssClass
hasEventListenerindexOfBaseLayerindexOfChild
indexOfOverlayinitializeToolsinsertBaseLayer
insertChildinsertOverlayinvalidate
invalidateLayoutinvalidateParentisClippingEnabled
isDisposedisEventPropagationEnabledisHorizontalFlip
isLayoutInvalidatedisNotificationEnabledisPickingChildrenEnabled
isSelectableisSilentisVerticalFlip
listToolsNamesloadTemplatemoveTo
notifynotifyRootnotifyStateChanged
offononBoundsChanged
onChildAddedonChildRemovedonColorBarLocationChanged
onOrientationChangedonParentChangedonVisibilityChanged
postRenderingpreRenderingrebuild
registerAnimationStyleremoveBaseLayerremoveChild
removeCssClassremoveHeaderChartremoveInvalidateHandler
removeOverlayremoveStateChangedHandlerrender
renderAsyncrenderBackgroundrenderBaseLayers
renderBaseLayersAsyncrenderChildrenrenderChildrenAsync
renderContentrenderContentAsyncrenderOverlays
renderOverlaysAsyncresetZoomresumeUpdate
rotatesaveTemplatescale
setAnimationStylesetAnnotationSizesetAutoModelLimitsMode
setAutoModelLimitsStrategysetBoundssetCache
setChildsetClipStylesetCollectPerformanceInformation
setColorBarPipelinesetContentOrientationsetCss
setCssClasssetCssTransformsetData
setDesiredHeightsetDesiredWidthsetFillStyle
setHorizontalFlipsetIdsetInfiniteMode
setLayoutsetLayoutInvalidatedsetLayoutStyle
setLineStylesetLocalTransformsetManipulatorType
setMarginsStylesetModelLimitssetName
setNoDataStrategysetNotificationsetOpacity
setOptionssetOrientationsetPaddingStyle
setPipelinesetPropertiessetProperty
setRenderingFiltersetResponsiveStylesetSamplesTitle
setScaleOptionssetScaleScrollStrategysetSeismicModelLimits
setSeismicModelTransformationsetSelectablesetSilent
setTableHeaderssetTableTraceFiltersetTag
setTitlesetToolsetToolsOptions
setTraceHeaderVisiblesetVerticalFlipsetVisible
setVisibleModelLimitssetVisibleSeismicModelLimitssetZIndex
shearsuspendUpdatetoString
translateunregisterAnimationStyleupdateLayout
updateSceneTransformationupdateStateupdateSuspended
updateTimeStampzoomInzoomOut
enableSceneGraphNotificationfindParentgetClassName
isSceneGraphNotificationEnabled
Css Properties
Name Type Description
annotationssizesAnnotationSizeJSON to hold (width or height) of the annotation
annotationssizes-eaststring | numberPreferred width of east annotation size
annotationssizes-northstring | numberPreferred height of north annotation size
annotationssizes-southstring | numberPreferred height of south annotation size
annotationssizes-weststring | numberPreferred width of west annotation size
annotationssizesAnnotationSizeJSON to hold (width or height) of the annotation
autoseismiclimitsbooleanSets model limits of the center group based on the pipeline limits. If limits sets to false
autoseismiclimitsbooleanSets model limits of the center group based on the pipeline limits. If limits sets to false
axesAxesOptionsSpecify set of axes
axes-headersAxesHeadersOptionsSeismic headers axes options
axes-headers-directionDirection
axes-headers-locationAnnotationLocation
axes-headers-sizenumber
axes-samplesAxesSamplesOptionsSpecify properties of vertical axis
axes-samples-cssclassstringDefines cssclass of samples axis
axes-samples-instanceAxisDefines instance of sample axis
axes-samples-instance-autolabelrotationbooleanAutomatic label rotation
axes-samples-instance-autolabelrotationanglenumber
axes-samples-instance-baselinestylestringBase line style
axes-samples-instance-baselinestyleLineStyleBase line style
axes-samples-instance-baselinestyle-colorstringColor in CSS form
axes-samples-instance-baselinestyle-fillstringOptional fill style to be used to fill lines generated with this style
axes-samples-instance-baselinestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
axes-samples-instance-baselinestyle-fill-colorstringColor in CSS form
axes-samples-instance-baselinestyle-fill-evenoddmodebooleanEven-odd fill mode
axes-samples-instance-baselinestyle-fill-fillpatternPatternPattern
axes-samples-instance-baselinestyle-fill-fillpattern-containernamestringAn optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself
axes-samples-instance-baselinestyle-fill-fillpattern-patternnamestringName of this pattern for indexing
axes-samples-instance-baselinestyle-fill-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
axes-samples-instance-baselinestyle-fill-foregroundstringForeground color
axes-samples-instance-baselinestyle-fill-patternPatternPattern
axes-samples-instance-baselinestyle-linecapCapStyleThe line cap style
axes-samples-instance-baselinestyle-linedashoffsetnumberLine dash offset of dashed line
axes-samples-instance-baselinestyle-linejoinJoinStyleThe line join style
axes-samples-instance-baselinestyle-pixelsnapmodebooleanPixel Snap Mode, default(
axes-samples-instance-baselinestyle-scalablebooleanTrue if width should depend on transformation
axes-samples-instance-baselinestyle-unitstringOptional unit for the width
axes-samples-instance-baselinestyle-widthnumber | stringThe line thickness
axes-samples-instance-boundsRectAxis bounds
axes-samples-instance-bounds-heightnumberHeight
axes-samples-instance-bounds-readonlybooleanReadonly
axes-samples-instance-bounds-widthnumberWidth
axes-samples-instance-bounds-xnumberLeft
axes-samples-instance-bounds-ynumberTop
axes-samples-instance-clipstyleClipStyleClipping style
axes-samples-instance-clipstyle-evenoddbooleanTrue if evenodd mode is on ('nonzero' mode otherwise)
axes-samples-instance-clipstyle-geometryGraphicsPathClipping geometry
axes-samples-instance-clipstyle-geometry-boundsRectBounds
axes-samples-instance-clipstyleGraphicsPathClipping style
axes-samples-instance-cssclassstringThe css class name of this node
axes-samples-instance-csscursorstringCSS cursor associated with node
axes-samples-instance-cssstylestringCSS style to be applied to inserted elements
axes-samples-instance-dimensionAxisMappingDimensionAxis dimension to setup axis limits
axes-samples-instance-dimension-desiredmodelstepnumberDesired model step
axes-samples-instance-dimension-logarithmicbooleanTrue for logarithmic axis
axes-samples-instance-dimension-maxnumberMaximum value
axes-samples-instance-dimension-minnumberMinimum value
axes-samples-instance-dimension-minspannumberDesired minimum distance between ticks in pixels
axes-samples-instance-dimension-namestringName of the dimension
axes-samples-instance-dimension-neatlimitsbooleanEnable or disable neat limits
axes-samples-instance-dimension-orientationOrientationAxis orientation
axes-samples-instance-dimension-originnumber
axes-samples-instance-dimension-preciselimitsbooleanEnable keeping the precise limits and calculate only step
axes-samples-instance-dimension-spacingnumberDesired model spacing
axes-samples-instance-fillstylestringStyle applied on fill
axes-samples-instance-fillstyleFillStyleStyle applied on fill
axes-samples-instance-hideoverlappedtextbooleanHide overlapped text flag
axes-samples-instance-idstring | numberId of the node, its a unique identifier
axes-samples-instance-infinitybooleanInfinity mode
axes-samples-instance-labelmanualsettingsbooleanEnable / disable manual settings for labels like anchor
axes-samples-instance-labeloffsetnumberOffset the label offset
axes-samples-instance-labelpaddingnumberLabel padding size in pixels
axes-samples-instance-labelpositionLabelPositionLabel position
axes-samples-instance-layoutstyleLayoutStyleDesired layout style
axes-samples-instance-layoutstyle-constraintSizeConstraintLayout constrains
axes-samples-instance-layoutstyle-flexgrownumberNumber specifying how much the item will grow relative to the rest of the items inside the same container
axes-samples-instance-layoutstyle-flexshrinknumberNumber specifying how much the item will shrink relative to the rest of the items inside the same container
axes-samples-instance-layoutstyle-floatstringFloat position
axes-samples-instance-layoutstyle-positionstringLayout position
axes-samples-instance-layoutstyle-sizenumber | stringLayout size
axes-samples-instance-linestylestringStyle applied on outline
axes-samples-instance-linestyleLineStyleStyle applied on outline
axes-samples-instance-localtransformTransformationLocal transformation
axes-samples-instance-localtransform-dxnumberX axis translation
axes-samples-instance-localtransform-dynumberY axis translation
axes-samples-instance-localtransform-xxnumberX scale
axes-samples-instance-localtransform-xynumberXy skew
axes-samples-instance-localtransform-yxnumberYx skew
axes-samples-instance-localtransform-yynumberY scale
axes-samples-instance-marginsnumber | stringIt has properties for specifying the margins for each side
axes-samples-instance-maximumlabelsizenumberMaximum label size (in device), text will be wrapped, if it is bigger than maximum label size
axes-samples-instance-modellimitsRectRectangle where to generate ticks
axes-samples-instance-namestringName of the node. It is often used for debugging purposes or to simplify queries
axes-samples-instance-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
axes-samples-instance-opacityblendmodeBlendModeNode opacity mode to blend it
axes-samples-instance-orientationOrientationAxis orientation
axes-samples-instance-scalescrollstrategyScaleScrollStrategyScale scroll strategy
axes-samples-instance-scalescrollstrategy-enabledbooleanEnable flag
axes-samples-instance-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
axes-samples-instance-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
axes-samples-instance-textstylestringLabels textstyle
axes-samples-instance-textstyleTextStyleLabels textstyle
axes-samples-instance-textstyle-alignmentAlignmentStyleAlignment
axes-samples-instance-textstyle-autosizebooleanAuto font size on high definition display
axes-samples-instance-textstyle-backgroundstringBackground style
axes-samples-instance-textstyle-backgroundFillStyleBackground style
axes-samples-instance-textstyle-baselineBaseLineStyleBase line
axes-samples-instance-textstyle-colorstringColor in CSS form
axes-samples-instance-textstyle-fillFillStyleText fill style
axes-samples-instance-textstyle-fontstringFont see
axes-samples-instance-textstyle-fonturlstringThe place from which the font will be loaded, if null - uses system fonts. It can be base64 with url keyword
axes-samples-instance-textstyle-lineheightstring | numberLine height
axes-samples-instance-textstyle-multilinebooleanAllow multi-line text
axes-samples-instance-textstyle-outlinestringOutline style
axes-samples-instance-textstyle-outlineLineStyleOutline style
axes-samples-instance-textstyle-overflowwrapOverflowWrapStyleOverflow wrap
axes-samples-instance-textstyle-strikethroughstringStrikethrough style
axes-samples-instance-textstyle-strikethroughLineStyleStrikethrough style
axes-samples-instance-textstyle-textoverflowTextOverflowStyleText overflow
axes-samples-instance-textstyle-underlinestringUnderline style
axes-samples-instance-textstyle-underlineLineStyleUnderline style
axes-samples-instance-textstyle-underlineoffsetstring | numberUnderline offset distance
axes-samples-instance-textstyle-whitespaceWhiteSpaceStyleWhite space
axes-samples-instance-textstyle-wordbreakWordBreakStyleWord break
axes-samples-instance-tickgeneratorTickGeneratorTickGenerator to use in axis
axes-samples-instance-tickgenerator-labelstylesTextStyleAn object containing label style for specified grades
axes-samples-instance-tickgenerator-taganyTag user can specify info associated with current object
axes-samples-instance-tickgenerator-tickstylesLineStyleAn object containing tick styles for specified grades
axes-samples-instance-tickpositionTickPositionTick position
axes-samples-instance-titleTitleAxis title
axes-samples-instance-title-alignmentAnchorTypeAlignment
axes-samples-instance-title-marginnumber | stringMargin style
axes-samples-instance-title-offsetPointOffset
axes-samples-instance-title-offset-xnumberX coordinate
axes-samples-instance-title-offset-ynumberY coordinate
axes-samples-instance-title-offsetDimensionOffset
axes-samples-instance-title-offset-heightnumberHeight of dimension
axes-samples-instance-title-offset-widthnumberWidth of dimension or properties
axes-samples-instance-title-showellipsisbooleanEnables/disables ellipsis in case if text is too long
axes-samples-instance-title-textstringAxis title text
axes-samples-instance-title-textstylestringText style
axes-samples-instance-title-textstyleTextStyleText style
axes-samples-instance-title-visiblebooleanVisibility
axes-samples-instance-transformstringAdditional CSS transformation applied to node or 'none'
axes-samples-instance-transformTransformationAdditional CSS transformation applied to node or 'none'
axes-samples-instance-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
axes-samples-instance-visiblebaselinebooleanVisibility of baseline
axes-samples-instance-z-indexnumberDefine node z-index
axes-samples-locationAnnotationLocationDefines location of sample axis
axes-samples-sizenumberDefines size in pixels of samples axis
axes-samples-ticksOptionsObjects which defines ticks options of the axis
axes-samples-ticks-labelstylesTextStyleAn object containing label style for specified grades
axes-samples-ticks-taganyTag user can specify info associated with current object
axes-samples-ticks-tickstylesLineStyleAn object containing tick styles for specified grades
axes-samples-ticksOptionsObjects which defines ticks options of the axis
axes-samples-ticks-adaptivetypeAdaptiveTypeType of adaptive algorithm
axes-samples-ticks-hidelabelsonspantoosmallbooleanHide labels flag
axes-samples-ticks-minlabelspannumberMinimum distance between labels
axes-samples-ticks-minorticksamountnumberCount of minor ticks
axes-samples-ticks-minspannumberMinimum distance between ticks
axes-samples-ticks-minspangradestringTick grade to be used for minimum distance between ticks
axes-samples-ticks-modeloriginnumberOrigin in model space for initial tick in the sequence
axes-samples-ticks-precisionAdaptivePrecisionPrecision for legacy algorithm
axes-samples-ticks-spacingnumberSpacing see
axes-samples-titleTitleDefines title options of sample axis
axes-samples-visiblebooleanDefines visibility of sample axis
axesAxesOptionsSpecify set of axes
freezeupdatebooleanFreeze updating widget until new seismic data is loaded and rendered for visible area
freezeupdatebooleanFreeze updating widget until new seismic data is loaded and rendered for visible area
layouttypestringType of layout 'default' or 'inside'
layouttypestringType of layout 'default' or 'inside'
orientationOrientationSeismic trace orientation
orientationOrientationSeismic trace orientation
pickingeventEventsEvent for picking
pipelineSeismicPipelineSeismic pipeline
pipeline-clippingmodeClippingModeClipping mode
pipeline-colorsColorMapOptionsColors
pipeline-colors-alphanumberAlpha value
pipeline-colors-colormapstringColor map, predefined color map name, color map options or color map instance
pipeline-colors-colormapColorMapColor map, predefined color map name, color map options or color map instance
pipeline-colors-colormap-maxnumber
pipeline-colors-colormap-minnumber
pipeline-colors-colormap-namestringColor map name
pipeline-colors-colormap-negativefillstylestringPositive fill style
pipeline-colors-colormap-negativefillstyleFillStylePositive fill style
pipeline-colors-colormap-positivefillstylestringPositive fill style
pipeline-colors-colormap-positivefillstyleFillStylePositive fill style
pipeline-colors-colormap-scaleKnownScales
pipeline-colors-colormap-sizenumberColor map size
pipeline-colors-colormap-tracelinestylestringTrace line style
pipeline-colors-colormap-tracelinestyleLineStyleTrace line style
pipeline-colors-opacitynumberOpacity value
pipeline-colors-reversedbooleanReversed color map
pipeline-maximumtracesperpixelnumberDefine maximum traces per pixel, which can be displayed in the image
pipeline-namestringPipeline name
pipeline-normalizationNormalizationOptionsNormalization options
pipeline-normalization-biasnumberThe bias value defines the start of the VA fill Bias can be null (default - means that fill starts from trace location), in swing model space from -1 to 1, or in normalization limits model space, see biastype option
pipeline-normalization-biastypeBiasTypeBias type, default is BiasType.Relative
pipeline-normalization-limitsRangeNormalization limits (min,max), which is used for NormalizationType.Limits only
pipeline-normalization-limits-highnumberUpper range boundary
pipeline-normalization-limits-lownumberLower range boundary
pipeline-normalization-limits-maxnumber
pipeline-normalization-limits-minnumber
pipeline-normalization-scalenumberScale factor
pipeline-normalization-swingnumberThe location in trace spacing units where the normalized value of data samples are mapped. This location can be modified by specifying a normalization scale factor
pipeline-normalization-typeNormalizationTypeEnum of normalization types
pipeline-plotPlotOptionsPlot options
pipeline-plot-clippingfactornumberClipping factor for traces
pipeline-plot-decimationspacingnumberDecimation spacing is the minimum spacing between seismic traces on a seismic image. It is a measured in device units (pixels). Decimation spacing is an important factor when interpreting seismic images, as it affects the resolution of the image. The greater the decimation spacing, the lower the resolution of the image. A higher resolution image will allow for more detail in the interpretation, while a lower resolution image will be less detailed
pipeline-plot-densityclippingfactornumberClipping factor for density
pipeline-plot-densitydecimationbooleanDecimation for traces in density mode
pipeline-plot-sampledecimationDecimationTypeDefine samples decimation type
pipeline-plot-typePlotTypeOptionsPlot type
pipeline-plot-type-interpolateddensitybooleanInterpolated density
pipeline-plot-type-negativecolorfillbooleanNegative color fill
pipeline-plot-type-negativefillbooleanNegative fill
pipeline-plot-type-positivecolorfillbooleanPositive color fill
pipeline-plot-type-positivefillbooleanPositive fill
pipeline-plot-type-reversedbooleanReversed amplitude direction
pipeline-plot-type-simpledensitybooleanSimple density
pipeline-plot-type-wigglebooleanWiggle
pipeline-plot-wigglesantialiasingbooleanWiggles antialiasing flag
pipeline-rasterizationlimitstypeRasterizationLimitsTypeRasterization limits type
pipeline-renderingsideRenderingSideRendering side
pipeline-statisticsStatisticsStatistics information
pipeline-statistics-averagenumberAverage
pipeline-statistics-maxnumberMaximum
pipeline-statistics-minnumberMinimum
pipeline-statistics-rmsnumberRms
pipeline-traceoffsetnumberOriginal trace offset
pipeline-versionstringVersion
pipelineSeismicPipelineSeismic pipeline
scaleScaleOptionsScale options
scale-deviceunitstringPhysical device unit
scale-samplescalenumberIn sample unit per device unit if depth data (e.g feet per inch), or in device unit per sample unit (e.g inches per second)
scale-sampleunitstringSample unit, sample unit from pipeline will be used if not specified
scale-tracescalenumberIn traces per device unit (e.g traces per inch)
scaleScaleOptionsScale options
scrollScrollOptionsSpecify scroll bar properties
scroll-horizontalHVOptionsSpecify horizontal scroll bar properties
scroll-horizontal-cssclassstringSpecify scroll bar cssclass name
scroll-horizontal-optionsOptions
scroll-horizontal-options-cssclassstringThe css class name of this node
scroll-horizontal-options-idstring | numberId of the node, its a unique identifier
scroll-horizontal-options-namestringName of the node. It is often used for debugging purposes or to simplify queries
scroll-horizontal-options-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
scroll-horizontal-options-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
scroll-horizontal-options-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
scroll-horizontal-options-z-indexnumberDefine node z-index
scroll-horizontal-optionsOptions
scroll-horizontal-options-clipstyleClipStyleClipping style
scroll-horizontal-options-clipstyleGraphicsPathClipping style
scroll-horizontal-options-csscursorstringCSS cursor associated with node
scroll-horizontal-options-cssstylestringCSS style to be applied to inserted elements
scroll-horizontal-options-localtransformTransformationLocal transformation
scroll-horizontal-options-marginsnumber | stringIt has properties for specifying the margins for each side
scroll-horizontal-options-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
scroll-horizontal-options-opacityblendmodeBlendModeNode opacity mode to blend it
scroll-horizontal-options-scalescrollstrategyScaleScrollStrategyScale scroll strategy
scroll-horizontal-options-transformstringAdditional CSS transformation applied to node or 'none'
scroll-horizontal-options-transformTransformationAdditional CSS transformation applied to node or 'none'
scroll-horizontal-optionsOptions
scroll-horizontal-options-clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
scroll-horizontal-options-infinitybooleanMode to render outside the model limits
scroll-horizontal-optionsOptions
scroll-horizontal-options-automodellimitsmodebooleanAuto model limits mode
scroll-horizontal-options-boundsRectDefine position of the group in the parent
scroll-horizontal-options-contentorientationOrientationContent orientation
scroll-horizontal-options-fillstylestringFill style
scroll-horizontal-options-fillstyleFillStyleFill style
scroll-horizontal-options-horizontalflipbooleanHorizontal axis goes from right to left
scroll-horizontal-options-layoutstyleLayoutStyleLayout style to be used for parent layout
scroll-horizontal-options-linestylestringLine style
scroll-horizontal-options-linestyleLineStyleLine style
scroll-horizontal-options-modellimitsRectDefine inner model coordinates of the group
scroll-horizontal-options-paddingnumber | stringIt has properties for specifying the padding for each side
scroll-horizontal-options-pickingchildrenbooleanEnable picking children
scroll-horizontal-options-verticalflipbooleanVertical axis goes from bottom to top
scroll-horizontal-options-viewcachebooleanView cache to cache child nodes
scroll-horizontal-optionsOptions
scroll-horizontal-options-backgroundfillstylestringBackground fill style
scroll-horizontal-options-backgroundfillstyleFillStyleBackground fill style
scroll-horizontal-options-floatingbooleanFlag to set floating mode
scroll-horizontal-options-sizenumberDesired size
scroll-horizontal-options-transparencynumberAlpha
scroll-horizontal-optionsOptions
scroll-horizontal-options-arrowlinestylestringArrow line style
scroll-horizontal-options-arrowlinestyleLineStyleArrow line style
scroll-horizontal-options-borderlinestylestringBorder line style
scroll-horizontal-options-borderlinestyleLineStyleBorder line style
scroll-horizontal-options-caretfillstylestringCaret fill style
scroll-horizontal-options-caretfillstyleFillStyleCaret fill style
scroll-horizontal-options-caretlinestylestringCaret line style
scroll-horizontal-options-caretlinestyleLineStyleCaret line style
scroll-horizontal-options-changecursorbooleanChange cursor on move or resize, true by default
scroll-horizontal-options-fillstylestringFill style
scroll-horizontal-options-fillstyleFillStyleFill style
scroll-horizontal-options-isverticalboolean
scroll-horizontal-options-linestylestringLine style
scroll-horizontal-options-linestyleLineStyleLine style
scroll-horizontal-options-minimumcarretsizenumberMinimum size of the carriage
scroll-horizontal-options-modellimitsRectModel limits
scroll-horizontal-options-resizablebooleanTrue for resizable
scroll-horizontal-options-roundedbooleanRounded borders
scroll-horizontal-options-visiblelimitsRectVisible model limits
scroll-horizontal-typestringClass name of scroll bar
scroll-horizontal-visiblebooleanSpecify scroll bar visibility
scroll-verticalHVOptionsSpecify vertical scroll bar properties
scrollScrollOptionsSpecify scroll bar properties
statusbarStatusBarDefines status bar settings
statusbar-autosizebooleanDefines status auto size mode
statusbar-cssclassstringSpecify status bar cssclass name
statusbar-visiblebooleanSpecify status bar visibility
tableOptionsBaseHeaders table
table-cssclassstringDefines cssclass of headers table
tableHeadersViewOptionsHeaders table
table-enabledbooleanDefines if header view default behaviour is enabled or not
table-optionsOptions
table-optionsOptions
table-optionsOptions
table-optionsOptions
table-optionsData
table-options-boundsRectBounds
table-options-colsnumberTable view column count
table-options-defaultcellsizeDimensionDefault cell dimensions
table-options-defaultheadersizeDimensionDefault header dimensions
table-options-fittowidthbooleanFit to width
table-options-fixedsizebooleanPerformance hint for table view
table-options-headervisiblebooleanValue to set header row visibility
table-options-highlightcolumnfillstylestringHighlight column style
table-options-highlightcolumnfillstyleFillStyleHighlight column style
table-options-highlightrowfillstylestringHighlight row style
table-options-highlightrowfillstyleFillStyleHighlight row style
table-options-indextitlestringJSON to set index title - see
table-options-indexvisiblebooleanValue to set index column visibility
table-options-rowsnumberTable view row count
table-optionsOptions
table-options-boundsRectBounds
table-options-cellsizeDimensionCell size
table-options-fixedsizebooleanPerformance hint for table view
table-options-headerheightnumberHeader height
table-options-indexwidthnumberIndex column width
table-optionsOptions
table-options-fitborderbooleanDefines fit border strategy, in case of true (false by default), border fit table content in case if content smaller than widget bounds
table-options-fixedsizebooleanPerformance hint for table view
table-options-headermodeHeaderModeAutomatic header resize strategies
table-options-horizontalscrollboolean | string
table-options-horizontalscrollableboolean | string
table-options-verticalscrollboolean | string
table-options-verticalscrollableboolean | string
table-sizenumberDefines size of headers table
table-visiblebooleanDefines if plot displays headers table, true | false | 'none' | 'visible' | 'hidden'
titleTitleDefines title options of widget
title-alignmentAnchorTypeAlignment
title-cssclassstringCSS style of the title
title-locationAnnotationLocationDefines location
title-sizenumberSize of the title in pixels
title-textstringTitle text
title-textstylestringText style
title-textstyleTextStyleText style
title-visiblebooleanVisibility
titleTitleDefines title options of widget
toolsToolsOptionsTools options
tools-colorbarOptionsBaseFloating olor bar tool options
tools-colorbar-colorproviderColorProvider
tools-colorbar-colorprovider-maxnumber
tools-colorbar-colorprovider-minnumber
tools-colorbar-colorprovider-scaleKnownScales
tools-colorbar-tickgeneratorTickGenerator
tools-colorbar-visibleboolean
tools-comparatorOptionsTypeComparator options
tools-comparator-fillstylestringSplitter fill style
tools-comparator-fillstyleFillStyleSplitter fill style
tools-comparator-linestylestringSplitter border line style
tools-comparator-linestyleLineStyleSplitter border line style
tools-comparator-widthnumberSplitter width
tools-crosshairOptionsCrosshair cursor options
tools-crosshair-enabledbooleanEnabled state
tools-crosshair-layerCompositeNodeManipulator layer
tools-crosshair-layer-clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
tools-crosshair-layer-clipstyleClipStyleClipping style
tools-crosshair-layer-clipstyleGraphicsPathClipping style
tools-crosshair-layer-cssclassstringThe css class name of this node
tools-crosshair-layer-csscursorstringCSS cursor associated with node
tools-crosshair-layer-cssstylestringCSS style to be applied to inserted elements
tools-crosshair-layer-idstring | numberId of the node, its a unique identifier
tools-crosshair-layer-infinitybooleanMode to render outside the model limits
tools-crosshair-layer-localtransformTransformationLocal transformation
tools-crosshair-layer-marginsnumber | stringIt has properties for specifying the margins for each side
tools-crosshair-layer-namestringName of the node. It is often used for debugging purposes or to simplify queries
tools-crosshair-layer-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
tools-crosshair-layer-opacityblendmodeBlendModeNode opacity mode to blend it
tools-crosshair-layer-scalescrollstrategyScaleScrollStrategyScale scroll strategy
tools-crosshair-layer-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
tools-crosshair-layer-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
tools-crosshair-layer-transformstringAdditional CSS transformation applied to node or 'none'
tools-crosshair-layer-transformTransformationAdditional CSS transformation applied to node or 'none'
tools-crosshair-layer-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
tools-crosshair-layer-z-indexnumberDefine node z-index
tools-crosshair-mouseradiusnumberDevice radius for mouse events
tools-crosshair-namestringName of the tool used like cross-hair etc
tools-crosshair-touchradiusnumberDevice radius for touch events
tools-crosshairOptionsCrosshair cursor options
tools-crosshair-eastLabelSettingsJSON for east label. See setLabelSettings for more details
tools-crosshair-east-alignmentAnchorTypeAlignment of the text
tools-crosshair-east-cssclassstringThe css class name of this node
tools-crosshair-east-displaymodeLabelDisplayModeLabel display mode, default is LabelDisplayMode.Shape
tools-crosshair-east-fillstylestringFill style of the text
tools-crosshair-east-fillstyleFillStyleFill style of the text
tools-crosshair-east-linestylestringLine style of the text border
tools-crosshair-east-linestyleLineStyleLine style of the text border
tools-crosshair-east-offsetnumber | stringLabel offset between the text and cross-hair cursor, use padding in case of undefined
tools-crosshair-east-paddingnumber
tools-crosshair-east-paddingstylenumber | stringPadding style between the text and the border
tools-crosshair-east-radiusnumberRadius of the text shape border
tools-crosshair-east-textstylestringText style of the text
tools-crosshair-east-textstyleTextStyleText style of the text
tools-crosshair-east-tooltipPropertiesTooltip properties, this options applyes only in case if displaymode:LabelDisplayMode.DivElement
tools-crosshair-east-tooltip-alignmentAnchorTypeTooltip alignment according to the point set by offsets
tools-crosshair-east-tooltip-autoflipbooleanTrue to automatically flip tooltip alignment if it doesn't fit the window
tools-crosshair-east-tooltip-cssclassesstringCSS classes' names to be applied for tooltip 'cg-tooltip' by default
tools-crosshair-east-tooltip-delaynumber
tools-crosshair-east-tooltip-hidedelaynumberAuto hide in millisecond, 0 means false and autohide is disabled
tools-crosshair-east-tooltip-offsetxnumberOffset of tooltip from current position by x in pixels
tools-crosshair-east-tooltip-offsetynumberOffset of tooltip from current position by y in pixels
tools-crosshair-east-tooltip-orientationOrientationTooltip orientation
tools-crosshair-east-tooltip-showdelaynumberDelay between displaying tooltip, 0 means false and tooltip shows immediately
tools-crosshair-east-tooltip-sizeRangeClient size range
tools-crosshair-east-visiblebooleanVisibility of the text
tools-crosshair-east-z-indexnumberDefine node z-index
tools-crosshair-fillstylestringFillstyle of the cross-hair (used only with radius)
tools-crosshair-fillstyleFillStyleFillstyle of the cross-hair (used only with radius)
tools-crosshair-horizontalstringLinestyle for horizontal line
tools-crosshair-horizontalLineStyleLinestyle for horizontal line
tools-crosshair-keeporientationbooleanPreserve annotation's orientation of labels for different
tools-crosshair-labelsbooleanIf 'none' of false - do not create labels
tools-crosshair-linestylestring
  • default linestyle shared for all orientations
tools-crosshair-linestyleLineStyle
  • default linestyle shared for all orientations
tools-crosshair-northLabelSettingsJSON for north label. See setLabelSettings for more details
tools-crosshair-outlinestylestringOutLinestyle for both lines
tools-crosshair-outlinestyleLineStyleOutLinestyle for both lines
tools-crosshair-radiusnumberRadius of the cross-hair center target
tools-crosshair-southLabelSettingsJSON for south label. See setLabelSettings for more details
tools-crosshair-symbolSymbolShapeSymbol of the cross-hair
tools-crosshair-symbol-alignmentAnchorTypeAlignment according to the anchor point
tools-crosshair-symbol-alignmentAnchorTypeAnchor type of symbol
tools-crosshair-symbol-axnumberAnchor x position
tools-crosshair-symbol-aynumberAnchor y position
tools-crosshair-symbol-cachebooleanSet it to true if you want to cache complex geometry to raster
tools-crosshair-symbol-clipstyleClipStyleClipping style
tools-crosshair-symbol-clipstyleGraphicsPathClipping style
tools-crosshair-symbol-cssclassstringThe css class name of this node
tools-crosshair-symbol-csscursorstringCSS cursor associated with node
tools-crosshair-symbol-cssstylestringCSS style to be applied to inserted elements
tools-crosshair-symbol-fillstylestringStyle applied on fill
tools-crosshair-symbol-fillstyleFillStyleStyle applied on fill
tools-crosshair-symbol-heightnumberShape height
tools-crosshair-symbol-idstring | numberId of the node, its a unique identifier
tools-crosshair-symbol-ispointingupbooleanDefines whether the shape is always pointing up
tools-crosshair-symbol-layoutstyleLayoutStyleLayout style to specify how to lay out shape
tools-crosshair-symbol-linestylestringStyle applied on outline
tools-crosshair-symbol-linestyleLineStyleStyle applied on outline
tools-crosshair-symbol-localtransformTransformationLocal transformation
tools-crosshair-symbol-marginsnumber | stringIt has properties for specifying the margins for each side
tools-crosshair-symbol-maxdimensionDimensionMaximum size for rendering
tools-crosshair-symbol-mindimensionDimensionMinimum size for rendering
tools-crosshair-symbol-namestringName of the node. It is often used for debugging purposes or to simplify queries
tools-crosshair-symbol-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
tools-crosshair-symbol-opacityblendmodeBlendModeNode opacity mode to blend it
tools-crosshair-symbol-painterstringA function with has parameters: symbol, box, context
tools-crosshair-symbol-painterpropertiesanySymbol's painter's properties
tools-crosshair-symbol-preserveaspectratiobooleanPreserve aspect ratio of the anchored shape
tools-crosshair-symbol-preservereadingorientationbooleanPreserve reading orientation for local transform
tools-crosshair-symbol-preserverightanglebooleanPreserve right angle for local transformation
tools-crosshair-symbol-rotationanglenumberRotation angle at anchor
tools-crosshair-symbol-scalescrollstrategyScaleScrollStrategyScale scroll strategy
tools-crosshair-symbol-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
tools-crosshair-symbol-sizeisindevicespacebooleanIs coordinate in device space
tools-crosshair-symbol-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
tools-crosshair-symbol-transformstringAdditional CSS transformation applied to node or 'none'
tools-crosshair-symbol-transformTransformationAdditional CSS transformation applied to node or 'none'
tools-crosshair-symbol-useminmaxdimensionsbooleanUse the min max dimensions to limit visual size
tools-crosshair-symbol-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
tools-crosshair-symbol-widthnumberShape width
tools-crosshair-symbol-z-indexnumberDefine node z-index
tools-crosshair-textstylestring
  • default textstyle shared for all orientations
tools-crosshair-textstyleTextStyle
  • default textstyle shared for all orientations
tools-crosshair-verticalstringLinestyle for vertical line
tools-crosshair-verticalLineStyleLinestyle for vertical line
tools-crosshair-westLabelSettingsJSON for west label. See setLabelSettings for more details
tools-horizonpickerOptionsHorizon picker options
tools-horizonpickerOptionsHorizon picker options
tools-horizonpicker-erasershapeAnchoredShapeEraser shape (default is red square)
tools-horizonpicker-erasershape-alignmentAnchorTypeAlignment according to the anchor point
tools-horizonpicker-erasershape-axnumberAnchor x position
tools-horizonpicker-erasershape-aynumberAnchor y position
tools-horizonpicker-erasershape-clipstyleClipStyleClipping style
tools-horizonpicker-erasershape-clipstyleGraphicsPathClipping style
tools-horizonpicker-erasershape-cssclassstringThe css class name of this node
tools-horizonpicker-erasershape-csscursorstringCSS cursor associated with node
tools-horizonpicker-erasershape-cssstylestringCSS style to be applied to inserted elements
tools-horizonpicker-erasershape-fillstylestringStyle applied on fill
tools-horizonpicker-erasershape-fillstyleFillStyleStyle applied on fill
tools-horizonpicker-erasershape-heightnumberShape height
tools-horizonpicker-erasershape-idstring | numberId of the node, its a unique identifier
tools-horizonpicker-erasershape-ispointingupbooleanDefines whether the shape is always pointing up
tools-horizonpicker-erasershape-layoutstyleLayoutStyleLayout style to specify how to lay out shape
tools-horizonpicker-erasershape-linestylestringStyle applied on outline
tools-horizonpicker-erasershape-linestyleLineStyleStyle applied on outline
tools-horizonpicker-erasershape-localtransformTransformationLocal transformation
tools-horizonpicker-erasershape-marginsnumber | stringIt has properties for specifying the margins for each side
tools-horizonpicker-erasershape-maxdimensionDimensionMaximum size for rendering
tools-horizonpicker-erasershape-mindimensionDimensionMinimum size for rendering
tools-horizonpicker-erasershape-namestringName of the node. It is often used for debugging purposes or to simplify queries
tools-horizonpicker-erasershape-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
tools-horizonpicker-erasershape-opacityblendmodeBlendModeNode opacity mode to blend it
tools-horizonpicker-erasershape-preserveaspectratiobooleanPreserve aspect ratio of the anchored shape
tools-horizonpicker-erasershape-preservereadingorientationbooleanPreserve reading orientation for local transform
tools-horizonpicker-erasershape-preserverightanglebooleanPreserve right angle for local transformation
tools-horizonpicker-erasershape-rotationanglenumberRotation angle at anchor
tools-horizonpicker-erasershape-scalescrollstrategyScaleScrollStrategyScale scroll strategy
tools-horizonpicker-erasershape-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
tools-horizonpicker-erasershape-sizeisindevicespacebooleanIs coordinate in device space
tools-horizonpicker-erasershape-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
tools-horizonpicker-erasershape-transformstringAdditional CSS transformation applied to node or 'none'
tools-horizonpicker-erasershape-transformTransformationAdditional CSS transformation applied to node or 'none'
tools-horizonpicker-erasershape-useminmaxdimensionsbooleanUse the min max dimensions to limit visual size
tools-horizonpicker-erasershape-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
tools-horizonpicker-erasershape-widthnumberShape width
tools-horizonpicker-erasershape-z-indexnumberDefine node z-index
tools-horizonpicker-erasersizenumberEraser size
tools-horizonpicker-extendedfocusbooleanTrue for extended focus
tools-horizonpicker-focussymbolSymbolShapeSymbol for point focus (default is red square)
tools-horizonpicker-focusthresholdnumberFocus threshold (in devices)
tools-horizonpicker-highlightlinestylestringLinestyle of highlighted horizon (default is red)
tools-horizonpicker-highlightlinestyleLineStyleLinestyle of highlighted horizon (default is red)
tools-horizonpicker-linestylestringLinestyle of horizon (default is red)
tools-horizonpicker-linestyleLineStyleLinestyle of horizon (default is red)
tools-horizonpicker-modeModeMode of horizon picker
tools-horizonpicker-propagatorthresholderrornumberPropagator threshold error (in percents, must be > 0)
tools-panningOptionsPanning options
tools-panningOptionsPanning options
tools-panning-acceptxbooleanAccept x coordinates
tools-panning-inertiacoefnumber | booleanInertia coefficient for inertia effect
tools-panning-panningthresholdnumberThreshold to prevent panning. If user pointer movement is under this value the panning will be ignore. WARNING: if you set positive inertia coefficient, some panning events'll be fired with null eventArgs
tools-panning-wheelrationumberNumber that represent the number default
tools-rubberbandzoomOptionsRubber band zoom options
tools-rubberbandzoomOptionsRubber band zoom options
tools-rubberbandzoom-modeRubberBandRenderModeRubber mode
tools-rubberbandzoomOptionsRubber band zoom options
tools-rubberbandzoom-acceptemptyrectbooleanDoes rubber band accept empty rect
tools-rubberbandzoom-autodisabledbooleanDoes rubber band automatically disabled on zoom end
tools-rubberbandzoom-fillstylestringRubber band fillstyle
tools-rubberbandzoom-fillstyleFillStyleRubber band fillstyle
tools-rubberbandzoom-linestylestringRubber band linestyle
tools-rubberbandzoom-linestyleLineStyleRubber band linestyle
tools-rubberbandzoom-restrictionareaRectSpecify restriction area
tools-zoomOptionsZoom options
tools-zoomOptionsZoom options
tools-zoom-easingFunctionsEasing animation function for elastic zooming
tools-zoom-maxnumberMaximum limits for zooming (>= options.zoom.min)
tools-zoom-minnumberMinimum limits for zooming (>= 0)
tools-zoom-modeModeMode of pinch zooming
tools-zoom-modifierModifierKeyModifier key for zoom, default is ModifierKey.None
tools-zoom-speednumberSpeed of zooming (>= 1)
tools-zoom-timenumberZooming time in ms (> 0 for elastic, 0 for instant)
toolsToolsOptionsTools options

Contents

Constructors

new SeismicWidget(options)

new SeismicWidget(options?)

Create seismic widget

Parameters

Name Type Description
Optional optionsSeismicPipeline | Optionsoptions or seismic pipeline

Overrides

SeismicViewWidget.constructor

Methods

addBaseLayer

addBaseLayer(baseLayer): SeismicWidget

Add baseLayer to container

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer to be added

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.addBaseLayer


addChild

addChild(node): SeismicWidget

Add a child node

Parameters

Name Type Description
nodeNode | Iterator<Node> | Node[]the child node to be added

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.addChild


addCssClass

addCssClass(cssclass): SeismicWidget

Adds new css class to node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.addCssClass


addHeaderChart

addHeaderChart(headerName, options?): SeismicWidget

Add header chart

Parameters

Name Type Description
headerNamestringtrace header name
Optional optionsHeaderOptionschart options

Returns

SeismicWidget

this


addInvalidateHandler

addInvalidateHandler(handler): SeismicWidget

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.addInvalidateHandler


addOverlay

addOverlay(overlay): SeismicWidget

Add overlay to container

Parameters

Name Type Description
overlayNode | Node[]overlay to be added

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.addOverlay


adjustPosition

adjustPosition(area?, vAlign?, hAlign?): SeismicWidget

Adjust position of node to specified area

Parameters

Name Type Description
Optional areaRectspecified area. Default to Parent Model Limits
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center". Defaults to "top".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center". Defaults to "left".

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.adjustPosition


applyOpacity

Protected applyOpacity(context): SeismicWidget

This method is called to apply opacity if it is specified on the rendering context. The default implementation sets global alpha on the rendering context

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

SeismicViewWidget.applyResponsiveStyle


beginExport

beginExport(options?): SeismicWidget

Used to prepare object before exporting

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.beginExport


changeBaseLayerOrder

changeBaseLayerOrder(overlay, order, anchor?): SeismicWidget

Changes the z-order of the baseLayer.

Parameters

Name Type Description
overlayNode
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.changeBaseLayerOrder


changeChildOrder

changeChildOrder(node, order, anchor?): SeismicWidget

changes the z-order of the nodes being rendered.

Parameters

Name Type Description
nodeNodeany child added in the Composite node
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.changeChildOrder


changeOverlayOrder

changeOverlayOrder(overlay, order, anchor?): SeismicWidget

Changes the z-order of the overlay.

Parameters

Name Type Description
overlayNodechild overlay
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.changeOverlayOrder


checkCollision

checkCollision(context): boolean

Check culling Returns true if object is inside of renderable area

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

true if node is collided

Inherited from

SeismicViewWidget.checkCollision


clearBaseLayers

clearBaseLayers(disposeBaseLayers?): SeismicWidget

Remove all child baseLayers from group

Parameters

Name Type Description
Optional disposeBaseLayersbooleanautomatically dispose baseLayers. If it is true then method dispose is called for each baseLayer, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.clearBaseLayers


clearCache

clearCache(): SeismicWidget

Clear cache

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.clearCache


clearChildren

clearChildren(disposeChildren?): SeismicWidget

Remove all child nodes from this composite group

Parameters

Name Type Description
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.clearChildren


clearOverlays

clearOverlays(disposeOverlays?): SeismicWidget

Remove all child overlays from group

Parameters

Name Type Description
Optional disposeOverlaysbooleanautomatically dispose overlays. If it is true then method dispose is called for each overlay, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.clearOverlays


clone

clone(): Group<Node>

All subclasses should override copyConstructor or provide custom implementation for this method

Returns

Group<Node>

clone

Inherited from

SeismicViewWidget.clone


connectStyle

connectStyle(style, type, callback): SeismicWidget

Connects style.

This convenience method subscribes a listener to given style for the specified type.
And automatically un-subscribes listener if node is disposed to prevent memory leaks

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.connectStyle


connectTool

connectTool(tool): SeismicWidget

Connect a new tool with a toolname to the widget

Parameters

Name Type Description
toolAbstractTool | AbstractTool[]tool associated with the widget

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.connectTool


copyConstructor

Protected copyConstructor(src, deepCopy?): SeismicWidget

Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.

Parameters

Name Type Description
srcGroup<Node>Source to copy from
Optional deepCopybooleandeep copy

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): SeismicWidget

Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.disconnectStyle


disconnectTool

disconnectTool(tool): SeismicWidget

Disconnect the tool from the widget

Parameters

Name Type Description
toolAbstractTool | AbstractTool[]tool to disconnect

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.disconnectTool


dispose

dispose(): void

Disposes this node, once disposes a node should not be used anymore.
Clear all listeners, and disconnect styles to avoid memory leaks.
Also aggressively 'cleanup' this node by setting some of its members to null.

Returns

void

Overrides

SeismicViewWidget.dispose


drawBorder

Protected drawBorder(localContext, bounds?): SeismicWidget

Draws a rectangle at the bounding box (in parent coordinates)

Parameters

Name Type Description
localContextRenderingContextThe local rendering context
Optional boundsRectgroup bounds

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.drawBorder


enableClipping

enableClipping(doClip): SeismicWidget

Enables or disables clipping of this node. If enabled, shapes will not be rendered outside of its bounds.

Parameters

Name Type Description
doClipbooleanenable clipping on this node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.enableClipping


enableEventPropagation

enableEventPropagation(enable): SeismicWidget

Enable event propagation from the node hierarchy from bottom to top

This option is similar to DOM Event bubbling, which allows to get any event from child node. By default it is disabled for better performance.

Example

import {Group} from '@int/geotoolkit/scene/Group';
import {Events as SceneEvents} from '@int/geotoolkit/scene/Node';
const parentGroup = new Group()
.setName('ParentGroup')
.enableEventPropagation(true);
const childGroup = new Group()
.setName('ChildGroup');

parentGroup.addChild(childGroup);
parentGroup.on(SceneEvents.Invalidate, (eventName, sender, args) => {
// Got notifications from all children of parent group
});
childGroup.invalidate();

Parameters

Name Type Description
enablebooleanenable

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.enableEventPropagation


enablePickingChildren

enablePickingChildren(enable): SeismicWidget

Enables or disables picking children

Parameters

Name Type Description
enablebooleanenable picking children

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.enablePickingChildren


endExport

endExport(options?): SeismicWidget

Used to restore object's state after exporting

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.endExport


enumerateNodes

enumerateNodes(callback, target?): void

Executes a provided function once for each child node

Parameters

Name Type Description
callbackCallback<Node>provided function
Optional targetQueryBuilder<any>target to pass to callback as a second parameter

Returns

void

Inherited from

SeismicViewWidget.enumerateNodes


execute

execute(delegate): SeismicWidget

Executes delegate and return the result. It allows us to keep all initialization calls in one place,
and we do not need to scroll up or down in IDE to find how and where it was initialized.

Example

// All setters (.setName() for example) returns reference to the this.
// In order to modify inner object like LineStyle or Pattern, to get this object (property) we should call getter to get object reference.
// Then modify it as shown below in Option 1 or you can use execute methods shown in Option 2.
import {Group} from '@int/geotoolkit/scene/Group';
import {Rect} from '@int/geotoolkit/util/Rect';
// Option 1
const group = new Group()
.setName('MyGroup')
.setBounds(new Rect(0, 0, 42, 16))
.enableClipping(true)
.setTag({'type': 'sometype'});

group.getLineStyle().setPattern('pattern');
return group;

// Options 2 ( using execute method )
return group
.execute(function () {
this.getLineStyle()
.setPattern("pattern");
});

Parameters

Name Type Description
delegate(this: SeismicWidget) => voidFunction to execute

Returns

SeismicWidget

The result if any or this

Inherited from

SeismicViewWidget.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: SeismicWidget) => T

Returns

T

Inherited from

SeismicViewWidget.execute


exportToPdf

exportToPdf(options?): Promise<IWritable>

Exports the widget content as a PDF file, user has option to select the scale of track in pdf.

Parameters

Name Type Description
Optional optionsExportToPdfOptionsoption to specify paper parameters and header and footer

Returns

Promise<IWritable>

promise with output stream

Overrides

SeismicViewWidget.exportToPdf


filter

Protected filter(context): boolean

Filter node

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

flag filter flag ("true" to render node; "false" otherwise)

Inherited from

SeismicViewWidget.filter


fitToBounds

fitToBounds(silent?): SeismicWidget

Fit content to bounds

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.fitToBounds


fitToHeight

fitToHeight(silent?): SeismicWidget

Fit content to height

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.fitToHeight


fitToWidth

fitToWidth(silent?): SeismicWidget

Fit content to width

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.fitToWidth


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

SeismicViewWidget.getAnimationStyle


getAnnotation

getAnnotation(location): Group<Node>

Return the node at the specific annotation

Parameters

Name Type Description
locationAnnotationLocationposition to return the node for

Returns

Group<Node>

Inherited from

SeismicViewWidget.getAnnotation


getAutoModelLimitsMode

getAutoModelLimitsMode(): boolean

Get Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds

Returns

boolean

mode

Inherited from

SeismicViewWidget.getAutoModelLimitsMode


getAutoModelLimitsStrategy

getAutoModelLimitsStrategy(): ModelLimitsStrategy

Get Model Limits Logics Strategy

Returns

ModelLimitsStrategy

strategy

Inherited from

SeismicViewWidget.getAutoModelLimitsStrategy


getAuxiliaryChart

getAuxiliaryChart(): TraceHeaderChartWidget

Returns Auxiliary chart widget

Returns

TraceHeaderChartWidget


getBaseLayer

getBaseLayer(index): Node

Return baseLayer at specified index

Parameters

Name Type Description
indexnumberindex at which to get the baseLayer for

Returns

Node

track

Inherited from

SeismicViewWidget.getBaseLayer


getBaseLayers

getBaseLayers<S>(predicate, modify?): Iterator<Node>

Return iterator by baseLayers nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

SeismicViewWidget.getBaseLayers

getBaseLayers(filter?, modify?): Iterator<Node>

Returns an iterator for child baseLayers. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

SeismicViewWidget.getBaseLayers


getBaseLayersCount

getBaseLayersCount(): number

Returns amount of baseLayers

Returns

number

Inherited from

SeismicViewWidget.getBaseLayersCount


getBounds

getBounds(): Rect

Get the bounds in the parents model space. If bounds are not set, then parent model limits are used.

Returns

Rect

current bounds

Inherited from

SeismicViewWidget.getBounds


getCache

getCache(): Cache

Return cache strategy to be used to cache children nodes

Returns

Cache

cache

Inherited from

SeismicViewWidget.getCache


getChild

getChild(i): Node

Return node by index

Parameters

Name Type Description
inumberindex of the node

Returns

Node

Inherited from

SeismicViewWidget.getChild


getChildren

getChildren<S>(predicate, modify?): Iterator<S>

Return iterator by child nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<S>

Inherited from

SeismicViewWidget.getChildren

getChildren(filter?, modify?): Iterator<Node>

Returns an iterator for child nodes. The iterator does not support adding or deleting items from children by default. If it is necessary to modify a collection of children, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getChildren(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all nodes if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child nodes.

Inherited from

SeismicViewWidget.getChildren


getChildrenCount

getChildrenCount(): number

Return number of child nodes

Returns

number

Inherited from

SeismicViewWidget.getChildrenCount


getClassName

getClassName(): string

Returns

string

Inherited from

SeismicViewWidget.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

SeismicViewWidget.getClipStyle


getCollectPerformanceInformation

getCollectPerformanceInformation(): boolean

Gets collect performance information mode enabled

Returns

boolean

true if collection performance information mode enabled

Inherited from

SeismicViewWidget.getCollectPerformanceInformation


getColorBarPipeline

getColorBarPipeline(): SeismicPipeline

Return pipeline to be used for colorbar

Returns

SeismicPipeline

Seismic Pipeline

Inherited from

SeismicViewWidget.getColorBarPipeline


getContentOrientation

getContentOrientation(): Orientation

Return content orientation

Returns

Orientation

content orientation

Inherited from

SeismicViewWidget.getContentOrientation


getContentsArea

getContentsArea(transformation?): Rect

Return area without paddings. Model limits are mapped to content area, where children are layout.

Parameters

Name Type Description
Optional transformationTransformationscene transformation

Returns

Rect

Inherited from

SeismicViewWidget.getContentsArea


getContentsTransform

getContentsTransform(): Transformation

getContentsTransform() retrieves the world transformation of the node.

Returns

Transformation

transformation from model coordinates to bounds of the group

Inherited from

SeismicViewWidget.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

SeismicViewWidget.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

SeismicViewWidget.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

SeismicViewWidget.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

SeismicViewWidget.getCssTransform


getData

getData(getDataOptions?): DataOptionsOut

Get widget options

Parameters

Name Type Description
Optional getDataOptionsObjectoptional parameter to specify additional request to get colormap
Optional getDataOptions.no-databoolean

Returns

DataOptionsOut

options

Inherited from

SeismicViewWidget.getData


getDesiredHeight

getDesiredHeight(): string | number

Returns desired height of the group as a layoutable object This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired height ("undefined" by default)

Inherited from

SeismicViewWidget.getDesiredHeight


getDesiredWidth

getDesiredWidth(): string | number

Returns desired width of the group as a layoutable object. This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired width ("undefined" by default)

Inherited from

SeismicViewWidget.getDesiredWidth


getDeviceLimits

getDeviceLimits(): Rect

Return device limits

Returns

Rect

Inherited from

SeismicViewWidget.getDeviceLimits


getExportElement

getExportElement(options?): CompositeDocumentElement

Returns exportable element

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

CompositeDocumentElement

return exportable element

Overrides

SeismicViewWidget.getExportElement


getFillStyle

getFillStyle(): FillStyle

Return fill style

Returns

FillStyle

fillStyle current fill style

Inherited from

SeismicViewWidget.getFillStyle


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

SeismicViewWidget.getId


getInfiniteMode

getInfiniteMode(): boolean

Return infinity mode flag

Returns

boolean

flag

Inherited from

SeismicViewWidget.getInfiniteMode


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

SeismicViewWidget.getInvalidateMethod


getLayout

getLayout(): Layout

Returns layout associated with the group

Returns

Layout

layout

Inherited from

SeismicViewWidget.getLayout


getLayoutStyle

getLayoutStyle(): LayoutStyle<string | number>

return desired layout style

Returns

LayoutStyle<string | number>

Inherited from

SeismicViewWidget.getLayoutStyle


getLineStyle

getLineStyle(): LineStyle

Return border style

Returns

LineStyle

Inherited from

SeismicViewWidget.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

SeismicViewWidget.getLocalTransform


getManipulatorLayer

getManipulatorLayer(): Layer<Node>

Return manipulator layer

Returns

Layer<Node>

Inherited from

SeismicViewWidget.getManipulatorLayer


getManipulatorType

getManipulatorType(): ManipulatorType

Returns active manipulator type

Returns

ManipulatorType

Inherited from

SeismicViewWidget.getManipulatorType


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

SeismicViewWidget.getMarginsStyle


getModel

getModel(): Group<Node>

Returns the seismic model node

Returns

Group<Node>

Inherited from

SeismicViewWidget.getModel


getModelLimits

getModelLimits(): Rect

Gets model limits, the limits of this groups inside space

Returns

Rect

the current model limits

Inherited from

SeismicViewWidget.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

SeismicViewWidget.getName


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

SeismicViewWidget.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

SeismicViewWidget.getOpacityBlendMode


getOptions

getOptions(): OptionsBaseOut

Returns current widget options

Returns

OptionsBaseOut

options see SeismicWidget.getProperties

Overrides

SeismicViewWidget.getOptions


getOrientation

getOrientation(): Orientation

Returns seismic trace orientation

Returns

Orientation

seismic trace orientation

Inherited from

SeismicViewWidget.getOrientation


getOverlay

getOverlay(index): Node

Return overlay at specified index

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

SeismicViewWidget.getOverlay


getOverlayAt

getOverlayAt(index): Node

Return overlay at specified index

Deprecated

since 4.2 use getOverlay instead

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

SeismicViewWidget.getOverlayAt


getOverlayLayer

getOverlayLayer(): Layer<Node>

Returns manipulator overlay to draw shapes that should move with the model

Returns

Layer<Node>

Inherited from

SeismicViewWidget.getOverlayLayer


getOverlays

getOverlays<S>(predicate, modify?): Iterator<Node>

Return iterator by overlays nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

SeismicViewWidget.getOverlays

getOverlays(filter?, modify?): Iterator<Node>

Returns an iterator for child overlays. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

SeismicViewWidget.getOverlays


getOverlaysCount

getOverlaysCount(): number

Returns amount of overlays

Returns

number

Inherited from

SeismicViewWidget.getOverlaysCount


getPaddingStyle

getPaddingStyle(): SpaceStyle<string | number>

Return padding style

Returns

SpaceStyle<string | number>

padding

Inherited from

SeismicViewWidget.getPaddingStyle


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

SeismicViewWidget.getParent


getPipeline

getPipeline(): SeismicPipeline

returns active pipeline

Returns

SeismicPipeline

pipeline

Inherited from

SeismicViewWidget.getPipeline


getPreferredSize

getPreferredSize(): Rect

Return preferred size to layout children

Returns

Rect

Inherited from

SeismicViewWidget.getPreferredSize


getProperties

getProperties(context?): OptionsOut

Gets all the properties pertaining to this object

Parameters

Name Type Description
Optional contextISerializationContextserialization context

Returns

OptionsOut

properties object

Overrides

SeismicViewWidget.getProperties


getProperty

getProperty(name): any

Gets dynamic property by name. These properties can be used as a property bags

Parameters

Name Type Description
namestringproperty name

Returns

any

Inherited from

SeismicViewWidget.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

SeismicViewWidget.getPropertyKeys


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

SeismicViewWidget.getRenderingFilter


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

SeismicViewWidget.getResponsiveStyle


getRoot

getRoot(): Node

Returns root node.
If node doesn't have parent then it returns itself.

Returns

Node

the root node

Inherited from

SeismicViewWidget.getRoot


getScaleOptions

getScaleOptions(): Required<ScaleOptions>

Returns scale options.

Returns

Required<ScaleOptions>

object

Inherited from

SeismicViewWidget.getScaleOptions


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

SeismicViewWidget.getScaleScrollStrategy


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

SeismicViewWidget.getSceneTransform


getSeismicImage

getSeismicImage(): SeismicImage

return active seismic image

Returns

SeismicImage

Inherited from

SeismicViewWidget.getSeismicImage


getSeismicModel

getSeismicModel(): Group<Node>

Returns the group, which contains seismic images

Returns

Group<Node>

Inherited from

SeismicViewWidget.getSeismicModel


getSeismicModelLimits

getSeismicModelLimits(): Rect

return seismic model limits

Returns

Rect

Inherited from

SeismicViewWidget.getSeismicModelLimits


getTableHeaders

getTableHeaders(): "*" | Header[]

Returns preferred headers array(or string) that are displaying in table widget

Returns

"*" | Header[]

can be '*' or array of objects with 'identifier', 'name' and 'title' property


getTableTraceFilter

getTableTraceFilter(): FilterCallback

Get table trace filter

Returns

FilterCallback

filter


getTableView

getTableView(): TraceHeaderViewWidget

Returns Trace header table widget

Returns

TraceHeaderViewWidget


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Inherited from

SeismicViewWidget.getTag


getTitle

getTitle(): Title

Gets widget title

Returns

Title

title

Inherited from

SeismicViewWidget.getTitle


getTool

getTool(): CompositeTool

Returns root tool associated to this widget

Returns

CompositeTool

Inherited from

SeismicViewWidget.getTool


getToolByName

getToolByName<T>(toolName): Tools[T]

Returns the tool matching the given name.
This function also accepts tool 'path' instead of absolute name.
For example:
getToolByName("compositeTool.panningTools.trackPanning.TrackPanning")
Would return the same tool as
getToolByName("TrackPanning")
As long as there is only one tool named "TrackPanning" in this composite
See listToolsNames()

Type parameters

NameType
Textends string

Parameters

Name Type Description
toolNameTThe tool name or path

Returns

Tools[T]

Inherited from

SeismicViewWidget.getToolByName


getToolByType

getToolByType(toolType): AbstractTool

Returns the tool matching the given type. or null if nothing is matching the tool type
For example:
getToolByType(geotoolkit.controls.tools.Selection)
Would return the same tool as
getToolByName("pick")

Parameters

Name Type Description
toolTypeClassType<any>toolType of the tool

Returns

AbstractTool

Inherited from

SeismicViewWidget.getToolByType


getTraceHeader

getTraceHeader(headerName): FieldDesc

Returns header description, if header exists

Parameters

Name Type Description
headerNamestringheader name

Returns

FieldDesc

header description

Inherited from

SeismicViewWidget.getTraceHeader


getTraceHeaderAxis

getTraceHeaderAxis(headerField): TraceHeaderAxis

Returns information about shapes like axis and labels associated with the header

Parameters

Name Type Description
headerFieldFieldDesc | "TraceNumber"header field description, accept only 'TraceNumber' as a string

Returns

TraceHeaderAxis

helper, information about shapes associated with header

Inherited from

SeismicViewWidget.getTraceHeaderAxis


getTraceHeaderVisible

getTraceHeaderVisible(headerField): boolean

Check if the trace header is visible

Parameters

Name Type Description
headerFieldFieldDesc | "TraceNumber"field to check visibility, accept only 'TraceNumber' as a string

Returns

boolean

Inherited from

SeismicViewWidget.getTraceHeaderVisible


getTraceHeaders

getTraceHeaders(): string[]

Returns the array of available headers

Returns

string[]

array of available headers

Inherited from

SeismicViewWidget.getTraceHeaders


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Inherited from

SeismicViewWidget.getVisible


getVisibleDeviceLimits

getVisibleDeviceLimits(ignoreModelLimits?): Rect

Return visible device limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

SeismicViewWidget.getVisibleDeviceLimits


getVisibleModelLimits

getVisibleModelLimits(ignoreModelLimits?): Rect

Return visible model limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

SeismicViewWidget.getVisibleModelLimits


getVisibleSeismicDeviceLimits

getVisibleSeismicDeviceLimits(): Rect

return seismic model limits

Returns

Rect

Inherited from

SeismicViewWidget.getVisibleSeismicDeviceLimits


getVisibleSeismicModelLimits

getVisibleSeismicModelLimits(ignoreModelLimits?): Rect

Returns seismic visible model limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore model limits or not. By default this option is false and visible limits will be intersected with model limits of the seismic

Returns

Rect

Inherited from

SeismicViewWidget.getVisibleSeismicModelLimits


getWidgetTools

getWidgetTools(): AbstractCompositeTool

Return widgets tool

Returns

AbstractCompositeTool

Inherited from

SeismicViewWidget.getWidgetTools


getWorldTransform

getWorldTransform(): Transformation

Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.

Returns

Transformation

Inherited from

SeismicViewWidget.getWorldTransform


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

SeismicViewWidget.getZIndex


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

SeismicViewWidget.hasCssClass


hasEventListener

hasEventListener(type, callback?): boolean

Check if a list of event listeners for this type contains this listener

Parameters

Name Type Description
typestringtype of event or property
Optional callbackFunctionto be called, if null, check if any callback is registered

Returns

boolean

Inherited from

SeismicViewWidget.hasEventListener


indexOfBaseLayer

indexOfBaseLayer(baseLayer): number

Return index of overlay ( index of the specified child or -1 if baseLayer is not found)

Parameters

Name Type Description
baseLayerNodebaseLayer to check index

Returns

number

Inherited from

SeismicViewWidget.indexOfBaseLayer


indexOfChild

indexOfChild(node): number

Return index of child ( index of the specified child or -1 if node is not found)

Parameters

Name Type Description
nodeNodenode to check index

Returns

number

Inherited from

SeismicViewWidget.indexOfChild


indexOfOverlay

indexOfOverlay(overlay): number

Return index of overlay ( index of the specified child or -1 if overlay is not found)

Parameters

Name Type Description
overlayNodeoverlay to check index

Returns

number

Inherited from

SeismicViewWidget.indexOfOverlay


initializeTools

Protected initializeTools(options?): SeismicWidget

function call in the constructor to initialize tools in the widget

Parameters

Name Type Description
Optional optionsToolsOptionstools options

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.initializeTools


insertBaseLayer

insertBaseLayer(index, baseLayer): SeismicWidget

Insert child baseLayer at specified index

Parameters

Name Type Description
indexnumberspecified index
baseLayerNodea baseLayer to add

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.insertBaseLayer


insertChild

insertChild(index, node): SeismicWidget

Insert child node at specified index

Parameters

Name Type Description
indexnumberspecified index
nodeNodea child node to add

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.insertChild


insertOverlay

insertOverlay(index, overlay): SeismicWidget

Insert child overlay at specified index

Parameters

Name Type Description
indexnumberspecified index
overlayNodea overlay to add

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.insertOverlay


invalidate

invalidate(bounds?, force?): SeismicWidget

Invalidate node

Parameters

Name Type Description
Optional boundsRectoptional rectangular area to be invalidated, or force flag if rectangle is empty
Optional forcebooleanoptional boolean parameter that can force invalidation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.invalidate


invalidateLayout

invalidateLayout(propagate?): SeismicWidget

Notify that layout is invalidated. Send event Events.LayoutInvalidated

Parameters

Name Type Description
Optional propagatebooleanpropagate invalidate layout to parent

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.invalidateLayout


invalidateParent

invalidateParent(bounds?, force?): SeismicWidget

Invalidate parent area

Parameters

Name Type Description
Optional boundsRectarea to invalidate
Optional forcebooleanforce

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.invalidateParent


isClippingEnabled

isClippingEnabled(): boolean

Returns if clipping is enabled or not for this node.

Returns

boolean

Inherited from

SeismicViewWidget.isClippingEnabled


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

SeismicViewWidget.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

SeismicViewWidget.isEventPropagationEnabled


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

flip

Inherited from

SeismicViewWidget.isHorizontalFlip


isLayoutInvalidated

isLayoutInvalidated(): boolean

Return true if layout is invalid

Returns

boolean

Inherited from

SeismicViewWidget.isLayoutInvalidated


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

SeismicViewWidget.isNotificationEnabled


isPickingChildrenEnabled

isPickingChildrenEnabled(): boolean

Returns if picking children is enabled or not for this node.

Returns

boolean

pickingChildren

Inherited from

SeismicViewWidget.isPickingChildrenEnabled


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

SeismicViewWidget.isSelectable


isSilent

isSilent(): boolean

Return true if the event dispatcher doesn't notify any events

Returns

boolean

Inherited from

SeismicViewWidget.isSilent


isVerticalFlip

isVerticalFlip(): boolean

Return true if the representation is flipped vertically

Returns

boolean

flip

Inherited from

SeismicViewWidget.isVerticalFlip


listToolsNames

listToolsNames(): string[]

List all the tools contained in this composite. Prepend their parent tools parent using a '.'.

Returns

string[]

Inherited from

SeismicViewWidget.listToolsNames


loadTemplate

loadTemplate(template, registry?): void

Load template loads the saved visual properties of the current template. It is only a visual representation of the current widget. It does not contain any data

Parameters

Name Type Description
templatestringtemplate to be applied to current widget
Optional registryRegistryregistry

Returns

void

Inherited from

SeismicViewWidget.loadTemplate


moveTo

moveTo(area, vAlign?, hAlign?): SeismicWidget

MoveTo position of node to specified area

Parameters

Name Type Description
areaRectspecified area
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center".

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.moveTo


notify

notify<E>(type, source, args?): SeismicWidget

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event
sourceSeismicWidgetsource who called the event
Optional argsEventMap[E]event arguments

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.notify


notifyRoot

Protected notifyRoot(event, source, args?): Node

Notify an even to root node

Parameters

Name Type Description
eventstringtype of event
sourceNodesource who called the event
Optional argsanyevent arguments

Returns

Node

this

Inherited from

SeismicViewWidget.notifyRoot


notifyStateChanged

notifyStateChanged(): void

Invalidate node

Deprecated

4.0. Not use this method.

Returns

void

Inherited from

SeismicViewWidget.notifyStateChanged


off

off<E>(type?, callback?): SeismicWidget

Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
Optional typeEtype of the event
Optional callback(eventType: E, sender: SeismicWidget, args: EventMap[E]) => voidfunction to be called

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.off


on

on<E>(type, callback): SeismicWidget

Attach listener on event that will be called whenever the specified event is delivered to the target

If the callback function is already in the list of event listeners for this target, the function is not added a second time.

If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event or property
callback(eventType: E, sender: SeismicWidget, args: EventMap[E]) => voidto be called

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.on


onBoundsChanged

Protected onBoundsChanged(bounds): SeismicWidget

Occurs when bounds has been changed

Parameters

Name Type Description
boundsRectbound of the node in the parent coordinates

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.onBoundsChanged


onChildAdded

Protected onChildAdded(child): void

This method is called it child or children are added

Parameters

Name Type Description
childNode | Iterator<Node>added child

Returns

void

Inherited from

SeismicViewWidget.onChildAdded


onChildRemoved

Protected onChildRemoved(child): void

This method is called it child or children are removed

Parameters

Name Type Description
childNoderemoved child

Returns

void

Inherited from

SeismicViewWidget.onChildRemoved


onColorBarLocationChanged

Protected onColorBarLocationChanged(): void

Returns

void

Inherited from

SeismicViewWidget.onColorBarLocationChanged


onOrientationChanged

Protected onOrientationChanged(): SeismicWidget

Returns

SeismicWidget

Inherited from

SeismicViewWidget.onOrientationChanged


onParentChanged

Protected onParentChanged(node): SeismicWidget

This method is called when parent changes. Do not call it directly.

Parameters

Name Type Description
nodeNodenode to change parent

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

This method is called if visibility is changed. Send event Events.VisibilityChanged

Returns

void

Inherited from

SeismicViewWidget.onVisibilityChanged


postRendering

Protected postRendering(context, callback?): void

To be called after rendering, used for PDF output

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering

Returns

void

Inherited from

SeismicViewWidget.postRendering


preRendering

Protected preRendering(context, callback?): void

Occurs before child rendering

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering of geometry

Returns

void

Inherited from

SeismicViewWidget.preRendering


rebuild

rebuild(force?, changes?): SeismicWidget

Rebuild node. This method resets state, cache, and invalidate node.

Parameters

Name Type Description
Optional forcebooleanoptional boolean parameter that can force invalidation
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.rebuild


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

SeismicViewWidget.registerAnimationStyle


removeBaseLayer

removeBaseLayer(baseLayer): SeismicWidget

Remove child baseLayer

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer or array of nodes to be removed

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.removeBaseLayer


removeChild

removeChild(node, disposeChildren?): SeismicWidget

Remove child node

Parameters

Name Type Description
nodeNode | Node[]node or array of nodes to be removed
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.removeChild


removeCssClass

removeCssClass(cssclass): SeismicWidget

Removes css class from node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.removeCssClass


removeHeaderChart

removeHeaderChart(headerName): SeismicWidget

Remove header

Parameters

Name Type Description
headerNamestringtrace header name

Returns

SeismicWidget

this


removeInvalidateHandler

removeInvalidateHandler(handler): SeismicWidget

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.removeInvalidateHandler


removeOverlay

removeOverlay(overlay): SeismicWidget

Remove child overlay

Parameters

Name Type Description
overlayNode | Node[]overlay or array of nodes to be removed

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.removeOverlay


removeStateChangedHandler

removeStateChangedHandler(handler): void

Remove invalidate handler

Deprecated

4.0. Not use this method.

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

void

Inherited from

SeismicViewWidget.removeStateChangedHandler


render

render(context): void

Render group

Parameters

Name Type Description
contextRenderingContextcontext to render group

Returns

void

Inherited from

SeismicViewWidget.render


renderAsync

renderAsync(context, callback): void

Render node in asynchronous mode. This implementation doesn't support cache for now.

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function

Returns

void

Inherited from

SeismicViewWidget.renderAsync


renderBackground

Protected renderBackground(context, bounds): SeismicWidget

Render background

Parameters

Name Type Description
contextRenderingContextcontext to render background
boundsRectgroup bounds

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.renderBackground


renderBaseLayers

Protected renderBaseLayers(context): SeismicWidget

Render baseLayers on bottom of cache. This method does nothing, but can be implemented to render graphics on bottom of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render baseLayers

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.renderBaseLayers


renderBaseLayersAsync

Protected renderBaseLayersAsync(context, callback): void

Render baseLayers on bottom of cache in asynchronous mode. This method calls renderBaseLayers

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

SeismicViewWidget.renderBaseLayersAsync


renderChildren

Protected renderChildren(context): void

Render children

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

SeismicViewWidget.renderChildren


renderChildrenAsync

Protected renderChildrenAsync(context, callback): void

Render children async

Parameters

Name Type Description
contextRenderingContextRendering Context
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

SeismicViewWidget.renderChildrenAsync


renderContent

Protected renderContent(context): void

render to specified context. This method calls preRendering, renderChildren, postRendering

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

SeismicViewWidget.renderContent


renderContentAsync

Protected renderContentAsync(context, callback): void

Render children in asynchronous mode

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

SeismicViewWidget.renderContentAsync


renderOverlays

Protected renderOverlays(context): SeismicWidget

Render overlays on top of cache. This method does nothing, but can be implemented to render graphics on top of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render overlays

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.renderOverlays


renderOverlaysAsync

Protected renderOverlaysAsync(context, callback): void

Render overlays on top of cache in asynchronous mode. This method calls renderOverlays

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

SeismicViewWidget.renderOverlaysAsync


resetZoom

resetZoom(): SeismicWidget

Reset zoom

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.resetZoom


resumeUpdate

resumeUpdate(rebuild?, changes?): SeismicWidget

Resume auto update

Parameters

Name Type Description
Optional rebuildbooleanforce rebuild
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.resumeUpdate


rotate

rotate(theta, x, y): SeismicWidget

Rotate bounds around a given coordinate

Parameters

Name Type Description
thetanumberangle to rotate node, in radians
xnumberx coordinate to rotate around
ynumbery coordinate to rotate around

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.rotate


saveTemplate

saveTemplate(registry?): string

Save template saves visual properties of the current template. It is only a visual representation of the current widget. It does not contain any data

Parameters

Name Type Description
Optional registryRegistryregistry

Returns

string

Inherited from

SeismicViewWidget.saveTemplate


scale

scale(scaleX, scaleY, silent?): SeismicWidget

scale seismic model

Parameters

Name Type Description
scaleXnumberscale factor by horizontal axis
scaleYnumberscale factor by vertical axis
Optional silentbooleanupdate view

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.scale


setAnimationStyle

setAnimationStyle(animationStyle): SeismicWidget

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setAnimationStyle


setAnnotationSize

setAnnotationSize(annotationSize?): SeismicWidget

apply size (width or height) to annotation (convenience method)

Example

widget.setAnnotationSize(
{
'west' : 50,
'east' : '10%'
});

Parameters

Name Type Description
Optional annotationSizeAnnotationSizeJSON to hold (width or height) of the annotation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setAnnotationSize


setAutoModelLimitsMode

setAutoModelLimitsMode(mode): SeismicWidget

Set Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds. This is convenient method. It creates AutoModelLimitsStrategy

Parameters

Name Type Description
modebooleanModel Limits Logics to be used

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setAutoModelLimitsMode


setAutoModelLimitsStrategy

setAutoModelLimitsStrategy(strategy): SeismicWidget

Set Model Limits Logics Strategy

Parameters

Name Type Description
strategyModelLimitsStrategyModel Limits logic strategy to use

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setAutoModelLimitsStrategy


setBounds

setBounds(bounds): SeismicWidget

Sets bounds of the node in the parent coordinates

Parameters

Name Type Description
boundsRect | Optionsbound of the node in the parent coordinates

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setBounds


setCache

setCache(cache, rebuild?): SeismicWidget

Sets cache to be used to cache

Parameters

Name Type Description
cacheCachecache to be used
Optional rebuildbooleanrebuild cache

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setCache


setChild

setChild(index, node): SeismicWidget

Replace child node by index

Parameters

Name Type Description
indexnumberindex of the node
nodeNodenode

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setChild


setClipStyle

setClipStyle(style): SeismicWidget

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setClipStyle


setCollectPerformanceInformation

setCollectPerformanceInformation(collectPerformanceInfoEnabled): SeismicWidget

Sets collect performance information mode enabled

Parameters

Name Type Description
collectPerformanceInfoEnabledbooleantrue for collection performance information mode enabled

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setCollectPerformanceInformation


setColorBarPipeline

setColorBarPipeline(pipeline): SeismicWidget

Set pipeline to set colorbar parameters. if it is null then getPipeline is used

Example

// How to set up a new pipeline for colorbar different from main pipeline
widget.setColorBarPipeline(secondPipeline);

Parameters

Name Type Description
pipelineSeismicPipelineSeismic Pipeline

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setColorBarPipeline


setContentOrientation

setContentOrientation(orientation): SeismicWidget

Set content orientation

Parameters

Name Type Description
orientationOrientationcontent orientation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setContentOrientation


setCss

setCss(style, merge?): SeismicWidget

Sets CSS style. This style will be applied for all inserted elements

Parameters

Name Type Description
styleTypeCSS style to be applied to inserted elements
Optional mergebooleanmerge flag

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setCss


setCssClass

setCssClass(name): SeismicWidget

Sets css class name of the node to be used to apply CSS style

Parameters

Name Type Description
namestringcss class name of the node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setCssClass


setCssTransform

setCssTransform(transform): SeismicWidget

Set CSS transformation

Parameters

Name Type Description
transformstring | Transformationtransformation css transformation instruction or Transformation instance

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setCssTransform


setData

setData(options): SeismicWidget

Sets options and/or data

Parameters

Name Type Description
optionsDataOptionsoptions

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setData


setDesiredHeight

setDesiredHeight(value, silent?): SeismicWidget

Sets desired height of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired height to set, use 'auto' for automatic desired height
Optional silentbooleansilent setting

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setDesiredHeight


setDesiredWidth

setDesiredWidth(value, silent?): SeismicWidget

Sets desired width of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired width to set
Optional silentbooleansilent setting

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setDesiredWidth


setFillStyle

setFillStyle(fillStyle, merge?): SeismicWidget

Sets fill style

Parameters

Name Type Description
fillStyleTypea new fill style
Optional mergebooleantrue if you want to merge fillStyle with existing attribute, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setFillStyle


setHorizontalFlip

setHorizontalFlip(enable): SeismicWidget

Set horizontal flip of the representation

Parameters

Name Type Description
enablebooleanenable flip

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setHorizontalFlip


setId

setId(id): SeismicWidget

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setId


setInfiniteMode

setInfiniteMode(infinityMode): SeismicWidget

Set infinity mode flag to draw composite without collision check

Parameters

Name Type Description
infinityModebooleaninfinity mode flag

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setInfiniteMode


setLayout

setLayout(layout): SeismicWidget

Associate layout with a group.

Parameters

Name Type Description
layoutRecord<string, any> | Layoutlayout instance to be set or layout properties to apply

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setLayout


setLayoutInvalidated

Protected setLayoutInvalidated(invalidated): void

Set invalidation status

Parameters

Name Type Description
invalidatedbooleaninvalidated layout

Returns

void

Inherited from

SeismicViewWidget.setLayoutInvalidated


setLayoutStyle

setLayoutStyle(layoutStyle, silent?, merge?): SeismicWidget

specify desired layout style

Parameters

Name Type Description
layoutStyleLayoutStyle<string | number> | Options<string | number>desired layout style
Optional silentbooleansilent setting
Optional mergebooleantrue if you want to merge layoutStyle with existing attribute, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setLayoutStyle


setLineStyle

setLineStyle(lineStyle, merge?): SeismicWidget

Sets border color Returns this

Parameters

Name Type Description
lineStyleTypeline style or options
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): SeismicWidget

Sets local transformation to be used to transform from local to parent coordinate

Parameters

Name Type Description
localTransformTransformationlocal transformation for this node
Optional forcebooleanboolean flag to force update event if transformations are equal, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setLocalTransform


setManipulatorType

setManipulatorType(manipulatorType, active?): SeismicWidget

Set active manipulator type

Parameters

Name Type Description
manipulatorTypeManipulatorTypeenum of of Manipulator type. Panning tool, RubberBand tool, magnifier tool and picking tool.
Optional activebooleanstate

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setManipulatorType


setMarginsStyle

setMarginsStyle(margins, merge?): SeismicWidget

Sets margins style

Parameters

Name Type Description
marginsType<string | number>margins style
Optional mergebooleantrue if you want to merge marginsStyle with existing attribute, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setMarginsStyle


setModelLimits

setModelLimits(limits): SeismicWidget

Sets inner model limits

Parameters

Name Type Description
limitsTypeinner limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setModelLimits


setName

setName(name): SeismicWidget

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setName


setNoDataStrategy

setNoDataStrategy(strategy): SeismicWidget

Sets function

Parameters

Name Type Description
strategy() => Shapefunction should returns Shape in this.getModel().getModelLimits() bounds

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setNoDataStrategy


setNotification

setNotification(notify, force?): SeismicWidget

set notification state

Parameters

Name Type Description
notifybooleanflag set to invalidate parent or not
Optional forcebooleantrue if parent should be invalidated immediately

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setNotification


setOpacity

setOpacity(opacity, blendMode?): SeismicWidget

Sets node opacity

Parameters

Name Type Description
opacitynumbernode opacity from 0 to 1
Optional blendModeBlendModeopacity blend mode. If it is normal, opacity will be replaced.

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setOpacity


setOptions

setOptions(options): SeismicWidget

Set widget options

Parameters

Name Type Description
optionsOptionsBaseoptions see SeismicWidget.setProperties

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.setOptions


setOrientation

setOrientation(orientation, keepVisibleModelLimits?): SeismicWidget

Set seismic trace orientation

Parameters

Name Type Description
orientationOrientationseismic orientation
Optional keepVisibleModelLimitsbooleankeep visible model limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setOrientation


setPaddingStyle

setPaddingStyle(paddingStyle, merge?): SeismicWidget

Sets padding style

Parameters

Name Type Description
paddingStyleType<string | number>padding style
Optional mergebooleantrue if you want to merge paddingStyle with existing attribute, false by default

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setPaddingStyle


setPipeline

setPipeline(pipeline, resetTransformation?): SeismicWidget

Set pipeline for image, colorbar and other components

Parameters

Name Type Description
pipelineSeismicPipelineSeismic Pipeline
Optional resetTransformationbooleanreset transformation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setPipeline


setProperties

setProperties(properties?): SeismicWidget

Sets all the properties pertaining to this object

Example

// To modify the y axis properties.
widget.setProperties({
'axes': {
'samples': {
'ticks': {
'labelstyles': {
'major': {
'color': 'blue'
}
}
}
}
}
}
// To modify the x axis (trace axis):
var axis = seismicwidget.getTraceHeaderAxis('TraceNumber')['axis'];
// setting label color
axis.getTickGenerator().getLabelStyle(grade).setColor(color);
// setting font
axis.getTickGenerator().getLabelStyle(grade).setFont(font)

Parameters

Name Type Description
Optional propertiesOptionsseismic view options

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.setProperties


setProperty

setProperty(name, value): SeismicWidget

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setProperty


setRenderingFilter

setRenderingFilter(filter): SeismicWidget

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setRenderingFilter


setResponsiveStyle

setResponsiveStyle(style): SeismicWidget

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setResponsiveStyle


setSamplesTitle

setSamplesTitle(title): SeismicWidget

Set samples title

Parameters

Name Type Description
titlestring | Titletitle

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setSamplesTitle


setScaleOptions

setScaleOptions(scaleOptions, saveViewPoint?): SeismicWidget

Sets scale options. If setScaleOption() is not set, the SeismicImage assumes a default .

Parameters

Name Type Description
scaleOptionsScaleOptionsscale options
Optional saveViewPointbooleanif true, scale relative to the center visible limits

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setScaleOptions


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): SeismicWidget

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setScaleScrollStrategy


setSeismicModelLimits

setSeismicModelLimits(limits): SeismicWidget

Sets seismic model limits if auto seismic model limits is off

Parameters

Name Type Description
limitsRectmodel limits

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setSeismicModelLimits


setSeismicModelTransformation

setSeismicModelTransformation(transformation): SeismicWidget

Attempts to set local transformation for the seismic model.

Parameters

Name Type Description
transformationTransformationtransformation to set

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setSeismicModelTransformation


setSelectable

setSelectable(selectable): SeismicWidget

Allows to select node. If node is not selectable then child node is not selectable.

Parameters

Name Type Description
selectablebooleanflag to allow node selection

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setSelectable


setSilent

setSilent(bool): SeismicWidget

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setSilent


setTableHeaders

setTableHeaders(headers): SeismicWidget

Set subset of header fields to be displayed in table widget

Parameters

Name Type Description
headersstring[] | "*" | FieldDesc[] | { title: string }[]array of header names, string contains header names divided by '|', or '*'

Returns

SeismicWidget


setTableTraceFilter

setTableTraceFilter(filter): SeismicWidget

Set table trace filter

Parameters

Name Type Description
filterFilterCallbackfilter

Returns

SeismicWidget

this


setTag

setTag(tag): SeismicWidget

Allows the user to associate any arbitrary object with the node.

Parameters

Name Type Description
taganyThe object to be associated with the node.

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setTag


setTitle

setTitle(title): SeismicWidget

Set widget title

Parameters

Name Type Description
titleTitletitle

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setTitle


setTool

Protected setTool(tool): SeismicWidget

Set root tool associated to this widget

Parameters

Name Type Description
toolCompositeTooltool to be set

Returns

SeismicWidget

Inherited from

SeismicViewWidget.setTool


setToolsOptions

setToolsOptions(options): SeismicWidget

Set tools options

Parameters

Name Type Description
optionsToolsOptionstools options

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setToolsOptions


setTraceHeaderVisible

setTraceHeaderVisible(headerField, visible): TraceHeaderAxis

This method shows or hides the header

Parameters

Name Type Description
headerFieldFieldDesc | "TraceNumber"field, accept only 'TraceNumber' as a string
visiblebooleanheader visibility

Returns

TraceHeaderAxis

helper, information about shapes associated with header

Inherited from

SeismicViewWidget.setTraceHeaderVisible


setVerticalFlip

setVerticalFlip(flip): SeismicWidget

Set vertical flip of the representation

Parameters

Name Type Description
flipbooleanflag to set the vertical flip of the representation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setVerticalFlip


setVisible

setVisible(value): SeismicWidget

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setVisible


setVisibleModelLimits

setVisibleModelLimits(visibleModelBounds, deviceBounds?): SeismicWidget

Set visible model limits

Parameters

Name Type Description
visibleModelBoundsRectvisible model limits or bounds
Optional deviceBoundsRectdevice bounds

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setVisibleModelLimits


setVisibleSeismicModelLimits

setVisibleSeismicModelLimits(visibleModelLimits, silent?): SeismicWidget

Set visible model limits

Parameters

Name Type Description
visibleModelLimitsRectnew visible model limits
Optional silentbooleannotification to listener on or not

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setVisibleSeismicModelLimits


setZIndex

setZIndex(value): SeismicWidget

Sets z-index for node (set null for default)

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.setZIndex


shear

shear(shx, shy): SeismicWidget

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.shear


suspendUpdate

suspendUpdate(): SeismicWidget

Suspend auto update

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.suspendUpdate


toString

toString(): string

Returns a string representation of this object (generally the classname)

Returns

string

A string representation

Inherited from

SeismicViewWidget.toString


translate

translate(dX, dY, silent?): SeismicWidget

translate seismic model

Parameters

Name Type Description
dXnumberoffset x
dYnumberoffset y
Optional silentbooleanupdate view

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootAnimatedNoderoot node for node

Returns

void

Inherited from

SeismicViewWidget.unregisterAnimationStyle


updateLayout

updateLayout(): SeismicWidget

This method updates the layout of the seismic widget and all its child components with new/modified settings.

Returns

SeismicWidget

this

Overrides

SeismicViewWidget.updateLayout


updateSceneTransformation

updateSceneTransformation(): SeismicWidget

Update scene transformation

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.updateSceneTransformation


updateState

updateState(regions?, changes?): SeismicWidget

Update state. These methods reset node state and update state for children. this method is useful to refresh a scene graph

Parameters

Name Type Description
Optional regionsRect[]optional array to return invalid rectangles in the parent coordinates
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.updateState


updateSuspended

updateSuspended(): boolean

Return state of suspend state

Returns

boolean

state of update

Inherited from

SeismicViewWidget.updateSuspended


updateTimeStamp

Protected updateTimeStamp(): SeismicWidget

Update time stamp to indicate that Node or Children has been changed.

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.updateTimeStamp


zoomIn

zoomIn(): SeismicWidget

Zoom in

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.zoomIn


zoomOut

zoomOut(): SeismicWidget

Zoom out

Returns

SeismicWidget

this

Inherited from

SeismicViewWidget.zoomOut


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

SeismicViewWidget.enableSceneGraphNotification


findParent

Static findParent<T>(node, classType, filter?): InstanceType<T>

Find root of the node with specified type

Type parameters

NameType
Textends Constructor<any>

Parameters

Name Type Description
nodeNodenode to start search
classTypeTtype of the class to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

InstanceType<T>

Inherited from

SeismicViewWidget.findParent

Static findParent(node, classType, filter?): Node

Find root of the node with specified type

Parameters

Name Type Description
nodeNodenode to start search
classTypestringinterface name to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

Node

Inherited from

SeismicViewWidget.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

SeismicViewWidget.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

SeismicViewWidget.isSceneGraphNotificationEnabled