Last updated

API / geotoolkit / seismic / widgets / SeismicViewWidget / SeismicViewWidget

Class: SeismicViewWidget

widgets.SeismicViewWidget.SeismicViewWidget

SeismicViewWidget is essentially a base widget specialized for seismic data display. Internally it uses classes like SeismicImage and SeismicPipeline from Seismic toolkit.
The SeismicViewWidget handles the synchronization of the model limits and display units while zooming and scrolling. The horizontal and vertical scroll bars will be displayed by default and its properties can be easily modified.
The scaling functionality from seismic image is utilized by calling get/setScaleOptions().
The widget utilizes the SeismicPipeline to manipulate the properties like Interpolation, Normalization etc.
It can display a colorbar and also change its location as needed. The widget has default tools like Crosshair but it also supports tools like:

  • panning
  • selection
  • rubberzoom
  • pinchzoom

Example

// following code shows how to create a seismic view widget using a pipeline. The {@link @int/geotoolkit/seismic/pipeline/SeismicPipeline~SeismicPipeline} is created earlier using a seismic reader.
import {SeismicViewWidget} from '@int/geotoolkit/seismic/widgets/SeismicViewWidget';
const widget = new SeismicViewWidget(
{
'pipeline': pipeline,
'layouttype': 'inside'
})
.setScaleOptions({
'tracescale': 10,
'samplescale': 50,
'deviceunit': 'in',
'sampleunit': 'ms'
});

Example

// change default scrollbars
const widget = new SeismicViewWidget({
'pipeline': pipeline,
'scroll': {
'horizontal': {
'visible': true,
'cssclass': 'horizontal-scroll',
'type': 'geotoolkit.controls.tools.scroll.HorizontalScroll'
},
'vertical': {
'visible': true,
'cssclass': 'vertical-scroll',
'type': 'geotoolkit.controls.tools.scroll.VerticalScroll'
}
}});

Example

//hide default axis ( headers)
widget.setTraceHeaderVisible('TraceNumber', false);

// or
widget.setOptions({
'axes': {
'headers': {
'fields': [
{
'name': 'TraceNumber',
'title': 'Trace Number',
'visible': false
}]
}
}
});

Example

// How to capture visible limits changed if user scrolls or scale content
import {Events as NodeEvents} from '@int/geotoolkit/scene/Node';
seismicWidget.on(NodeEvents.VisibleLimitsChanged, (event, sender, args) => {
// args[‘visibleModelLimits’]
// args[‘visibleDeviceLimits’]
});

Hierarchy

Implements

Table of contents

Constructors
Methods
addBaseLayeraddChildaddCssClass
addInvalidateHandleraddOverlayadjustPosition
applyOpacityapplyResponsiveStylebeginExport
changeBaseLayerOrderchangeChildOrderchangeOverlayOrder
checkCollisionclearBaseLayersclearCache
clearChildrenclearOverlaysclone
connectStyleconnectToolcopyConstructor
disconnectStyledisconnectTooldispose
drawBorderenableClippingenableEventPropagation
enablePickingChildrenendExportenumerateNodes
executeexportToPdffilter
fitToBoundsfitToHeightfitToWidth
getAnimationStylegetAnnotationgetAutoModelLimitsMode
getAutoModelLimitsStrategygetBaseLayergetBaseLayers
getBaseLayersCountgetBoundsgetCache
getChildgetChildrengetChildrenCount
getClassNamegetClipStylegetCollectPerformanceInformation
getColorBarPipelinegetContentOrientationgetContentsArea
getContentsTransformgetCssgetCssClass
getCssClassesgetCssTransformgetData
getDesiredHeightgetDesiredWidthgetDeviceLimits
getExportElementgetFillStylegetId
getInfiniteModegetInvalidateMethodgetLayout
getLayoutStylegetLineStylegetLocalTransform
getManipulatorLayergetManipulatorTypegetMarginsStyle
getModelgetModelLimitsgetName
getOpacitygetOpacityBlendModegetOptions
getOrientationgetOverlaygetOverlayAt
getOverlayLayergetOverlaysgetOverlaysCount
getPaddingStylegetParentgetPipeline
getPreferredSizegetPropertiesgetProperty
getPropertyKeysgetRenderingFiltergetResponsiveStyle
getRootgetScaleOptionsgetScaleScrollStrategy
getSceneTransformgetSeismicImagegetSeismicModel
getSeismicModelLimitsgetTaggetTitle
getToolgetToolByNamegetToolByType
getTraceHeadergetTraceHeaderAxisgetTraceHeaderVisible
getTraceHeadersgetVisiblegetVisibleDeviceLimits
getVisibleModelLimitsgetVisibleSeismicDeviceLimitsgetVisibleSeismicModelLimits
getWidgetToolsgetWorldTransformgetZIndex
hasCssClasshasEventListenerindexOfBaseLayer
indexOfChildindexOfOverlayinitializeTools
insertBaseLayerinsertChildinsertOverlay
invalidateinvalidateLayoutinvalidateParent
isClippingEnabledisDisposedisEventPropagationEnabled
isHorizontalFlipisLayoutInvalidatedisNotificationEnabled
isPickingChildrenEnabledisSelectableisSilent
isVerticalFliplistToolsNamesloadTemplate
moveTonotifynotifyRoot
notifyStateChangedoffon
onBoundsChangedonChildAddedonChildRemoved
onColorBarLocationChangedonOrientationChangedonParentChanged
onVisibilityChangedpostRenderingpreRendering
rebuildregisterAnimationStyleremoveBaseLayer
removeChildremoveCssClassremoveInvalidateHandler
removeOverlayremoveStateChangedHandlerrender
renderAsyncrenderBackgroundrenderBaseLayers
renderBaseLayersAsyncrenderChildrenrenderChildrenAsync
renderContentrenderContentAsyncrenderOverlays
renderOverlaysAsyncresetZoomresumeUpdate
rotatesaveTemplatescale
setAnimationStylesetAnnotationSizesetAutoModelLimitsMode
setAutoModelLimitsStrategysetBoundssetCache
setChildsetClipStylesetCollectPerformanceInformation
setColorBarPipelinesetContentOrientationsetCss
setCssClasssetCssTransformsetData
setDesiredHeightsetDesiredWidthsetFillStyle
setHorizontalFlipsetIdsetInfiniteMode
setLayoutsetLayoutInvalidatedsetLayoutStyle
setLineStylesetLocalTransformsetManipulatorType
setMarginsStylesetModelLimitssetName
setNoDataStrategysetNotificationsetOpacity
setOptionssetOrientationsetPaddingStyle
setPipelinesetPropertiessetProperty
setRenderingFiltersetResponsiveStylesetSamplesTitle
setScaleOptionssetScaleScrollStrategysetSeismicModelLimits
setSeismicModelTransformationsetSelectablesetSilent
setTagsetTitlesetTool
setToolsOptionssetTraceHeaderVisiblesetVerticalFlip
setVisiblesetVisibleModelLimitssetVisibleSeismicModelLimits
setZIndexshearsuspendUpdate
toStringtranslateunregisterAnimationStyle
updateLayoutupdateSceneTransformationupdateState
updateSuspendedupdateTimeStampzoomIn
zoomOutenableSceneGraphNotificationfindParent
getClassNameisSceneGraphNotificationEnabled
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
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
freezeupdatebooleanFreeze updating widget until new seismic data is loaded and rendered for visible area
layouttypestringType of layout 'default' or 'inside'
orientationOrientationSeismic trace orientation
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
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)
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
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
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)

Contents

Constructors

new SeismicViewWidget(options)

new SeismicViewWidget(options?)

Creates widget

Parameters

Name Type Description
Optional optionsSeismicPipeline | Optionsoptions or seismic pipeline

Overrides

BaseWidget.constructor

Methods

addBaseLayer

addBaseLayer(baseLayer): SeismicViewWidget

Add baseLayer to container

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.addBaseLayer


addChild

addChild(node): SeismicViewWidget

Add a child node

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.addChild


addCssClass

addCssClass(cssclass): SeismicViewWidget

Adds new css class to node

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.addCssClass


addInvalidateHandler

addInvalidateHandler(handler): SeismicViewWidget

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.addInvalidateHandler


addOverlay

addOverlay(overlay): SeismicViewWidget

Add overlay to container

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.addOverlay


adjustPosition

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

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

SeismicViewWidget

this

Inherited from

BaseWidget.adjustPosition


applyOpacity

Protected applyOpacity(context): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

BaseWidget.applyResponsiveStyle


beginExport

beginExport(options?): SeismicViewWidget

Used to prepare object before exporting

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

SeismicViewWidget

this

Implementation of

IExportable.beginExport


changeBaseLayerOrder

changeBaseLayerOrder(overlay, order, anchor?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.changeBaseLayerOrder


changeChildOrder

changeChildOrder(node, order, anchor?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.changeChildOrder


changeOverlayOrder

changeOverlayOrder(overlay, order, anchor?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.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

BaseWidget.checkCollision


clearBaseLayers

clearBaseLayers(disposeBaseLayers?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.clearBaseLayers


clearCache

clearCache(): SeismicViewWidget

Clear cache

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.clearCache


clearChildren

clearChildren(disposeChildren?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.clearChildren


clearOverlays

clearOverlays(disposeOverlays?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.clearOverlays


clone

clone(): Group<Node>

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

Returns

Group<Node>

clone

Inherited from

BaseWidget.clone


connectStyle

connectStyle(style, type, callback): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.connectStyle


connectTool

connectTool(tool): SeismicViewWidget

Connect a new tool with a toolname to the widget

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.connectTool


copyConstructor

Protected copyConstructor(src, deepCopy?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.disconnectStyle


disconnectTool

disconnectTool(tool): SeismicViewWidget

Disconnect the tool from the widget

Parameters

Name Type Description
toolAbstractTool | AbstractTool[]tool to disconnect

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.disconnectTool


dispose

dispose(disposePipeline?): 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.

Parameters

Name Type Description
Optional disposePipelinebooleandispose pipeline. it is false by default

Returns

void

Overrides

BaseWidget.dispose


drawBorder

Protected drawBorder(localContext, bounds?): SeismicViewWidget

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

Parameters

Name Type Description
localContextRenderingContextThe local rendering context
Optional boundsRectgroup bounds

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.drawBorder


enableClipping

enableClipping(doClip): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.enableClipping


enableEventPropagation

enableEventPropagation(enable): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.enableEventPropagation


enablePickingChildren

enablePickingChildren(enable): SeismicViewWidget

Enables or disables picking children

Parameters

Name Type Description
enablebooleanenable picking children

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.enablePickingChildren


endExport

endExport(options?): SeismicViewWidget

Used to restore object's state after exporting

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

SeismicViewWidget

this

Implementation of

IExportable.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

BaseWidget.enumerateNodes


execute

execute(delegate): SeismicViewWidget

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: SeismicViewWidget) => voidFunction to execute

Returns

SeismicViewWidget

The result if any or this

Inherited from

BaseWidget.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: SeismicViewWidget) => T

Returns

T

Inherited from

BaseWidget.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


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

BaseWidget.filter


fitToBounds

fitToBounds(silent?): SeismicViewWidget

Fit content to bounds

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicViewWidget

this


fitToHeight

fitToHeight(silent?): SeismicViewWidget

Fit content to height

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicViewWidget

this


fitToWidth

fitToWidth(silent?): SeismicViewWidget

Fit content to width

Parameters

Name Type Description
Optional silentbooleanoptional parameter to synchronize limits

Returns

SeismicViewWidget

this


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

BaseWidget.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>


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

BaseWidget.getAutoModelLimitsMode


getAutoModelLimitsStrategy

getAutoModelLimitsStrategy(): ModelLimitsStrategy

Get Model Limits Logics Strategy

Returns

ModelLimitsStrategy

strategy

Inherited from

BaseWidget.getAutoModelLimitsStrategy


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

BaseWidget.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

BaseWidget.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

BaseWidget.getBaseLayers


getBaseLayersCount

getBaseLayersCount(): number

Returns amount of baseLayers

Returns

number

Inherited from

BaseWidget.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

BaseWidget.getBounds


getCache

getCache(): Cache

Return cache strategy to be used to cache children nodes

Returns

Cache

cache

Inherited from

BaseWidget.getCache


getChild

getChild(i): Node

Return node by index

Parameters

Name Type Description
inumberindex of the node

Returns

Node

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.getChildren


getChildrenCount

getChildrenCount(): number

Return number of child nodes

Returns

number

Inherited from

BaseWidget.getChildrenCount


getClassName

getClassName(): string

Returns

string

Implementation of

IExportable.getClassName

Inherited from

BaseWidget.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

BaseWidget.getClipStyle


getCollectPerformanceInformation

getCollectPerformanceInformation(): boolean

Gets collect performance information mode enabled

Returns

boolean

true if collection performance information mode enabled


getColorBarPipeline

getColorBarPipeline(): SeismicPipeline

Return pipeline to be used for colorbar

Returns

SeismicPipeline

Seismic Pipeline


getContentOrientation

getContentOrientation(): Orientation

Return content orientation

Returns

Orientation

content orientation

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

BaseWidget.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

BaseWidget.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

BaseWidget.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

BaseWidget.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

Overrides

BaseWidget.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

BaseWidget.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

BaseWidget.getDesiredWidth


getDeviceLimits

getDeviceLimits(): Rect

Return device limits

Returns

Rect

Inherited from

BaseWidget.getDeviceLimits


getExportElement

getExportElement(options?): CompositeDocumentElement

Returns exportable element

Parameters

Name Type Description
Optional optionsExportToPdfOptionsexport options

Returns

CompositeDocumentElement

return exportable element

Implementation of

IExportable.getExportElement


getFillStyle

getFillStyle(): FillStyle

Return fill style

Returns

FillStyle

fillStyle current fill style

Inherited from

BaseWidget.getFillStyle


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

BaseWidget.getId


getInfiniteMode

getInfiniteMode(): boolean

Return infinity mode flag

Returns

boolean

flag

Inherited from

BaseWidget.getInfiniteMode


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

BaseWidget.getInvalidateMethod


getLayout

getLayout(): Layout

Returns layout associated with the group

Returns

Layout

layout

Inherited from

BaseWidget.getLayout


getLayoutStyle

getLayoutStyle(): LayoutStyle<string | number>

return desired layout style

Returns

LayoutStyle<string | number>

Inherited from

BaseWidget.getLayoutStyle


getLineStyle

getLineStyle(): LineStyle

Return border style

Returns

LineStyle

Inherited from

BaseWidget.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

BaseWidget.getLocalTransform


getManipulatorLayer

getManipulatorLayer(): Layer<Node>

Return manipulator layer

Returns

Layer<Node>


getManipulatorType

getManipulatorType(): ManipulatorType

Returns active manipulator type

Returns

ManipulatorType


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

BaseWidget.getMarginsStyle


getModel

getModel(): Group<Node>

Returns the seismic model node

Returns

Group<Node>


getModelLimits

getModelLimits(): Rect

Gets model limits, the limits of this groups inside space

Returns

Rect

the current model limits

Inherited from

BaseWidget.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

BaseWidget.getName


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

BaseWidget.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

BaseWidget.getOpacityBlendMode


getOptions

getOptions(): OptionsBaseOut

Returns

OptionsBaseOut


getOrientation

getOrientation(): Orientation

Returns seismic trace orientation

Returns

Orientation

seismic trace orientation


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

BaseWidget.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

BaseWidget.getOverlayAt


getOverlayLayer

getOverlayLayer(): Layer<Node>

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

Returns

Layer<Node>

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.getOverlays


getOverlaysCount

getOverlaysCount(): number

Returns amount of overlays

Returns

number

Inherited from

BaseWidget.getOverlaysCount


getPaddingStyle

getPaddingStyle(): SpaceStyle<string | number>

Return padding style

Returns

SpaceStyle<string | number>

padding

Inherited from

BaseWidget.getPaddingStyle


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

BaseWidget.getParent


getPipeline

getPipeline(): SeismicPipeline

returns active pipeline

Returns

SeismicPipeline

pipeline


getPreferredSize

getPreferredSize(): Rect

Return preferred size to layout children

Returns

Rect

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

BaseWidget.getPropertyKeys


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

BaseWidget.getRenderingFilter


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

BaseWidget.getResponsiveStyle


getRoot

getRoot(): Node

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

Returns

Node

the root node

Inherited from

BaseWidget.getRoot


getScaleOptions

getScaleOptions(): Required<ScaleOptions>

Returns scale options.

Returns

Required<ScaleOptions>

object


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

BaseWidget.getScaleScrollStrategy


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

BaseWidget.getSceneTransform


getSeismicImage

getSeismicImage(): SeismicImage

return active seismic image

Returns

SeismicImage


getSeismicModel

getSeismicModel(): Group<Node>

Returns the group, which contains seismic images

Returns

Group<Node>


getSeismicModelLimits

getSeismicModelLimits(): Rect

return seismic model limits

Returns

Rect


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Inherited from

BaseWidget.getTag


getTitle

getTitle(): Title

Gets widget title

Returns

Title

title


getTool

getTool(): CompositeTool

Returns root tool associated to this widget

Returns

CompositeTool

Inherited from

BaseWidget.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]

Overrides

BaseWidget.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

BaseWidget.getToolByType


getTraceHeader

getTraceHeader(headerName): FieldDesc

Returns header description, if header exists

Parameters

Name Type Description
headerNamestringheader name

Returns

FieldDesc

header description


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


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


getTraceHeaders

getTraceHeaders(): string[]

Returns the array of available headers

Returns

string[]

array of available headers


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.getVisibleModelLimits


getVisibleSeismicDeviceLimits

getVisibleSeismicDeviceLimits(): Rect

return seismic model limits

Returns

Rect


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


getWidgetTools

getWidgetTools(): AbstractCompositeTool

Return widgets tool

Returns

AbstractCompositeTool


getWorldTransform

getWorldTransform(): Transformation

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

Returns

Transformation

Inherited from

BaseWidget.getWorldTransform


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

BaseWidget.getZIndex


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.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

BaseWidget.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

BaseWidget.indexOfOverlay


initializeTools

Protected initializeTools(options?): SeismicViewWidget

function call in the constructor to initialize tools in the widget

Parameters

Name Type Description
Optional optionsToolsOptionstools options

Returns

SeismicViewWidget

this

Overrides

BaseWidget.initializeTools


insertBaseLayer

insertBaseLayer(index, baseLayer): SeismicViewWidget

Insert child baseLayer at specified index

Parameters

Name Type Description
indexnumberspecified index
baseLayerNodea baseLayer to add

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.insertBaseLayer


insertChild

insertChild(index, node): SeismicViewWidget

Insert child node at specified index

Parameters

Name Type Description
indexnumberspecified index
nodeNodea child node to add

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.insertChild


insertOverlay

insertOverlay(index, overlay): SeismicViewWidget

Insert child overlay at specified index

Parameters

Name Type Description
indexnumberspecified index
overlayNodea overlay to add

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.insertOverlay


invalidate

invalidate(bounds?, force?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.invalidate


invalidateLayout

invalidateLayout(propagate?): SeismicViewWidget

Notify that layout is invalidated. Send event Events.LayoutInvalidated

Parameters

Name Type Description
Optional propagatebooleanpropagate invalidate layout to parent

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.invalidateLayout


invalidateParent

invalidateParent(bounds?, force?): SeismicViewWidget

Invalidate parent area

Parameters

Name Type Description
Optional boundsRectarea to invalidate
Optional forcebooleanforce

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.invalidateParent


isClippingEnabled

isClippingEnabled(): boolean

Returns if clipping is enabled or not for this node.

Returns

boolean

Inherited from

BaseWidget.isClippingEnabled


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

BaseWidget.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

BaseWidget.isEventPropagationEnabled


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

flip

Inherited from

BaseWidget.isHorizontalFlip


isLayoutInvalidated

isLayoutInvalidated(): boolean

Return true if layout is invalid

Returns

boolean

Inherited from

BaseWidget.isLayoutInvalidated


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

BaseWidget.isNotificationEnabled


isPickingChildrenEnabled

isPickingChildrenEnabled(): boolean

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

Returns

boolean

pickingChildren

Inherited from

BaseWidget.isPickingChildrenEnabled


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

BaseWidget.isSelectable


isSilent

isSilent(): boolean

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

Returns

boolean

Inherited from

BaseWidget.isSilent


isVerticalFlip

isVerticalFlip(): boolean

Return true if the representation is flipped vertically

Returns

boolean

flip

Inherited from

BaseWidget.isVerticalFlip


listToolsNames

listToolsNames(): string[]

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

Returns

string[]

Inherited from

BaseWidget.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

BaseWidget.loadTemplate


moveTo

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

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

SeismicViewWidget

this

Inherited from

BaseWidget.moveTo


notify

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

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

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

Returns

SeismicViewWidget

this

Overrides

BaseWidget.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

BaseWidget.notifyRoot


notifyStateChanged

notifyStateChanged(): void

Invalidate node

Deprecated

4.0. Not use this method.

Returns

void


off

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

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: SeismicViewWidget, args: EventMap[E]) => voidfunction to be called

Returns

SeismicViewWidget

this

Overrides

BaseWidget.off


on

on<E>(type, callback): SeismicViewWidget

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: SeismicViewWidget, args: EventMap[E]) => voidto be called

Returns

SeismicViewWidget

this

Overrides

BaseWidget.on


onBoundsChanged

Protected onBoundsChanged(bounds): SeismicViewWidget

Occurs when bounds has been changed

Parameters

Name Type Description
boundsRectbound of the node in the parent coordinates

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.onChildRemoved


onColorBarLocationChanged

Protected onColorBarLocationChanged(): void

Returns

void


onOrientationChanged

Protected onOrientationChanged(): SeismicViewWidget

Returns

SeismicViewWidget


onParentChanged

Protected onParentChanged(node): SeismicViewWidget

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

Parameters

Name Type Description
nodeNodenode to change parent

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

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

Returns

void

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.preRendering


rebuild

rebuild(force?, changes?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.rebuild


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

BaseWidget.registerAnimationStyle


removeBaseLayer

removeBaseLayer(baseLayer): SeismicViewWidget

Remove child baseLayer

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.removeBaseLayer


removeChild

removeChild(node, disposeChildren?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.removeChild


removeCssClass

removeCssClass(cssclass): SeismicViewWidget

Removes css class from node

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.removeCssClass


removeInvalidateHandler

removeInvalidateHandler(handler): SeismicViewWidget

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.removeInvalidateHandler


removeOverlay

removeOverlay(overlay): SeismicViewWidget

Remove child overlay

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.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


render

render(context): void

Render group

Parameters

Name Type Description
contextRenderingContextcontext to render group

Returns

void

Inherited from

BaseWidget.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

BaseWidget.renderAsync


renderBackground

Protected renderBackground(context, bounds): SeismicViewWidget

Render background

Parameters

Name Type Description
contextRenderingContextcontext to render background
boundsRectgroup bounds

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.renderBackground


renderBaseLayers

Protected renderBaseLayers(context): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.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

BaseWidget.renderBaseLayersAsync


renderChildren

Protected renderChildren(context): void

Render children

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.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

BaseWidget.renderContentAsync


renderOverlays

Protected renderOverlays(context): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.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

BaseWidget.renderOverlaysAsync


resetZoom

resetZoom(): SeismicViewWidget

Reset zoom

Returns

SeismicViewWidget

this


resumeUpdate

resumeUpdate(rebuild?, changes?): SeismicViewWidget

Resume auto update

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.resumeUpdate


rotate

rotate(theta, x, y): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.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

BaseWidget.saveTemplate


scale

scale(scaleX, scaleY, silent?): SeismicViewWidget

scale seismic model

Parameters

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

Returns

SeismicViewWidget

this

Overrides

BaseWidget.scale


setAnimationStyle

setAnimationStyle(animationStyle): SeismicViewWidget

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

SeismicViewWidget

Inherited from

BaseWidget.setAnimationStyle


setAnnotationSize

setAnnotationSize(annotationSize?): SeismicViewWidget

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

SeismicViewWidget

this


setAutoModelLimitsMode

setAutoModelLimitsMode(mode): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setAutoModelLimitsMode


setAutoModelLimitsStrategy

setAutoModelLimitsStrategy(strategy): SeismicViewWidget

Set Model Limits Logics Strategy

Parameters

Name Type Description
strategyModelLimitsStrategyModel Limits logic strategy to use

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setAutoModelLimitsStrategy


setBounds

setBounds(bounds): SeismicViewWidget

Sets bounds of the node in the parent coordinates

Parameters

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

Returns

SeismicViewWidget

this

Overrides

BaseWidget.setBounds


setCache

setCache(cache, rebuild?): SeismicViewWidget

Sets cache to be used to cache

Parameters

Name Type Description
cacheCachecache to be used
Optional rebuildbooleanrebuild cache

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setCache


setChild

setChild(index, node): SeismicViewWidget

Replace child node by index

Parameters

Name Type Description
indexnumberindex of the node
nodeNodenode

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setChild


setClipStyle

setClipStyle(style): SeismicViewWidget

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setClipStyle


setCollectPerformanceInformation

setCollectPerformanceInformation(collectPerformanceInfoEnabled): SeismicViewWidget

Sets collect performance information mode enabled

Parameters

Name Type Description
collectPerformanceInfoEnabledbooleantrue for collection performance information mode enabled

Returns

SeismicViewWidget

this


setColorBarPipeline

setColorBarPipeline(pipeline): SeismicViewWidget

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

SeismicViewWidget

this


setContentOrientation

setContentOrientation(orientation): SeismicViewWidget

Set content orientation

Parameters

Name Type Description
orientationOrientationcontent orientation

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setContentOrientation


setCss

setCss(style, merge?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setCss


setCssClass

setCssClass(name): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setCssClass


setCssTransform

setCssTransform(transform): SeismicViewWidget

Set CSS transformation

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setCssTransform


setData

setData(options): SeismicViewWidget

Sets options and/or data

Parameters

Name Type Description
optionsDataOptionsoptions

Returns

SeismicViewWidget


setDesiredHeight

setDesiredHeight(value, silent?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setDesiredHeight


setDesiredWidth

setDesiredWidth(value, silent?): SeismicViewWidget

Sets desired width of the group as a layoutable object

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setDesiredWidth


setFillStyle

setFillStyle(fillStyle, merge?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setFillStyle


setHorizontalFlip

setHorizontalFlip(enable): SeismicViewWidget

Set horizontal flip of the representation

Parameters

Name Type Description
enablebooleanenable flip

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setHorizontalFlip


setId

setId(id): SeismicViewWidget

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setId


setInfiniteMode

setInfiniteMode(infinityMode): SeismicViewWidget

Set infinity mode flag to draw composite without collision check

Parameters

Name Type Description
infinityModebooleaninfinity mode flag

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setInfiniteMode


setLayout

setLayout(layout): SeismicViewWidget

Associate layout with a group.

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setLayout


setLayoutInvalidated

Protected setLayoutInvalidated(invalidated): void

Set invalidation status

Parameters

Name Type Description
invalidatedbooleaninvalidated layout

Returns

void

Inherited from

BaseWidget.setLayoutInvalidated


setLayoutStyle

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

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

SeismicViewWidget

this

Inherited from

BaseWidget.setLayoutStyle


setLineStyle

setLineStyle(lineStyle, merge?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setLocalTransform


setManipulatorType

setManipulatorType(manipulatorType, active?): SeismicViewWidget

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

SeismicViewWidget

this


setMarginsStyle

setMarginsStyle(margins, merge?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setMarginsStyle


setModelLimits

setModelLimits(limits): SeismicViewWidget

Sets inner model limits

Parameters

Name Type Description
limitsTypeinner limits

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setModelLimits


setName

setName(name): SeismicViewWidget

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setName


setNoDataStrategy

setNoDataStrategy(strategy): SeismicViewWidget

Sets function

Parameters

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

Returns

SeismicViewWidget

this


setNotification

setNotification(notify, force?): SeismicViewWidget

set notification state

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setNotification


setOpacity

setOpacity(opacity, blendMode?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setOpacity


setOptions

setOptions(options?): SeismicViewWidget

Set widget options

Parameters

Name Type Description
Optional optionsOptionsBaseoptions

Returns

SeismicViewWidget

this


setOrientation

setOrientation(orientation, keepVisibleModelLimits?): SeismicViewWidget

Set seismic trace orientation

Parameters

Name Type Description
orientationOrientationseismic orientation
Optional keepVisibleModelLimitsbooleankeep visible model limits

Returns

SeismicViewWidget

this


setPaddingStyle

setPaddingStyle(paddingStyle, merge?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setPaddingStyle


setPipeline

setPipeline(pipeline, resetTransformation?): SeismicViewWidget

Set pipeline for image, colorbar and other components

Parameters

Name Type Description
pipelineSeismicPipelineSeismic Pipeline
Optional resetTransformationbooleanreset transformation

Returns

SeismicViewWidget

this


setProperties

setProperties(properties?): SeismicViewWidget

Sets all the properties pertaining to this object

Example

// change size of axes and colorbar
import {ColorBarLocation} from '@int/geotoolkit/controls/shapes/ColorBarLocation';
import {Direction} from '@int/geotoolkit/layout/VerticalBoxLayout';
widget.setOptions({
'colorbar': {
'location': ColorBarLocation.West,
'axis': {
'size': 50
},
'title': {
'size': 50
},
'colorbox': {
'size': 20
}
},
'axes': {
'headers': {
'location': ColorBarLocation.North,
'direction': Direction.TopToBottom,
'size': 30,
},
'samples': {
'size': 50
}
}
});

Parameters

Name Type Description
Optional propertiesOptionsoptions

Returns

SeismicViewWidget

this

Overrides

BaseWidget.setProperties


setProperty

setProperty(name, value): SeismicViewWidget

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setProperty


setRenderingFilter

setRenderingFilter(filter): SeismicViewWidget

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setRenderingFilter


setResponsiveStyle

setResponsiveStyle(style): SeismicViewWidget

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setResponsiveStyle


setSamplesTitle

setSamplesTitle(title): SeismicViewWidget

Set samples title

Parameters

Name Type Description
titlestring | Titletitle

Returns

SeismicViewWidget


setScaleOptions

setScaleOptions(scaleOptions, saveViewPoint?): SeismicViewWidget

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

SeismicViewWidget

this


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): SeismicViewWidget

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setScaleScrollStrategy


setSeismicModelLimits

setSeismicModelLimits(limits): SeismicViewWidget

Sets seismic model limits if auto seismic model limits is off

Parameters

Name Type Description
limitsRectmodel limits

Returns

SeismicViewWidget


setSeismicModelTransformation

setSeismicModelTransformation(transformation): SeismicViewWidget

Attempts to set local transformation for the seismic model.

Parameters

Name Type Description
transformationTransformationtransformation to set

Returns

SeismicViewWidget

this


setSelectable

setSelectable(selectable): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.setSelectable


setSilent

setSilent(bool): SeismicViewWidget

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setSilent


setTag

setTag(tag): SeismicViewWidget

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

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setTag


setTitle

setTitle(title): SeismicViewWidget

Set widget title

Parameters

Name Type Description
titleTitletitle

Returns

SeismicViewWidget


setTool

Protected setTool(tool): SeismicViewWidget

Set root tool associated to this widget

Parameters

Name Type Description
toolCompositeTooltool to be set

Returns

SeismicViewWidget

Inherited from

BaseWidget.setTool


setToolsOptions

setToolsOptions(options): SeismicViewWidget

Set tools options

Parameters

Name Type Description
optionsToolsOptionstools options

Returns

SeismicViewWidget

this


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


setVerticalFlip

setVerticalFlip(flip): SeismicViewWidget

Set vertical flip of the representation

Parameters

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setVerticalFlip


setVisible

setVisible(value): SeismicViewWidget

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setVisible


setVisibleModelLimits

setVisibleModelLimits(visibleModelBounds, deviceBounds?): SeismicViewWidget

Set visible model limits

Parameters

Name Type Description
visibleModelBoundsRectvisible model limits or bounds
Optional deviceBoundsRectdevice bounds

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setVisibleModelLimits


setVisibleSeismicModelLimits

setVisibleSeismicModelLimits(visibleModelLimits, silent?): SeismicViewWidget

Set visible model limits

Parameters

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

Returns

SeismicViewWidget

this


setZIndex

setZIndex(value): SeismicViewWidget

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

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.setZIndex


shear

shear(shx, shy): SeismicViewWidget

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.shear


suspendUpdate

suspendUpdate(): SeismicViewWidget

Suspend auto update

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.suspendUpdate


toString

toString(): string

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

Returns

string

A string representation

Inherited from

BaseWidget.toString


translate

translate(dX, dY, silent?): SeismicViewWidget

translate seismic model

Parameters

Name Type Description
dXnumberoffset x
dYnumberoffset y
Optional silentbooleanupdate view

Returns

SeismicViewWidget

this

Overrides

BaseWidget.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootAnimatedNoderoot node for node

Returns

void

Inherited from

BaseWidget.unregisterAnimationStyle


updateLayout

updateLayout(): SeismicViewWidget

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

Returns

SeismicViewWidget

this

Overrides

BaseWidget.updateLayout


updateSceneTransformation

updateSceneTransformation(): SeismicViewWidget

Update scene transformation

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.updateSceneTransformation


updateState

updateState(regions?, changes?): SeismicViewWidget

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

SeismicViewWidget

this

Inherited from

BaseWidget.updateState


updateSuspended

updateSuspended(): boolean

Return state of suspend state

Returns

boolean

state of update

Inherited from

BaseWidget.updateSuspended


updateTimeStamp

Protected updateTimeStamp(): SeismicViewWidget

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

Returns

SeismicViewWidget

this

Inherited from

BaseWidget.updateTimeStamp


zoomIn

zoomIn(): SeismicViewWidget

Zoom in

Returns

SeismicViewWidget

this


zoomOut

zoomOut(): SeismicViewWidget

Zoom out

Returns

SeismicViewWidget

this


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

BaseWidget.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

BaseWidget.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

BaseWidget.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

BaseWidget.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

BaseWidget.isSceneGraphNotificationEnabled