API / geotoolkit / seismic / widgets / SeismicWidget / SeismicWidget
widgets.SeismicWidget.SeismicWidget
SeismicWidget is essentially a base widget specialized for seismic data display. It provides API to help viewing, interpreting and processing seismic data
It has a center part to display seismic data and a set of annotations on each side to display axes, titles, or colorbar.
It supports default tools like cross hair, zooming, panning, cursor tracking, scrolling etc. It also has an option to display trace number headers table.
Other options like horizontal and vertical scrollbars can be set here. To modify the styles of the x and y axis can be done using setProperties(). see example in the method.
Example
// Following code shows how to create a seismic widget using a pipeline. The {@link @int/geotoolkit/seismic/pipeline/SeismicPipeline~SeismicPipeline} is created earlier using a seismic reader.
const widget = new SeismicWidget(pipeline)
.setLayoutStyle({left: 0, top: 0, bottom: 0, right: 0});
widget.setScaleOptions({
'tracescale': 3,
'samplescale': 30,
'deviceunit': 'in',
'sampleunit': 's'
});Example
// Provide own information for statusbar
import {AutoNumberFormat} from '@int/geotoolkit/util/AutoNumberFormat';
widget.setOptions({
'statusbar': {
'sections': {
'info': (widget, x, y, sample) => {
const autoFormat = new AutoNumberFormat();
let depthValue = Math.round(y * 100) / 100.0, sampleValue = '', traceNumber = '';
if (sample) {
traceNumber = sample['traceNumber'] + 1;
sampleValue = Math.round(sample['sampleValue'] * 10000) / 10000;
depthValue = Math.round(sample['location']['y'] * 100) / 100.0;
}
return {
'samples': ' Depth: ' + autoFormat.format(depthValue),
'value': ' Values: ' + sampleValue,
'traces': ' Trace Number: ' + traceNumber
};
}
}
}
});↳
SeismicWidget
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
annotationssizes | AnnotationSize | JSON to hold (width or height) of the annotation |
annotationssizes-east | string | number | Preferred width of east annotation size |
annotationssizes-north | string | number | Preferred height of north annotation size |
annotationssizes-south | string | number | Preferred height of south annotation size |
annotationssizes-west | string | number | Preferred width of west annotation size |
annotationssizes | AnnotationSize | JSON to hold (width or height) of the annotation |
autoseismiclimits | boolean | Sets model limits of the center group based on the pipeline limits. If limits sets to false |
autoseismiclimits | boolean | Sets model limits of the center group based on the pipeline limits. If limits sets to false |
axes | AxesOptions | Specify set of axes |
axes-headers | AxesHeadersOptions | Seismic headers axes options |
axes-headers-direction | Direction | |
axes-headers-location | AnnotationLocation | |
axes-headers-size | number | |
axes-samples | AxesSamplesOptions | Specify properties of vertical axis |
axes-samples-cssclass | string | Defines cssclass of samples axis |
axes-samples-instance | Axis | Defines instance of sample axis |
axes-samples-instance-autolabelrotation | boolean | Automatic label rotation |
axes-samples-instance-autolabelrotationangle | number | |
axes-samples-instance-baselinestyle | string | Base line style |
axes-samples-instance-baselinestyle | LineStyle | Base line style |
axes-samples-instance-baselinestyle-color | string | Color in CSS form |
axes-samples-instance-baselinestyle-fill | string | Optional fill style to be used to fill lines generated with this style |
axes-samples-instance-baselinestyle-fill | FillStyle | Optional fill style to be used to fill lines generated with this style |
axes-samples-instance-baselinestyle-fill-color | string | Color in CSS form |
axes-samples-instance-baselinestyle-fill-evenoddmode | boolean | Even-odd fill mode |
axes-samples-instance-baselinestyle-fill-fillpattern | Pattern | Pattern |
axes-samples-instance-baselinestyle-fill-fillpattern-containername | string | An 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-patternname | string | Name of this pattern for indexing |
axes-samples-instance-baselinestyle-fill-fillpattern-scalable | boolean | Flag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported) |
axes-samples-instance-baselinestyle-fill-foreground | string | Foreground color |
axes-samples-instance-baselinestyle-fill-pattern | Pattern | Pattern |
axes-samples-instance-baselinestyle-linecap | CapStyle | The line cap style |
axes-samples-instance-baselinestyle-linedashoffset | number | Line dash offset of dashed line |
axes-samples-instance-baselinestyle-linejoin | JoinStyle | The line join style |
axes-samples-instance-baselinestyle-pixelsnapmode | boolean | Pixel Snap Mode, default( |
axes-samples-instance-baselinestyle-scalable | boolean | True if width should depend on transformation |
axes-samples-instance-baselinestyle-unit | string | Optional unit for the width |
axes-samples-instance-baselinestyle-width | number | string | The line thickness |
axes-samples-instance-bounds | Rect | Axis bounds |
axes-samples-instance-bounds-height | number | Height |
axes-samples-instance-bounds-readonly | boolean | Readonly |
axes-samples-instance-bounds-width | number | Width |
axes-samples-instance-bounds-x | number | Left |
axes-samples-instance-bounds-y | number | Top |
axes-samples-instance-clipstyle | ClipStyle | Clipping style |
axes-samples-instance-clipstyle-evenodd | boolean | True if evenodd mode is on ('nonzero' mode otherwise) |
axes-samples-instance-clipstyle-geometry | GraphicsPath | Clipping geometry |
axes-samples-instance-clipstyle-geometry-bounds | Rect | Bounds |
axes-samples-instance-clipstyle | GraphicsPath | Clipping style |
axes-samples-instance-cssclass | string | The css class name of this node |
axes-samples-instance-csscursor | string | CSS cursor associated with node |
axes-samples-instance-cssstyle | string | CSS style to be applied to inserted elements |
axes-samples-instance-dimension | AxisMappingDimension | Axis dimension to setup axis limits |
axes-samples-instance-dimension-desiredmodelstep | number | Desired model step |
axes-samples-instance-dimension-logarithmic | boolean | True for logarithmic axis |
axes-samples-instance-dimension-max | number | Maximum value |
axes-samples-instance-dimension-min | number | Minimum value |
axes-samples-instance-dimension-minspan | number | Desired minimum distance between ticks in pixels |
axes-samples-instance-dimension-name | string | Name of the dimension |
axes-samples-instance-dimension-neatlimits | boolean | Enable or disable neat limits |
axes-samples-instance-dimension-orientation | Orientation | Axis orientation |
axes-samples-instance-dimension-origin | number | |
axes-samples-instance-dimension-preciselimits | boolean | Enable keeping the precise limits and calculate only step |
axes-samples-instance-dimension-spacing | number | Desired model spacing |
axes-samples-instance-fillstyle | string | Style applied on fill |
axes-samples-instance-fillstyle | FillStyle | Style applied on fill |
axes-samples-instance-hideoverlappedtext | boolean | Hide overlapped text flag |
axes-samples-instance-id | string | number | Id of the node, its a unique identifier |
axes-samples-instance-infinity | boolean | Infinity mode |
axes-samples-instance-labelmanualsettings | boolean | Enable / disable manual settings for labels like anchor |
axes-samples-instance-labeloffset | number | Offset the label offset |
axes-samples-instance-labelpadding | number | Label padding size in pixels |
axes-samples-instance-labelposition | LabelPosition | Label position |
axes-samples-instance-layoutstyle | LayoutStyle | Desired layout style |
axes-samples-instance-layoutstyle-constraint | SizeConstraint | Layout constrains |
axes-samples-instance-layoutstyle-flexgrow | number | Number specifying how much the item will grow relative to the rest of the items inside the same container |
axes-samples-instance-layoutstyle-flexshrink | number | Number specifying how much the item will shrink relative to the rest of the items inside the same container |
axes-samples-instance-layoutstyle-float | string | Float position |
axes-samples-instance-layoutstyle-position | string | Layout position |
axes-samples-instance-layoutstyle-size | number | string | Layout size |
axes-samples-instance-linestyle | string | Style applied on outline |
axes-samples-instance-linestyle | LineStyle | Style applied on outline |
axes-samples-instance-localtransform | Transformation | Local transformation |
axes-samples-instance-localtransform-dx | number | X axis translation |
axes-samples-instance-localtransform-dy | number | Y axis translation |
axes-samples-instance-localtransform-xx | number | X scale |
axes-samples-instance-localtransform-xy | number | Xy skew |
axes-samples-instance-localtransform-yx | number | Yx skew |
axes-samples-instance-localtransform-yy | number | Y scale |
axes-samples-instance-margins | number | string | It has properties for specifying the margins for each side |
axes-samples-instance-maximumlabelsize | number | Maximum label size (in device), text will be wrapped, if it is bigger than maximum label size |
axes-samples-instance-modellimits | Rect | Rectangle where to generate ticks |
axes-samples-instance-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
axes-samples-instance-opacity | number | Node 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-opacityblendmode | BlendMode | Node opacity mode to blend it |
axes-samples-instance-orientation | Orientation | Axis orientation |
axes-samples-instance-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
axes-samples-instance-scalescrollstrategy-enabled | boolean | Enable flag |
axes-samples-instance-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
axes-samples-instance-tag | any | Custom 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-textstyle | string | Labels textstyle |
axes-samples-instance-textstyle | TextStyle | Labels textstyle |
axes-samples-instance-textstyle-alignment | AlignmentStyle | Alignment |
axes-samples-instance-textstyle-autosize | boolean | Auto font size on high definition display |
axes-samples-instance-textstyle-background | string | Background style |
axes-samples-instance-textstyle-background | FillStyle | Background style |
axes-samples-instance-textstyle-baseline | BaseLineStyle | Base line |
axes-samples-instance-textstyle-color | string | Color in CSS form |
axes-samples-instance-textstyle-fill | FillStyle | Text fill style |
axes-samples-instance-textstyle-font | string | Font see |
axes-samples-instance-textstyle-fonturl | string | The place from which the font will be loaded, if null - uses system fonts. It can be base64 with url keyword |
axes-samples-instance-textstyle-lineheight | string | number | Line height |
axes-samples-instance-textstyle-multiline | boolean | Allow multi-line text |
axes-samples-instance-textstyle-outline | string | Outline style |
axes-samples-instance-textstyle-outline | LineStyle | Outline style |
axes-samples-instance-textstyle-overflowwrap | OverflowWrapStyle | Overflow wrap |
axes-samples-instance-textstyle-strikethrough | string | Strikethrough style |
axes-samples-instance-textstyle-strikethrough | LineStyle | Strikethrough style |
axes-samples-instance-textstyle-textoverflow | TextOverflowStyle | Text overflow |
axes-samples-instance-textstyle-underline | string | Underline style |
axes-samples-instance-textstyle-underline | LineStyle | Underline style |
axes-samples-instance-textstyle-underlineoffset | string | number | Underline offset distance |
axes-samples-instance-textstyle-whitespace | WhiteSpaceStyle | White space |
axes-samples-instance-textstyle-wordbreak | WordBreakStyle | Word break |
axes-samples-instance-tickgenerator | TickGenerator | TickGenerator to use in axis |
axes-samples-instance-tickgenerator-labelstyles | TextStyle | An object containing label style for specified grades |
axes-samples-instance-tickgenerator-tag | any | Tag user can specify info associated with current object |
axes-samples-instance-tickgenerator-tickstyles | LineStyle | An object containing tick styles for specified grades |
axes-samples-instance-tickposition | TickPosition | Tick position |
axes-samples-instance-title | Title | Axis title |
axes-samples-instance-title-alignment | AnchorType | Alignment |
axes-samples-instance-title-margin | number | string | Margin style |
axes-samples-instance-title-offset | Point | Offset |
axes-samples-instance-title-offset-x | number | X coordinate |
axes-samples-instance-title-offset-y | number | Y coordinate |
axes-samples-instance-title-offset | Dimension | Offset |
axes-samples-instance-title-offset-height | number | Height of dimension |
axes-samples-instance-title-offset-width | number | Width of dimension or properties |
axes-samples-instance-title-showellipsis | boolean | Enables/disables ellipsis in case if text is too long |
axes-samples-instance-title-text | string | Axis title text |
axes-samples-instance-title-textstyle | string | Text style |
axes-samples-instance-title-textstyle | TextStyle | Text style |
axes-samples-instance-title-visible | boolean | Visibility |
axes-samples-instance-transform | string | Additional CSS transformation applied to node or 'none' |
axes-samples-instance-transform | Transformation | Additional CSS transformation applied to node or 'none' |
axes-samples-instance-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
axes-samples-instance-visiblebaseline | boolean | Visibility of baseline |
axes-samples-instance-z-index | number | Define node z-index |
axes-samples-location | AnnotationLocation | Defines location of sample axis |
axes-samples-size | number | Defines size in pixels of samples axis |
axes-samples-ticks | Options | Objects which defines ticks options of the axis |
axes-samples-ticks-labelstyles | TextStyle | An object containing label style for specified grades |
axes-samples-ticks-tag | any | Tag user can specify info associated with current object |
axes-samples-ticks-tickstyles | LineStyle | An object containing tick styles for specified grades |
axes-samples-ticks | Options | Objects which defines ticks options of the axis |
axes-samples-ticks-adaptivetype | AdaptiveType | Type of adaptive algorithm |
axes-samples-ticks-hidelabelsonspantoosmall | boolean | Hide labels flag |
axes-samples-ticks-minlabelspan | number | Minimum distance between labels |
axes-samples-ticks-minorticksamount | number | Count of minor ticks |
axes-samples-ticks-minspan | number | Minimum distance between ticks |
axes-samples-ticks-minspangrade | string | Tick grade to be used for minimum distance between ticks |
axes-samples-ticks-modelorigin | number | Origin in model space for initial tick in the sequence |
axes-samples-ticks-precision | AdaptivePrecision | Precision for legacy algorithm |
axes-samples-ticks-spacing | number | Spacing see |
axes-samples-title | Title | Defines title options of sample axis |
axes-samples-visible | boolean | Defines visibility of sample axis |
axes | AxesOptions | Specify set of axes |
freezeupdate | boolean | Freeze updating widget until new seismic data is loaded and rendered for visible area |
freezeupdate | boolean | Freeze updating widget until new seismic data is loaded and rendered for visible area |
layouttype | string | Type of layout 'default' or 'inside' |
layouttype | string | Type of layout 'default' or 'inside' |
orientation | Orientation | Seismic trace orientation |
orientation | Orientation | Seismic trace orientation |
pickingevent | Events | Event for picking |
pipeline | SeismicPipeline | Seismic pipeline |
pipeline-clippingmode | ClippingMode | Clipping mode |
pipeline-colors | ColorMapOptions | Colors |
pipeline-colors-alpha | number | Alpha value |
pipeline-colors-colormap | string | Color map, predefined color map name, color map options or color map instance |
pipeline-colors-colormap | ColorMap | Color map, predefined color map name, color map options or color map instance |
pipeline-colors-colormap-max | number | |
pipeline-colors-colormap-min | number | |
pipeline-colors-colormap-name | string | Color map name |
pipeline-colors-colormap-negativefillstyle | string | Positive fill style |
pipeline-colors-colormap-negativefillstyle | FillStyle | Positive fill style |
pipeline-colors-colormap-positivefillstyle | string | Positive fill style |
pipeline-colors-colormap-positivefillstyle | FillStyle | Positive fill style |
pipeline-colors-colormap-scale | KnownScales | |
pipeline-colors-colormap-size | number | Color map size |
pipeline-colors-colormap-tracelinestyle | string | Trace line style |
pipeline-colors-colormap-tracelinestyle | LineStyle | Trace line style |
pipeline-colors-opacity | number | Opacity value |
pipeline-colors-reversed | boolean | Reversed color map |
pipeline-maximumtracesperpixel | number | Define maximum traces per pixel, which can be displayed in the image |
pipeline-name | string | Pipeline name |
pipeline-normalization | NormalizationOptions | Normalization options |
pipeline-normalization-bias | number | The 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-biastype | BiasType | Bias type, default is BiasType.Relative |
pipeline-normalization-limits | Range | Normalization limits (min,max), which is used for NormalizationType.Limits only |
pipeline-normalization-limits-high | number | Upper range boundary |
pipeline-normalization-limits-low | number | Lower range boundary |
pipeline-normalization-limits-max | number | |
pipeline-normalization-limits-min | number | |
pipeline-normalization-scale | number | Scale factor |
pipeline-normalization-swing | number | The 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-type | NormalizationType | Enum of normalization types |
pipeline-plot | PlotOptions | Plot options |
pipeline-plot-clippingfactor | number | Clipping factor for traces |
pipeline-plot-decimationspacing | number | Decimation 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-densityclippingfactor | number | Clipping factor for density |
pipeline-plot-densitydecimation | boolean | Decimation for traces in density mode |
pipeline-plot-sampledecimation | DecimationType | Define samples decimation type |
pipeline-plot-type | PlotTypeOptions | Plot type |
pipeline-plot-type-interpolateddensity | boolean | Interpolated density |
pipeline-plot-type-negativecolorfill | boolean | Negative color fill |
pipeline-plot-type-negativefill | boolean | Negative fill |
pipeline-plot-type-positivecolorfill | boolean | Positive color fill |
pipeline-plot-type-positivefill | boolean | Positive fill |
pipeline-plot-type-reversed | boolean | Reversed amplitude direction |
pipeline-plot-type-simpledensity | boolean | Simple density |
pipeline-plot-type-wiggle | boolean | Wiggle |
pipeline-plot-wigglesantialiasing | boolean | Wiggles antialiasing flag |
pipeline-rasterizationlimitstype | RasterizationLimitsType | Rasterization limits type |
pipeline-renderingside | RenderingSide | Rendering side |
pipeline-statistics | Statistics | Statistics information |
pipeline-statistics-average | number | Average |
pipeline-statistics-max | number | Maximum |
pipeline-statistics-min | number | Minimum |
pipeline-statistics-rms | number | Rms |
pipeline-traceoffset | number | Original trace offset |
pipeline-version | string | Version |
pipeline | SeismicPipeline | Seismic pipeline |
scale | ScaleOptions | Scale options |
scale-deviceunit | string | Physical device unit |
scale-samplescale | number | In 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-sampleunit | string | Sample unit, sample unit from pipeline will be used if not specified |
scale-tracescale | number | In traces per device unit (e.g traces per inch) |
scale | ScaleOptions | Scale options |
scroll | ScrollOptions | Specify scroll bar properties |
scroll-horizontal | HVOptions | Specify horizontal scroll bar properties |
scroll-horizontal-cssclass | string | Specify scroll bar cssclass name |
scroll-horizontal-options | Options | |
scroll-horizontal-options-cssclass | string | The css class name of this node |
scroll-horizontal-options-id | string | number | Id of the node, its a unique identifier |
scroll-horizontal-options-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
scroll-horizontal-options-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
scroll-horizontal-options-tag | any | Custom 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-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
scroll-horizontal-options-z-index | number | Define node z-index |
scroll-horizontal-options | Options | |
scroll-horizontal-options-clipstyle | ClipStyle | Clipping style |
scroll-horizontal-options-clipstyle | GraphicsPath | Clipping style |
scroll-horizontal-options-csscursor | string | CSS cursor associated with node |
scroll-horizontal-options-cssstyle | string | CSS style to be applied to inserted elements |
scroll-horizontal-options-localtransform | Transformation | Local transformation |
scroll-horizontal-options-margins | number | string | It has properties for specifying the margins for each side |
scroll-horizontal-options-opacity | number | Node 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-opacityblendmode | BlendMode | Node opacity mode to blend it |
scroll-horizontal-options-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
scroll-horizontal-options-transform | string | Additional CSS transformation applied to node or 'none' |
scroll-horizontal-options-transform | Transformation | Additional CSS transformation applied to node or 'none' |
scroll-horizontal-options | Options | |
scroll-horizontal-options-clipping | boolean | Enable clipping, this does not consider the clipstyle, it is related to bounds-clipping |
scroll-horizontal-options-infinity | boolean | Mode to render outside the model limits |
scroll-horizontal-options | Options | |
scroll-horizontal-options-automodellimitsmode | boolean | Auto model limits mode |
scroll-horizontal-options-bounds | Rect | Define position of the group in the parent |
scroll-horizontal-options-contentorientation | Orientation | Content orientation |
scroll-horizontal-options-fillstyle | string | Fill style |
scroll-horizontal-options-fillstyle | FillStyle | Fill style |
scroll-horizontal-options-horizontalflip | boolean | Horizontal axis goes from right to left |
scroll-horizontal-options-layoutstyle | LayoutStyle | Layout style to be used for parent layout |
scroll-horizontal-options-linestyle | string | Line style |
scroll-horizontal-options-linestyle | LineStyle | Line style |
scroll-horizontal-options-modellimits | Rect | Define inner model coordinates of the group |
scroll-horizontal-options-padding | number | string | It has properties for specifying the padding for each side |
scroll-horizontal-options-pickingchildren | boolean | Enable picking children |
scroll-horizontal-options-verticalflip | boolean | Vertical axis goes from bottom to top |
scroll-horizontal-options-viewcache | boolean | View cache to cache child nodes |
scroll-horizontal-options | Options | |
scroll-horizontal-options-backgroundfillstyle | string | Background fill style |
scroll-horizontal-options-backgroundfillstyle | FillStyle | Background fill style |
scroll-horizontal-options-floating | boolean | Flag to set floating mode |
scroll-horizontal-options-size | number | Desired size |
scroll-horizontal-options-transparency | number | Alpha |
scroll-horizontal-options | Options | |
scroll-horizontal-options-arrowlinestyle | string | Arrow line style |
scroll-horizontal-options-arrowlinestyle | LineStyle | Arrow line style |
scroll-horizontal-options-borderlinestyle | string | Border line style |
scroll-horizontal-options-borderlinestyle | LineStyle | Border line style |
scroll-horizontal-options-caretfillstyle | string | Caret fill style |
scroll-horizontal-options-caretfillstyle | FillStyle | Caret fill style |
scroll-horizontal-options-caretlinestyle | string | Caret line style |
scroll-horizontal-options-caretlinestyle | LineStyle | Caret line style |
scroll-horizontal-options-changecursor | boolean | Change cursor on move or resize, true by default |
scroll-horizontal-options-fillstyle | string | Fill style |
scroll-horizontal-options-fillstyle | FillStyle | Fill style |
scroll-horizontal-options-isvertical | boolean | |
scroll-horizontal-options-linestyle | string | Line style |
scroll-horizontal-options-linestyle | LineStyle | Line style |
scroll-horizontal-options-minimumcarretsize | number | Minimum size of the carriage |
scroll-horizontal-options-modellimits | Rect | Model limits |
scroll-horizontal-options-resizable | boolean | True for resizable |
scroll-horizontal-options-rounded | boolean | Rounded borders |
scroll-horizontal-options-visiblelimits | Rect | Visible model limits |
scroll-horizontal-type | string | Class name of scroll bar |
scroll-horizontal-visible | boolean | Specify scroll bar visibility |
scroll-vertical | HVOptions | Specify vertical scroll bar properties |
scroll | ScrollOptions | Specify scroll bar properties |
statusbar | StatusBar | Defines status bar settings |
statusbar-autosize | boolean | Defines status auto size mode |
statusbar-cssclass | string | Specify status bar cssclass name |
statusbar-visible | boolean | Specify status bar visibility |
table | OptionsBase | Headers table |
table-cssclass | string | Defines cssclass of headers table |
table | HeadersViewOptions | Headers table |
table-enabled | boolean | Defines if header view default behaviour is enabled or not |
table-options | Options | |
table-options | Options | |
table-options | Options | |
table-options | Options | |
table-options | Data | |
table-options-bounds | Rect | Bounds |
table-options-cols | number | Table view column count |
table-options-defaultcellsize | Dimension | Default cell dimensions |
table-options-defaultheadersize | Dimension | Default header dimensions |
table-options-fittowidth | boolean | Fit to width |
table-options-fixedsize | boolean | Performance hint for table view |
table-options-headervisible | boolean | Value to set header row visibility |
table-options-highlightcolumnfillstyle | string | Highlight column style |
table-options-highlightcolumnfillstyle | FillStyle | Highlight column style |
table-options-highlightrowfillstyle | string | Highlight row style |
table-options-highlightrowfillstyle | FillStyle | Highlight row style |
table-options-indextitle | string | JSON to set index title - see |
table-options-indexvisible | boolean | Value to set index column visibility |
table-options-rows | number | Table view row count |
table-options | Options | |
table-options-bounds | Rect | Bounds |
table-options-cellsize | Dimension | Cell size |
table-options-fixedsize | boolean | Performance hint for table view |
table-options-headerheight | number | Header height |
table-options-indexwidth | number | Index column width |
table-options | Options | |
table-options-fitborder | boolean | Defines fit border strategy, in case of true (false by default), border fit table content in case if content smaller than widget bounds |
table-options-fixedsize | boolean | Performance hint for table view |
table-options-headermode | HeaderMode | Automatic header resize strategies |
table-options-horizontalscroll | boolean | string | |
table-options-horizontalscrollable | boolean | string | |
table-options-verticalscroll | boolean | string | |
table-options-verticalscrollable | boolean | string | |
table-size | number | Defines size of headers table |
table-visible | boolean | Defines if plot displays headers table, true | false | 'none' | 'visible' | 'hidden' |
title | Title | Defines title options of widget |
title-alignment | AnchorType | Alignment |
title-cssclass | string | CSS style of the title |
title-location | AnnotationLocation | Defines location |
title-size | number | Size of the title in pixels |
title-text | string | Title text |
title-textstyle | string | Text style |
title-textstyle | TextStyle | Text style |
title-visible | boolean | Visibility |
title | Title | Defines title options of widget |
tools | ToolsOptions | Tools options |
tools-colorbar | OptionsBase | Floating olor bar tool options |
tools-colorbar-colorprovider | ColorProvider | |
tools-colorbar-colorprovider-max | number | |
tools-colorbar-colorprovider-min | number | |
tools-colorbar-colorprovider-scale | KnownScales | |
tools-colorbar-tickgenerator | TickGenerator | |
tools-colorbar-visible | boolean | |
tools-comparator | OptionsType | Comparator options |
tools-comparator-fillstyle | string | Splitter fill style |
tools-comparator-fillstyle | FillStyle | Splitter fill style |
tools-comparator-linestyle | string | Splitter border line style |
tools-comparator-linestyle | LineStyle | Splitter border line style |
tools-comparator-width | number | Splitter width |
tools-crosshair | Options | Crosshair cursor options |
tools-crosshair-enabled | boolean | Enabled state |
tools-crosshair-layer | CompositeNode | Manipulator layer |
tools-crosshair-layer-clipping | boolean | Enable clipping, this does not consider the clipstyle, it is related to bounds-clipping |
tools-crosshair-layer-clipstyle | ClipStyle | Clipping style |
tools-crosshair-layer-clipstyle | GraphicsPath | Clipping style |
tools-crosshair-layer-cssclass | string | The css class name of this node |
tools-crosshair-layer-csscursor | string | CSS cursor associated with node |
tools-crosshair-layer-cssstyle | string | CSS style to be applied to inserted elements |
tools-crosshair-layer-id | string | number | Id of the node, its a unique identifier |
tools-crosshair-layer-infinity | boolean | Mode to render outside the model limits |
tools-crosshair-layer-localtransform | Transformation | Local transformation |
tools-crosshair-layer-margins | number | string | It has properties for specifying the margins for each side |
tools-crosshair-layer-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
tools-crosshair-layer-opacity | number | Node 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-opacityblendmode | BlendMode | Node opacity mode to blend it |
tools-crosshair-layer-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
tools-crosshair-layer-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
tools-crosshair-layer-tag | any | Custom 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-transform | string | Additional CSS transformation applied to node or 'none' |
tools-crosshair-layer-transform | Transformation | Additional CSS transformation applied to node or 'none' |
tools-crosshair-layer-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
tools-crosshair-layer-z-index | number | Define node z-index |
tools-crosshair-mouseradius | number | Device radius for mouse events |
tools-crosshair-name | string | Name of the tool used like cross-hair etc |
tools-crosshair-touchradius | number | Device radius for touch events |
tools-crosshair | Options | Crosshair cursor options |
tools-crosshair-east | LabelSettings | JSON for east label. See setLabelSettings for more details |
tools-crosshair-east-alignment | AnchorType | Alignment of the text |
tools-crosshair-east-cssclass | string | The css class name of this node |
tools-crosshair-east-displaymode | LabelDisplayMode | Label display mode, default is LabelDisplayMode.Shape |
tools-crosshair-east-fillstyle | string | Fill style of the text |
tools-crosshair-east-fillstyle | FillStyle | Fill style of the text |
tools-crosshair-east-linestyle | string | Line style of the text border |
tools-crosshair-east-linestyle | LineStyle | Line style of the text border |
tools-crosshair-east-offset | number | string | Label offset between the text and cross-hair cursor, use padding in case of undefined |
tools-crosshair-east-padding | number | |
tools-crosshair-east-paddingstyle | number | string | Padding style between the text and the border |
tools-crosshair-east-radius | number | Radius of the text shape border |
tools-crosshair-east-textstyle | string | Text style of the text |
tools-crosshair-east-textstyle | TextStyle | Text style of the text |
tools-crosshair-east-tooltip | Properties | Tooltip properties, this options applyes only in case if displaymode:LabelDisplayMode.DivElement |
tools-crosshair-east-tooltip-alignment | AnchorType | Tooltip alignment according to the point set by offsets |
tools-crosshair-east-tooltip-autoflip | boolean | True to automatically flip tooltip alignment if it doesn't fit the window |
tools-crosshair-east-tooltip-cssclasses | string | CSS classes' names to be applied for tooltip 'cg-tooltip' by default |
tools-crosshair-east-tooltip-delay | number | |
tools-crosshair-east-tooltip-hidedelay | number | Auto hide in millisecond, 0 means false and autohide is disabled |
tools-crosshair-east-tooltip-offsetx | number | Offset of tooltip from current position by x in pixels |
tools-crosshair-east-tooltip-offsety | number | Offset of tooltip from current position by y in pixels |
tools-crosshair-east-tooltip-orientation | Orientation | Tooltip orientation |
tools-crosshair-east-tooltip-showdelay | number | Delay between displaying tooltip, 0 means false and tooltip shows immediately |
tools-crosshair-east-tooltip-size | Range | Client size range |
tools-crosshair-east-visible | boolean | Visibility of the text |
tools-crosshair-east-z-index | number | Define node z-index |
tools-crosshair-fillstyle | string | Fillstyle of the cross-hair (used only with radius) |
tools-crosshair-fillstyle | FillStyle | Fillstyle of the cross-hair (used only with radius) |
tools-crosshair-horizontal | string | Linestyle for horizontal line |
tools-crosshair-horizontal | LineStyle | Linestyle for horizontal line |
tools-crosshair-keeporientation | boolean | Preserve annotation's orientation of labels for different |
tools-crosshair-labels | boolean | If 'none' of false - do not create labels |
tools-crosshair-linestyle | string |
|
tools-crosshair-linestyle | LineStyle |
|
tools-crosshair-north | LabelSettings | JSON for north label. See setLabelSettings for more details |
tools-crosshair-outlinestyle | string | OutLinestyle for both lines |
tools-crosshair-outlinestyle | LineStyle | OutLinestyle for both lines |
tools-crosshair-radius | number | Radius of the cross-hair center target |
tools-crosshair-south | LabelSettings | JSON for south label. See setLabelSettings for more details |
tools-crosshair-symbol | SymbolShape | Symbol of the cross-hair |
tools-crosshair-symbol-alignment | AnchorType | Alignment according to the anchor point |
tools-crosshair-symbol-alignment | AnchorType | Anchor type of symbol |
tools-crosshair-symbol-ax | number | Anchor x position |
tools-crosshair-symbol-ay | number | Anchor y position |
tools-crosshair-symbol-cache | boolean | Set it to true if you want to cache complex geometry to raster |
tools-crosshair-symbol-clipstyle | ClipStyle | Clipping style |
tools-crosshair-symbol-clipstyle | GraphicsPath | Clipping style |
tools-crosshair-symbol-cssclass | string | The css class name of this node |
tools-crosshair-symbol-csscursor | string | CSS cursor associated with node |
tools-crosshair-symbol-cssstyle | string | CSS style to be applied to inserted elements |
tools-crosshair-symbol-fillstyle | string | Style applied on fill |
tools-crosshair-symbol-fillstyle | FillStyle | Style applied on fill |
tools-crosshair-symbol-height | number | Shape height |
tools-crosshair-symbol-id | string | number | Id of the node, its a unique identifier |
tools-crosshair-symbol-ispointingup | boolean | Defines whether the shape is always pointing up |
tools-crosshair-symbol-layoutstyle | LayoutStyle | Layout style to specify how to lay out shape |
tools-crosshair-symbol-linestyle | string | Style applied on outline |
tools-crosshair-symbol-linestyle | LineStyle | Style applied on outline |
tools-crosshair-symbol-localtransform | Transformation | Local transformation |
tools-crosshair-symbol-margins | number | string | It has properties for specifying the margins for each side |
tools-crosshair-symbol-maxdimension | Dimension | Maximum size for rendering |
tools-crosshair-symbol-mindimension | Dimension | Minimum size for rendering |
tools-crosshair-symbol-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
tools-crosshair-symbol-opacity | number | Node 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-opacityblendmode | BlendMode | Node opacity mode to blend it |
tools-crosshair-symbol-painter | string | A function with has parameters: symbol, box, context |
tools-crosshair-symbol-painterproperties | any | Symbol's painter's properties |
tools-crosshair-symbol-preserveaspectratio | boolean | Preserve aspect ratio of the anchored shape |
tools-crosshair-symbol-preservereadingorientation | boolean | Preserve reading orientation for local transform |
tools-crosshair-symbol-preserverightangle | boolean | Preserve right angle for local transformation |
tools-crosshair-symbol-rotationangle | number | Rotation angle at anchor |
tools-crosshair-symbol-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
tools-crosshair-symbol-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
tools-crosshair-symbol-sizeisindevicespace | boolean | Is coordinate in device space |
tools-crosshair-symbol-tag | any | Custom 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-transform | string | Additional CSS transformation applied to node or 'none' |
tools-crosshair-symbol-transform | Transformation | Additional CSS transformation applied to node or 'none' |
tools-crosshair-symbol-useminmaxdimensions | boolean | Use the min max dimensions to limit visual size |
tools-crosshair-symbol-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
tools-crosshair-symbol-width | number | Shape width |
tools-crosshair-symbol-z-index | number | Define node z-index |
tools-crosshair-textstyle | string |
|
tools-crosshair-textstyle | TextStyle |
|
tools-crosshair-vertical | string | Linestyle for vertical line |
tools-crosshair-vertical | LineStyle | Linestyle for vertical line |
tools-crosshair-west | LabelSettings | JSON for west label. See setLabelSettings for more details |
tools-horizonpicker | Options | Horizon picker options |
tools-horizonpicker | Options | Horizon picker options |
tools-horizonpicker-erasershape | AnchoredShape | Eraser shape (default is red square) |
tools-horizonpicker-erasershape-alignment | AnchorType | Alignment according to the anchor point |
tools-horizonpicker-erasershape-ax | number | Anchor x position |
tools-horizonpicker-erasershape-ay | number | Anchor y position |
tools-horizonpicker-erasershape-clipstyle | ClipStyle | Clipping style |
tools-horizonpicker-erasershape-clipstyle | GraphicsPath | Clipping style |
tools-horizonpicker-erasershape-cssclass | string | The css class name of this node |
tools-horizonpicker-erasershape-csscursor | string | CSS cursor associated with node |
tools-horizonpicker-erasershape-cssstyle | string | CSS style to be applied to inserted elements |
tools-horizonpicker-erasershape-fillstyle | string | Style applied on fill |
tools-horizonpicker-erasershape-fillstyle | FillStyle | Style applied on fill |
tools-horizonpicker-erasershape-height | number | Shape height |
tools-horizonpicker-erasershape-id | string | number | Id of the node, its a unique identifier |
tools-horizonpicker-erasershape-ispointingup | boolean | Defines whether the shape is always pointing up |
tools-horizonpicker-erasershape-layoutstyle | LayoutStyle | Layout style to specify how to lay out shape |
tools-horizonpicker-erasershape-linestyle | string | Style applied on outline |
tools-horizonpicker-erasershape-linestyle | LineStyle | Style applied on outline |
tools-horizonpicker-erasershape-localtransform | Transformation | Local transformation |
tools-horizonpicker-erasershape-margins | number | string | It has properties for specifying the margins for each side |
tools-horizonpicker-erasershape-maxdimension | Dimension | Maximum size for rendering |
tools-horizonpicker-erasershape-mindimension | Dimension | Minimum size for rendering |
tools-horizonpicker-erasershape-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
tools-horizonpicker-erasershape-opacity | number | Node 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-opacityblendmode | BlendMode | Node opacity mode to blend it |
tools-horizonpicker-erasershape-preserveaspectratio | boolean | Preserve aspect ratio of the anchored shape |
tools-horizonpicker-erasershape-preservereadingorientation | boolean | Preserve reading orientation for local transform |
tools-horizonpicker-erasershape-preserverightangle | boolean | Preserve right angle for local transformation |
tools-horizonpicker-erasershape-rotationangle | number | Rotation angle at anchor |
tools-horizonpicker-erasershape-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
tools-horizonpicker-erasershape-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
tools-horizonpicker-erasershape-sizeisindevicespace | boolean | Is coordinate in device space |
tools-horizonpicker-erasershape-tag | any | Custom 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-transform | string | Additional CSS transformation applied to node or 'none' |
tools-horizonpicker-erasershape-transform | Transformation | Additional CSS transformation applied to node or 'none' |
tools-horizonpicker-erasershape-useminmaxdimensions | boolean | Use the min max dimensions to limit visual size |
tools-horizonpicker-erasershape-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
tools-horizonpicker-erasershape-width | number | Shape width |
tools-horizonpicker-erasershape-z-index | number | Define node z-index |
tools-horizonpicker-erasersize | number | Eraser size |
tools-horizonpicker-extendedfocus | boolean | True for extended focus |
tools-horizonpicker-focussymbol | SymbolShape | Symbol for point focus (default is red square) |
tools-horizonpicker-focusthreshold | number | Focus threshold (in devices) |
tools-horizonpicker-highlightlinestyle | string | Linestyle of highlighted horizon (default is red) |
tools-horizonpicker-highlightlinestyle | LineStyle | Linestyle of highlighted horizon (default is red) |
tools-horizonpicker-linestyle | string | Linestyle of horizon (default is red) |
tools-horizonpicker-linestyle | LineStyle | Linestyle of horizon (default is red) |
tools-horizonpicker-mode | Mode | Mode of horizon picker |
tools-horizonpicker-propagatorthresholderror | number | Propagator threshold error (in percents, must be > 0) |
tools-panning | Options | Panning options |
tools-panning | Options | Panning options |
tools-panning-acceptx | boolean | Accept x coordinates |
tools-panning-inertiacoef | number | boolean | Inertia coefficient for inertia effect |
tools-panning-panningthreshold | number | Threshold 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-wheelratio | number | Number that represent the number default |
tools-rubberbandzoom | Options | Rubber band zoom options |
tools-rubberbandzoom | Options | Rubber band zoom options |
tools-rubberbandzoom-mode | RubberBandRenderMode | Rubber mode |
tools-rubberbandzoom | Options | Rubber band zoom options |
tools-rubberbandzoom-acceptemptyrect | boolean | Does rubber band accept empty rect |
tools-rubberbandzoom-autodisabled | boolean | Does rubber band automatically disabled on zoom end |
tools-rubberbandzoom-fillstyle | string | Rubber band fillstyle |
tools-rubberbandzoom-fillstyle | FillStyle | Rubber band fillstyle |
tools-rubberbandzoom-linestyle | string | Rubber band linestyle |
tools-rubberbandzoom-linestyle | LineStyle | Rubber band linestyle |
tools-rubberbandzoom-restrictionarea | Rect | Specify restriction area |
tools-zoom | Options | Zoom options |
tools-zoom | Options | Zoom options |
tools-zoom-easing | Functions | Easing animation function for elastic zooming |
tools-zoom-max | number | Maximum limits for zooming (>= options.zoom.min) |
tools-zoom-min | number | Minimum limits for zooming (>= 0) |
tools-zoom-mode | Mode | Mode of pinch zooming |
tools-zoom-modifier | ModifierKey | Modifier key for zoom, default is ModifierKey.None |
tools-zoom-speed | number | Speed of zooming (>= 1) |
tools-zoom-time | number | Zooming time in ms (> 0 for elastic, 0 for instant) |
tools | ToolsOptions | Tools options |
Constructors
• new SeismicWidget(options?)
Create seismic widget
| Name | Type | Description |
|---|---|---|
Optional options | SeismicPipeline | Options | options or seismic pipeline |
SeismicViewWidget.constructor
Methods
▸ addBaseLayer(baseLayer): SeismicWidget
Add baseLayer to container
this
SeismicViewWidget.addBaseLayer
▸ addChild(node): SeismicWidget
Add a child node
this
▸ addCssClass(cssclass): SeismicWidget
Adds new css class to node
| Name | Type | Description |
|---|---|---|
cssclass | string | string[] | css class name('s) |
this
▸ addHeaderChart(headerName, options?): SeismicWidget
Add header chart
| Name | Type | Description |
|---|---|---|
headerName | string | trace header name |
Optional options | HeaderOptions | chart options |
this
▸ addInvalidateHandler(handler): SeismicWidget
Add invalidate handler
Deprecated
since 4.0, use Node.on instead
| Name | Type | Description |
|---|---|---|
handler | Function | handler to be notified about invalidation |
this
SeismicViewWidget.addInvalidateHandler
▸ addOverlay(overlay): SeismicWidget
Add overlay to container
this
▸ adjustPosition(area?, vAlign?, hAlign?): SeismicWidget
Adjust position of node to specified area
| Name | Type | Description |
|---|---|---|
Optional area | Rect | specified area. Default to Parent Model Limits |
Optional vAlign | string | vertical alignment. It can be "top", "bottom", "center". Defaults to "top". |
Optional hAlign | string | horizontal alignment It can be "left", "right", "center". Defaults to "left". |
this
SeismicViewWidget.adjustPosition
▸ Protected applyOpacity(context): SeismicWidget
This method is called to apply opacity if it is specified on the rendering context. The default implementation sets global alpha on the rendering context
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
this
SeismicViewWidget.applyOpacity
▸ Protected applyResponsiveStyle(): void
Apply a responsive style rules it is exists
void
SeismicViewWidget.applyResponsiveStyle
▸ beginExport(options?): SeismicWidget
Used to prepare object before exporting
| Name | Type | Description |
|---|---|---|
Optional options | ExportToPdfOptions | export options |
this
▸ changeBaseLayerOrder(overlay, order, anchor?): SeismicWidget
Changes the z-order of the baseLayer.
| Name | Type | Description |
|---|---|---|
overlay | Node | |
order | NodeOrder | position to be added |
Optional anchor | Node | anchor node to specify changeOrder with respect to this node |
this
SeismicViewWidget.changeBaseLayerOrder
▸ changeChildOrder(node, order, anchor?): SeismicWidget
changes the z-order of the nodes being rendered.
| Name | Type | Description |
|---|---|---|
node | Node | any child added in the Composite node |
order | NodeOrder | position to be added |
Optional anchor | Node | anchor node to specify changeOrder with respect to this node |
this
SeismicViewWidget.changeChildOrder
▸ changeOverlayOrder(overlay, order, anchor?): SeismicWidget
Changes the z-order of the overlay.
| Name | Type | Description |
|---|---|---|
overlay | Node | child overlay |
order | NodeOrder | position to be added |
Optional anchor | Node | anchor node to specify changeOrder with respect to this node |
this
SeismicViewWidget.changeOverlayOrder
▸ checkCollision(context): boolean
Check culling Returns true if object is inside of renderable area
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
boolean
true if node is collided
SeismicViewWidget.checkCollision
▸ clearBaseLayers(disposeBaseLayers?): SeismicWidget
Remove all child baseLayers from group
| Name | Type | Description |
|---|---|---|
Optional disposeBaseLayers | boolean | automatically dispose baseLayers. If it is true then method dispose is called for each baseLayer, false by default |
this
SeismicViewWidget.clearBaseLayers
▸ clearCache(): SeismicWidget
Clear cache
this
▸ clearChildren(disposeChildren?): SeismicWidget
Remove all child nodes from this composite group
| Name | Type | Description |
|---|---|---|
Optional disposeChildren | boolean | automatically dispose children. If it is true then method dispose is called for each child. |
this
SeismicViewWidget.clearChildren
▸ clearOverlays(disposeOverlays?): SeismicWidget
Remove all child overlays from group
| Name | Type | Description |
|---|---|---|
Optional disposeOverlays | boolean | automatically dispose overlays. If it is true then method dispose is called for each overlay, false by default |
this
SeismicViewWidget.clearOverlays
All subclasses should override copyConstructor or provide custom implementation for this method
clone
▸ connectStyle(style, type, callback): SeismicWidget
Connects style.
This convenience method subscribes a listener to given style for the specified type.
And automatically un-subscribes listener if node is disposed to prevent memory leaks
| Name | Type | Description |
|---|---|---|
style | EventDispatcher | connect style |
type | string | type of event or property |
callback | AttributeCallback<EventDispatcher> | function to be called |
this
SeismicViewWidget.connectStyle
▸ connectTool(tool): SeismicWidget
Connect a new tool with a toolname to the widget
| Name | Type | Description |
|---|---|---|
tool | AbstractTool | AbstractTool[] | tool associated with the widget |
this
▸ Protected copyConstructor(src, deepCopy?): SeismicWidget
Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.
this
SeismicViewWidget.copyConstructor
▸ disconnectStyle(style, type, callback): SeismicWidget
Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.
| Name | Type | Description |
|---|---|---|
style | EventDispatcher | connect style |
type | string | type of event or property |
callback | AttributeCallback<EventDispatcher> | function to be called |
this
SeismicViewWidget.disconnectStyle
▸ disconnectTool(tool): SeismicWidget
Disconnect the tool from the widget
| Name | Type | Description |
|---|---|---|
tool | AbstractTool | AbstractTool[] | tool to disconnect |
this
SeismicViewWidget.disconnectTool
▸ dispose(): void
Disposes this node, once disposes a node should not be used anymore.
Clear all listeners, and disconnect styles to avoid memory leaks.
Also aggressively 'cleanup' this node by setting some of its members to null.
void
▸ Protected drawBorder(localContext, bounds?): SeismicWidget
Draws a rectangle at the bounding box (in parent coordinates)
| Name | Type | Description |
|---|---|---|
localContext | RenderingContext | The local rendering context |
Optional bounds | Rect | group bounds |
this
▸ enableClipping(doClip): SeismicWidget
Enables or disables clipping of this node. If enabled, shapes will not be rendered outside of its bounds.
| Name | Type | Description |
|---|---|---|
doClip | boolean | enable clipping on this node |
this
SeismicViewWidget.enableClipping
▸ enableEventPropagation(enable): SeismicWidget
Enable event propagation from the node hierarchy from bottom to top
This option is similar to DOM Event bubbling, which allows to get any event from child node. By default it is disabled for better performance.
Example
import {Group} from '@int/geotoolkit/scene/Group';
import {Events as SceneEvents} from '@int/geotoolkit/scene/Node';
const parentGroup = new Group()
.setName('ParentGroup')
.enableEventPropagation(true);
const childGroup = new Group()
.setName('ChildGroup');
parentGroup.addChild(childGroup);
parentGroup.on(SceneEvents.Invalidate, (eventName, sender, args) => {
// Got notifications from all children of parent group
});
childGroup.invalidate();| Name | Type | Description |
|---|---|---|
enable | boolean | enable |
this
SeismicViewWidget.enableEventPropagation
▸ enablePickingChildren(enable): SeismicWidget
Enables or disables picking children
| Name | Type | Description |
|---|---|---|
enable | boolean | enable picking children |
this
SeismicViewWidget.enablePickingChildren
▸ endExport(options?): SeismicWidget
Used to restore object's state after exporting
| Name | Type | Description |
|---|---|---|
Optional options | ExportToPdfOptions | export options |
this
▸ enumerateNodes(callback, target?): void
Executes a provided function once for each child node
| Name | Type | Description |
|---|---|---|
callback | Callback<Node> | provided function |
Optional target | QueryBuilder<any> | target to pass to callback as a second parameter |
void
SeismicViewWidget.enumerateNodes
▸ execute(delegate): SeismicWidget
Executes delegate and return the result. It allows us to keep all initialization calls in one place,
and we do not need to scroll up or down in IDE to find how and where it was initialized.
Example
// All setters (.setName() for example) returns reference to the this.
// In order to modify inner object like LineStyle or Pattern, to get this object (property) we should call getter to get object reference.
// Then modify it as shown below in Option 1 or you can use execute methods shown in Option 2.
import {Group} from '@int/geotoolkit/scene/Group';
import {Rect} from '@int/geotoolkit/util/Rect';
// Option 1
const group = new Group()
.setName('MyGroup')
.setBounds(new Rect(0, 0, 42, 16))
.enableClipping(true)
.setTag({'type': 'sometype'});
group.getLineStyle().setPattern('pattern');
return group;
// Options 2 ( using execute method )
return group
.execute(function () {
this.getLineStyle()
.setPattern("pattern");
});| Name | Type | Description |
|---|---|---|
delegate | (this: SeismicWidget) => void | Function to execute |
The result if any or this
▸ execute<T>(delegate): T
| Name |
|---|
T |
| Name | Type |
|---|---|
delegate | (this: SeismicWidget) => T |
T
▸ exportToPdf(options?): Promise<IWritable>
Exports the widget content as a PDF file, user has option to select the scale of track in pdf.
| Name | Type | Description |
|---|---|---|
Optional options | ExportToPdfOptions | option to specify paper parameters and header and footer |
Promise<IWritable>
promise with output stream
▸ Protected filter(context): boolean
Filter node
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
boolean
flag filter flag ("true" to render node; "false" otherwise)
▸ fitToBounds(silent?): SeismicWidget
Fit content to bounds
| Name | Type | Description |
|---|---|---|
Optional silent | boolean | optional parameter to synchronize limits |
this
▸ fitToHeight(silent?): SeismicWidget
Fit content to height
| Name | Type | Description |
|---|---|---|
Optional silent | boolean | optional parameter to synchronize limits |
this
▸ fitToWidth(silent?): SeismicWidget
Fit content to width
| Name | Type | Description |
|---|---|---|
Optional silent | boolean | optional parameter to synchronize limits |
this
▸ getAnimationStyle(): AnimationStyle
Return animation style
animationStyle current animation style
SeismicViewWidget.getAnimationStyle
▸ getAnnotation(location): Group<Node>
Return the node at the specific annotation
| Name | Type | Description |
|---|---|---|
location | AnnotationLocation | position to return the node for |
SeismicViewWidget.getAnnotation
▸ 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
boolean
mode
SeismicViewWidget.getAutoModelLimitsMode
▸ getAutoModelLimitsStrategy(): ModelLimitsStrategy
Get Model Limits Logics Strategy
strategy
SeismicViewWidget.getAutoModelLimitsStrategy
▸ getAuxiliaryChart(): TraceHeaderChartWidget
Returns Auxiliary chart widget
▸ getBaseLayer(index): Node
Return baseLayer at specified index
| Name | Type | Description |
|---|---|---|
index | number | index at which to get the baseLayer for |
track
SeismicViewWidget.getBaseLayer
▸ getBaseLayers<S>(predicate, modify?): Iterator<Node>
Return iterator by baseLayers nodes
| Name | Type |
|---|---|
S | extends Node<S> |
| Name | Type | Description |
|---|---|---|
predicate | (value: Node) => value is S | a filter function |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
SeismicViewWidget.getBaseLayers
▸ getBaseLayers(filter?, modify?): Iterator<Node>
Returns an iterator for child baseLayers. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.
Example
// Gets a writable iterator
const it = node.getOverlays(null, true);| Name | Type | Description |
|---|---|---|
Optional filter | (node: Node) => boolean | A filter function. Returns all overlays if null. |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
An iterator for child overlays.
SeismicViewWidget.getBaseLayers
▸ getBaseLayersCount(): number
Returns amount of baseLayers
number
SeismicViewWidget.getBaseLayersCount
▸ getBounds(): Rect
Get the bounds in the parents model space. If bounds are not set, then parent model limits are used.
current bounds
▸ getCache(): Cache
Return cache strategy to be used to cache children nodes
cache
▸ getChild(i): Node
Return node by index
| Name | Type | Description |
|---|---|---|
i | number | index of the node |
▸ getChildren<S>(predicate, modify?): Iterator<S>
Return iterator by child nodes
| Name | Type |
|---|---|
S | extends Node<S> |
| Name | Type | Description |
|---|---|---|
predicate | (value: Node) => value is S | a filter function |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
Iterator<S>
▸ 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);| Name | Type | Description |
|---|---|---|
Optional filter | (node: Node) => boolean | A filter function. Returns all nodes if null. |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
An iterator for child nodes.
▸ getChildrenCount(): number
Return number of child nodes
number
SeismicViewWidget.getChildrenCount
▸ getClassName(): string
string
SeismicViewWidget.getClassName
▸ getClipStyle(): ClipStyle
Gets the current clipping style
clipping style
SeismicViewWidget.getClipStyle
▸ getCollectPerformanceInformation(): boolean
Gets collect performance information mode enabled
boolean
true if collection performance information mode enabled
SeismicViewWidget.getCollectPerformanceInformation
▸ getColorBarPipeline(): SeismicPipeline
Return pipeline to be used for colorbar
Seismic Pipeline
SeismicViewWidget.getColorBarPipeline
▸ getContentOrientation(): Orientation
Return content orientation
content orientation
SeismicViewWidget.getContentOrientation
▸ getContentsArea(transformation?): Rect
Return area without paddings. Model limits are mapped to content area, where children are layout.
| Name | Type | Description |
|---|---|---|
Optional transformation | Transformation | scene transformation |
SeismicViewWidget.getContentsArea
▸ getContentsTransform(): Transformation
getContentsTransform() retrieves the world transformation of the node.
transformation from model coordinates to bounds of the group
SeismicViewWidget.getContentsTransform
▸ getCss(): CssStyle
Return CSS style
▸ getCssClass(): string
Returns css class name to be used to apply CSS style
string
the css class name
▸ getCssClasses(): string[]
Gets list of css class names which applied to this node
string[]
SeismicViewWidget.getCssClasses
▸ getCssTransform(): string
Returns CSS transformation
string
SeismicViewWidget.getCssTransform
▸ getData(getDataOptions?): DataOptionsOut
Get widget options
| Name | Type | Description |
|---|---|---|
Optional getDataOptions | Object | optional parameter to specify additional request to get colormap |
Optional getDataOptions.no-data | boolean |
options
▸ getDesiredHeight(): string | number
Returns desired height of the group as a layoutable object This method is a helper method to get access to getLayoutStyle()
string | number
desired height ("undefined" by default)
SeismicViewWidget.getDesiredHeight
▸ getDesiredWidth(): string | number
Returns desired width of the group as a layoutable object. This method is a helper method to get access to getLayoutStyle()
string | number
desired width ("undefined" by default)
SeismicViewWidget.getDesiredWidth
▸ getDeviceLimits(): Rect
Return device limits
SeismicViewWidget.getDeviceLimits
▸ getExportElement(options?): CompositeDocumentElement
Returns exportable element
| Name | Type | Description |
|---|---|---|
Optional options | ExportToPdfOptions | export options |
return exportable element
SeismicViewWidget.getExportElement
▸ getFillStyle(): FillStyle
Return fill style
fillStyle current fill style
SeismicViewWidget.getFillStyle
▸ getId(): string | number
Returns the associated identifier of the node
string | number
The node's id
▸ getInfiniteMode(): boolean
Return infinity mode flag
boolean
flag
SeismicViewWidget.getInfiniteMode
▸ Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>
Gets invalidate method
AttributeCallback<EventDispatcher>
method to invalidate this object
SeismicViewWidget.getInvalidateMethod
▸ getLayout(): Layout
Returns layout associated with the group
layout
▸ getLayoutStyle(): LayoutStyle<string | number>
return desired layout style
LayoutStyle<string | number>
SeismicViewWidget.getLayoutStyle
▸ getLineStyle(): LineStyle
Return border style
SeismicViewWidget.getLineStyle
▸ getLocalTransform(): Transformation
Retrieves the transformation of bounds to parent
transform the local transform.
SeismicViewWidget.getLocalTransform
▸ getManipulatorLayer(): Layer<Node>
Return manipulator layer
SeismicViewWidget.getManipulatorLayer
▸ getManipulatorType(): ManipulatorType
Returns active manipulator type
SeismicViewWidget.getManipulatorType
▸ getMarginsStyle(): SpaceStyle<string | number>
Return margins style
SpaceStyle<string | number>
SeismicViewWidget.getMarginsStyle
Returns the seismic model node
▸ getModelLimits(): Rect
Gets model limits, the limits of this groups inside space
the current model limits
SeismicViewWidget.getModelLimits
▸ getName(): string
Returns the node name
string
The node name
▸ getOpacity(): number
Returns current node opacity
number
opacity
▸ getOpacityBlendMode(): BlendMode
Returns current node opacity
opacity blend mode
SeismicViewWidget.getOpacityBlendMode
▸ getOptions(): OptionsBaseOut
Returns current widget options
options see SeismicWidget.getProperties
▸ getOrientation(): Orientation
Returns seismic trace orientation
seismic trace orientation
SeismicViewWidget.getOrientation
▸ getOverlay(index): Node
Return overlay at specified index
| Name | Type | Description |
|---|---|---|
index | number | index at which to get the overlay for |
track
▸ getOverlayAt(index): Node
Return overlay at specified index
Deprecated
since 4.2 use getOverlay instead
| Name | Type | Description |
|---|---|---|
index | number | index at which to get the overlay for |
track
SeismicViewWidget.getOverlayAt
▸ getOverlayLayer(): Layer<Node>
Returns manipulator overlay to draw shapes that should move with the model
SeismicViewWidget.getOverlayLayer
▸ getOverlays<S>(predicate, modify?): Iterator<Node>
Return iterator by overlays nodes
| Name | Type |
|---|---|
S | extends Node<S> |
| Name | Type | Description |
|---|---|---|
predicate | (value: Node) => value is S | a filter function |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
▸ 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);| Name | Type | Description |
|---|---|---|
Optional filter | (node: Node) => boolean | A filter function. Returns all overlays if null. |
Optional modify | boolean | An option to specify if the iterator supports adding/removing items from the collection. false by default. |
An iterator for child overlays.
▸ getOverlaysCount(): number
Returns amount of overlays
number
SeismicViewWidget.getOverlaysCount
▸ getPaddingStyle(): SpaceStyle<string | number>
Return padding style
SpaceStyle<string | number>
padding
SeismicViewWidget.getPaddingStyle
▸ getParent(): Node
Return parent node
parent node
▸ getPipeline(): SeismicPipeline
returns active pipeline
pipeline
▸ getPreferredSize(): Rect
Return preferred size to layout children
SeismicViewWidget.getPreferredSize
▸ getProperties(context?): OptionsOut
Gets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional context | ISerializationContext | serialization context |
properties object
SeismicViewWidget.getProperties
▸ getProperty(name): any
Gets dynamic property by name. These properties can be used as a property bags
| Name | Type | Description |
|---|---|---|
name | string | property name |
any
▸ getPropertyKeys(): string[]
Returns known properties keys
string[]
SeismicViewWidget.getPropertyKeys
▸ getRenderingFilter(): IFilter
Return filter to be used for rendering and picking
current filter
SeismicViewWidget.getRenderingFilter
▸ getResponsiveStyle(): ResponsiveStyle
Return responsive style
SeismicViewWidget.getResponsiveStyle
▸ getRoot(): Node
Returns root node.
If node doesn't have parent then it returns itself.
the root node
▸ getScaleOptions(): Required<ScaleOptions>
Returns scale options.
Required<ScaleOptions>
object
SeismicViewWidget.getScaleOptions
▸ getScaleScrollStrategy(): Delegate
Gets scale scroll strategy
scale scroll strategy
SeismicViewWidget.getScaleScrollStrategy
▸ getSceneTransform(): Transformation
Returns transformation from node to root scene
a transformation from node to root scene
SeismicViewWidget.getSceneTransform
▸ getSeismicImage(): SeismicImage
return active seismic image
SeismicViewWidget.getSeismicImage
▸ getSeismicModel(): Group<Node>
Returns the group, which contains seismic images
SeismicViewWidget.getSeismicModel
▸ getSeismicModelLimits(): Rect
return seismic model limits
SeismicViewWidget.getSeismicModelLimits
▸ getTableHeaders(): "*" | Header[]
Returns preferred headers array(or string) that are displaying in table widget
"*" | Header[]
can be '*' or array of objects with 'identifier', 'name' and 'title' property
▸ getTableTraceFilter(): FilterCallback
Get table trace filter
filter
▸ getTableView(): TraceHeaderViewWidget
Returns Trace header table widget
▸ getTag(): any
Returns the object associated with the node by user.
any
The node's user-object
▸ getTitle(): Title
Gets widget title
title
▸ getTool(): CompositeTool
Returns root tool associated to this widget
▸ 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()
| Name | Type |
|---|---|
T | extends string |
| Name | Type | Description |
|---|---|---|
toolName | T | The tool name or path |
Tools[T]
SeismicViewWidget.getToolByName
▸ 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")
| Name | Type | Description |
|---|---|---|
toolType | ClassType<any> | toolType of the tool |
SeismicViewWidget.getToolByType
▸ getTraceHeader(headerName): FieldDesc
Returns header description, if header exists
| Name | Type | Description |
|---|---|---|
headerName | string | header name |
header description
SeismicViewWidget.getTraceHeader
▸ getTraceHeaderAxis(headerField): TraceHeaderAxis
Returns information about shapes like axis and labels associated with the header
| Name | Type | Description |
|---|---|---|
headerField | FieldDesc | "TraceNumber" | header field description, accept only 'TraceNumber' as a string |
helper, information about shapes associated with header
SeismicViewWidget.getTraceHeaderAxis
▸ getTraceHeaderVisible(headerField): boolean
Check if the trace header is visible
| Name | Type | Description |
|---|---|---|
headerField | FieldDesc | "TraceNumber" | field to check visibility, accept only 'TraceNumber' as a string |
boolean
SeismicViewWidget.getTraceHeaderVisible
▸ getTraceHeaders(): string[]
Returns the array of available headers
string[]
array of available headers
SeismicViewWidget.getTraceHeaders
▸ getVisible(): boolean
Return visibility of the node
boolean
true if node is visible
▸ getVisibleDeviceLimits(ignoreModelLimits?): Rect
Return visible device limits
| Name | Type | Description |
|---|---|---|
Optional ignoreModelLimits | boolean | flag defines whether to ignore ModelLimits or not |
SeismicViewWidget.getVisibleDeviceLimits
▸ getVisibleModelLimits(ignoreModelLimits?): Rect
Return visible model limits
| Name | Type | Description |
|---|---|---|
Optional ignoreModelLimits | boolean | flag defines whether to ignore ModelLimits or not |
SeismicViewWidget.getVisibleModelLimits
▸ getVisibleSeismicDeviceLimits(): Rect
return seismic model limits
SeismicViewWidget.getVisibleSeismicDeviceLimits
▸ getVisibleSeismicModelLimits(ignoreModelLimits?): Rect
Returns seismic visible model limits
| Name | Type | Description |
|---|---|---|
Optional ignoreModelLimits | boolean | flag 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 |
SeismicViewWidget.getVisibleSeismicModelLimits
▸ getWidgetTools(): AbstractCompositeTool
Return widgets tool
SeismicViewWidget.getWidgetTools
▸ getWorldTransform(): Transformation
Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.
SeismicViewWidget.getWorldTransform
▸ getZIndex(): number
Returns node z-index (null if not set)
number
▸ hasCssClass(cssClass): boolean
Check if node has specified css class
| Name | Type | Description |
|---|---|---|
cssClass | string | css class name |
boolean
▸ hasEventListener(type, callback?): boolean
Check if a list of event listeners for this type contains this listener
| Name | Type | Description |
|---|---|---|
type | string | type of event or property |
Optional callback | Function | to be called, if null, check if any callback is registered |
boolean
SeismicViewWidget.hasEventListener
▸ indexOfBaseLayer(baseLayer): number
Return index of overlay ( index of the specified child or -1 if baseLayer is not found)
| Name | Type | Description |
|---|---|---|
baseLayer | Node | baseLayer to check index |
number
SeismicViewWidget.indexOfBaseLayer
▸ indexOfChild(node): number
Return index of child ( index of the specified child or -1 if node is not found)
| Name | Type | Description |
|---|---|---|
node | Node | node to check index |
number
SeismicViewWidget.indexOfChild
▸ indexOfOverlay(overlay): number
Return index of overlay ( index of the specified child or -1 if overlay is not found)
| Name | Type | Description |
|---|---|---|
overlay | Node | overlay to check index |
number
SeismicViewWidget.indexOfOverlay
▸ Protected initializeTools(options?): SeismicWidget
function call in the constructor to initialize tools in the widget
| Name | Type | Description |
|---|---|---|
Optional options | ToolsOptions | tools options |
this
SeismicViewWidget.initializeTools
▸ insertBaseLayer(index, baseLayer): SeismicWidget
Insert child baseLayer at specified index
| Name | Type | Description |
|---|---|---|
index | number | specified index |
baseLayer | Node | a baseLayer to add |
this
SeismicViewWidget.insertBaseLayer
▸ insertChild(index, node): SeismicWidget
Insert child node at specified index
| Name | Type | Description |
|---|---|---|
index | number | specified index |
node | Node | a child node to add |
this
▸ insertOverlay(index, overlay): SeismicWidget
Insert child overlay at specified index
| Name | Type | Description |
|---|---|---|
index | number | specified index |
overlay | Node | a overlay to add |
this
SeismicViewWidget.insertOverlay
▸ invalidate(bounds?, force?): SeismicWidget
Invalidate node
| Name | Type | Description |
|---|---|---|
Optional bounds | Rect | optional rectangular area to be invalidated, or force flag if rectangle is empty |
Optional force | boolean | optional boolean parameter that can force invalidation |
this
▸ invalidateLayout(propagate?): SeismicWidget
Notify that layout is invalidated. Send event Events.LayoutInvalidated
| Name | Type | Description |
|---|---|---|
Optional propagate | boolean | propagate invalidate layout to parent |
this
SeismicViewWidget.invalidateLayout
▸ invalidateParent(bounds?, force?): SeismicWidget
Invalidate parent area
| Name | Type | Description |
|---|---|---|
Optional bounds | Rect | area to invalidate |
Optional force | boolean | force |
this
SeismicViewWidget.invalidateParent
▸ isClippingEnabled(): boolean
Returns if clipping is enabled or not for this node.
boolean
SeismicViewWidget.isClippingEnabled
▸ isDisposed(): boolean
Returns whether this object has been disposed
boolean
▸ isEventPropagationEnabled(): boolean
Return true if event propagation is enabled from child to parent
boolean
SeismicViewWidget.isEventPropagationEnabled
▸ isHorizontalFlip(): boolean
Return true if the representation is flipped horizontally
boolean
flip
SeismicViewWidget.isHorizontalFlip
▸ isLayoutInvalidated(): boolean
Return true if layout is invalid
boolean
SeismicViewWidget.isLayoutInvalidated
▸ isNotificationEnabled(): boolean
return state of notification
boolean
current notification state
SeismicViewWidget.isNotificationEnabled
▸ isPickingChildrenEnabled(): boolean
Returns if picking children is enabled or not for this node.
boolean
pickingChildren
SeismicViewWidget.isPickingChildrenEnabled
▸ isSelectable(): boolean
Returns true if node can be picked/selected.
boolean
The selectable flag
SeismicViewWidget.isSelectable
▸ isSilent(): boolean
Return true if the event dispatcher doesn't notify any events
boolean
▸ isVerticalFlip(): boolean
Return true if the representation is flipped vertically
boolean
flip
SeismicViewWidget.isVerticalFlip
▸ listToolsNames(): string[]
List all the tools contained in this composite. Prepend their parent tools parent using a '.'.
string[]
SeismicViewWidget.listToolsNames
▸ 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
| Name | Type | Description |
|---|---|---|
template | string | template to be applied to current widget |
Optional registry | Registry | registry |
void
SeismicViewWidget.loadTemplate
▸ moveTo(area, vAlign?, hAlign?): SeismicWidget
MoveTo position of node to specified area
| Name | Type | Description |
|---|---|---|
area | Rect | specified area |
Optional vAlign | string | vertical alignment. It can be "top", "bottom", "center". |
Optional hAlign | string | horizontal alignment It can be "left", "right", "center". |
this
▸ notify<E>(type, source, args?): SeismicWidget
Notify listeners of the Node
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
type | E | type of event |
source | SeismicWidget | source who called the event |
Optional args | EventMap[E] | event arguments |
this
▸ Protected notifyRoot(event, source, args?): Node
Notify an even to root node
| Name | Type | Description |
|---|---|---|
event | string | type of event |
source | Node | source who called the event |
Optional args | any | event arguments |
this
▸ notifyStateChanged(): void
Invalidate node
Deprecated
4.0. Not use this method.
void
SeismicViewWidget.notifyStateChanged
▸ off<E>(type?, callback?): SeismicWidget
Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
Optional type | E | type of the event |
Optional callback | (eventType: E, sender: SeismicWidget, args: EventMap[E]) => void | function to be called |
this
▸ on<E>(type, callback): SeismicWidget
Attach listener on event that will be called whenever the specified event is delivered to the target
If the callback function is already in the list of event listeners for this target, the function is not added a second time.
If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target.
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
type | E | type of event or property |
callback | (eventType: E, sender: SeismicWidget, args: EventMap[E]) => void | to be called |
this
▸ Protected onBoundsChanged(bounds): SeismicWidget
Occurs when bounds has been changed
| Name | Type | Description |
|---|---|---|
bounds | Rect | bound of the node in the parent coordinates |
this
SeismicViewWidget.onBoundsChanged
▸ Protected onChildAdded(child): void
This method is called it child or children are added
void
SeismicViewWidget.onChildAdded
▸ Protected onChildRemoved(child): void
This method is called it child or children are removed
| Name | Type | Description |
|---|---|---|
child | Node | removed child |
void
SeismicViewWidget.onChildRemoved
▸ Protected onColorBarLocationChanged(): void
void
SeismicViewWidget.onColorBarLocationChanged
▸ Protected onOrientationChanged(): SeismicWidget
SeismicViewWidget.onOrientationChanged
▸ Protected onParentChanged(node): SeismicWidget
This method is called when parent changes. Do not call it directly.
| Name | Type | Description |
|---|---|---|
node | Node | node to change parent |
this
SeismicViewWidget.onParentChanged
▸ Protected onVisibilityChanged(): void
This method is called if visibility is changed. Send event Events.VisibilityChanged
void
SeismicViewWidget.onVisibilityChanged
▸ Protected postRendering(context, callback?): void
To be called after rendering, used for PDF output
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
Optional callback | () => void | callback to be called after rendering |
void
SeismicViewWidget.postRendering
▸ Protected preRendering(context, callback?): void
Occurs before child rendering
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
Optional callback | () => void | callback to be called after rendering of geometry |
void
SeismicViewWidget.preRendering
▸ rebuild(force?, changes?): SeismicWidget
Rebuild node. This method resets state, cache, and invalidate node.
| Name | Type | Description |
|---|---|---|
Optional force | boolean | optional boolean parameter that can force invalidation |
Optional changes | StateChanges | optional parameter to specify a reason of changes |
this
▸ registerAnimationStyle(root): void
Register animation style.
| Name | Type | Description |
|---|---|---|
root | Node | root node for node |
void
SeismicViewWidget.registerAnimationStyle
▸ removeBaseLayer(baseLayer): SeismicWidget
Remove child baseLayer
this
SeismicViewWidget.removeBaseLayer
▸ removeChild(node, disposeChildren?): SeismicWidget
Remove child node
| Name | Type | Description |
|---|---|---|
node | Node | Node[] | node or array of nodes to be removed |
Optional disposeChildren | boolean | automatically dispose children. If it is true then method dispose is called for each child. |
this
▸ removeCssClass(cssclass): SeismicWidget
Removes css class from node
| Name | Type | Description |
|---|---|---|
cssclass | string | string[] | css class name('s) |
this
SeismicViewWidget.removeCssClass
▸ removeHeaderChart(headerName): SeismicWidget
Remove header
| Name | Type | Description |
|---|---|---|
headerName | string | trace header name |
this
▸ removeInvalidateHandler(handler): SeismicWidget
Remove invalidate handler
Deprecated
since 4.0, use Node.off instead
| Name | Type | Description |
|---|---|---|
handler | Function | handler to be notified about invalidation |
this
SeismicViewWidget.removeInvalidateHandler
▸ removeOverlay(overlay): SeismicWidget
Remove child overlay
this
SeismicViewWidget.removeOverlay
▸ removeStateChangedHandler(handler): void
Remove invalidate handler
Deprecated
4.0. Not use this method.
| Name | Type | Description |
|---|---|---|
handler | Function | handler to be notified about invalidation |
void
SeismicViewWidget.removeStateChangedHandler
▸ render(context): void
Render group
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render group |
void
▸ renderAsync(context, callback): void
Render node in asynchronous mode. This implementation doesn't support cache for now.
| Name | Type | Description |
|---|---|---|
context | RenderingContext | The rendering context to be used to draw the node |
callback | () => void | callback function |
void
▸ Protected renderBackground(context, bounds): SeismicWidget
Render background
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render background |
bounds | Rect | group bounds |
this
SeismicViewWidget.renderBackground
▸ Protected renderBaseLayers(context): SeismicWidget
Render baseLayers on bottom of cache. This method does nothing, but can be implemented to render graphics on bottom of cache and between borders
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render baseLayers |
this
SeismicViewWidget.renderBaseLayers
▸ Protected renderBaseLayersAsync(context, callback): void
Render baseLayers on bottom of cache in asynchronous mode. This method calls renderBaseLayers
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render overlays |
callback | () => void | callback function |
void
SeismicViewWidget.renderBaseLayersAsync
▸ Protected renderChildren(context): void
Render children
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
void
SeismicViewWidget.renderChildren
▸ Protected renderChildrenAsync(context, callback): void
Render children async
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
callback | () => void | callback function to be called then all children are rendered |
void
SeismicViewWidget.renderChildrenAsync
▸ Protected renderContent(context): void
render to specified context. This method calls preRendering, renderChildren, postRendering
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
void
SeismicViewWidget.renderContent
▸ Protected renderContentAsync(context, callback): void
Render children in asynchronous mode
| Name | Type | Description |
|---|---|---|
context | RenderingContext | The rendering context to be used to draw the node |
callback | () => void | callback function to be called then all children are rendered |
void
SeismicViewWidget.renderContentAsync
▸ Protected renderOverlays(context): SeismicWidget
Render overlays on top of cache. This method does nothing, but can be implemented to render graphics on top of cache and between borders
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render overlays |
this
SeismicViewWidget.renderOverlays
▸ Protected renderOverlaysAsync(context, callback): void
Render overlays on top of cache in asynchronous mode. This method calls renderOverlays
| Name | Type | Description |
|---|---|---|
context | RenderingContext | context to render overlays |
callback | () => void | callback function |
void
SeismicViewWidget.renderOverlaysAsync
▸ resetZoom(): SeismicWidget
Reset zoom
this
▸ resumeUpdate(rebuild?, changes?): SeismicWidget
Resume auto update
| Name | Type | Description |
|---|---|---|
Optional rebuild | boolean | force rebuild |
Optional changes | StateChanges | optional parameter to specify a reason of changes |
this
SeismicViewWidget.resumeUpdate
▸ rotate(theta, x, y): SeismicWidget
Rotate bounds around a given coordinate
| Name | Type | Description |
|---|---|---|
theta | number | angle to rotate node, in radians |
x | number | x coordinate to rotate around |
y | number | y coordinate to rotate around |
this
▸ 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
| Name | Type | Description |
|---|---|---|
Optional registry | Registry | registry |
string
SeismicViewWidget.saveTemplate
▸ scale(scaleX, scaleY, silent?): SeismicWidget
scale seismic model
| Name | Type | Description |
|---|---|---|
scaleX | number | scale factor by horizontal axis |
scaleY | number | scale factor by vertical axis |
Optional silent | boolean | update view |
this
▸ setAnimationStyle(animationStyle): SeismicWidget
Sets animation style
| Name | Type | Description |
|---|---|---|
animationStyle | Type | animation style |
SeismicViewWidget.setAnimationStyle
▸ setAnnotationSize(annotationSize?): SeismicWidget
apply size (width or height) to annotation (convenience method)
Example
widget.setAnnotationSize(
{
'west' : 50,
'east' : '10%'
});| Name | Type | Description |
|---|---|---|
Optional annotationSize | AnnotationSize | JSON to hold (width or height) of the annotation |
this
SeismicViewWidget.setAnnotationSize
▸ setAutoModelLimitsMode(mode): SeismicWidget
Set Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds. This is convenient method. It creates AutoModelLimitsStrategy
| Name | Type | Description |
|---|---|---|
mode | boolean | Model Limits Logics to be used |
this
SeismicViewWidget.setAutoModelLimitsMode
▸ setAutoModelLimitsStrategy(strategy): SeismicWidget
Set Model Limits Logics Strategy
| Name | Type | Description |
|---|---|---|
strategy | ModelLimitsStrategy | Model Limits logic strategy to use |
this
SeismicViewWidget.setAutoModelLimitsStrategy
▸ setBounds(bounds): SeismicWidget
Sets bounds of the node in the parent coordinates
this
▸ setCache(cache, rebuild?): SeismicWidget
Sets cache to be used to cache
| Name | Type | Description |
|---|---|---|
cache | Cache | cache to be used |
Optional rebuild | boolean | rebuild cache |
this
▸ setChild(index, node): SeismicWidget
Replace child node by index
| Name | Type | Description |
|---|---|---|
index | number | index of the node |
node | Node | node |
this
▸ setClipStyle(style): SeismicWidget
Sets a new clipping style
| Name | Type | Description |
|---|---|---|
style | GraphicsPath | ClipStyle | Options | a new clipping style |
this
SeismicViewWidget.setClipStyle
▸ setCollectPerformanceInformation(collectPerformanceInfoEnabled): SeismicWidget
Sets collect performance information mode enabled
| Name | Type | Description |
|---|---|---|
collectPerformanceInfoEnabled | boolean | true for collection performance information mode enabled |
this
SeismicViewWidget.setCollectPerformanceInformation
▸ setColorBarPipeline(pipeline): SeismicWidget
Set pipeline to set colorbar parameters. if it is null then getPipeline is used
Example
// How to set up a new pipeline for colorbar different from main pipeline
widget.setColorBarPipeline(secondPipeline);| Name | Type | Description |
|---|---|---|
pipeline | SeismicPipeline | Seismic Pipeline |
this
SeismicViewWidget.setColorBarPipeline
▸ setContentOrientation(orientation): SeismicWidget
Set content orientation
| Name | Type | Description |
|---|---|---|
orientation | Orientation | content orientation |
this
SeismicViewWidget.setContentOrientation
▸ setCss(style, merge?): SeismicWidget
Sets CSS style. This style will be applied for all inserted elements
| Name | Type | Description |
|---|---|---|
style | Type | CSS style to be applied to inserted elements |
Optional merge | boolean | merge flag |
this
▸ setCssClass(name): SeismicWidget
Sets css class name of the node to be used to apply CSS style
| Name | Type | Description |
|---|---|---|
name | string | css class name of the node |
this
▸ setCssTransform(transform): SeismicWidget
Set CSS transformation
| Name | Type | Description |
|---|---|---|
transform | string | Transformation | transformation css transformation instruction or Transformation instance |
this
SeismicViewWidget.setCssTransform
▸ setData(options): SeismicWidget
Sets options and/or data
| Name | Type | Description |
|---|---|---|
options | DataOptions | options |
▸ setDesiredHeight(value, silent?): SeismicWidget
Sets desired height of the group as a layoutable object
| Name | Type | Description |
|---|---|---|
value | string | number | desired height to set, use 'auto' for automatic desired height |
Optional silent | boolean | silent setting |
this
SeismicViewWidget.setDesiredHeight
▸ setDesiredWidth(value, silent?): SeismicWidget
Sets desired width of the group as a layoutable object
| Name | Type | Description |
|---|---|---|
value | string | number | desired width to set |
Optional silent | boolean | silent setting |
this
SeismicViewWidget.setDesiredWidth
▸ setFillStyle(fillStyle, merge?): SeismicWidget
Sets fill style
| Name | Type | Description |
|---|---|---|
fillStyle | Type | a new fill style |
Optional merge | boolean | true if you want to merge fillStyle with existing attribute, false by default |
this
SeismicViewWidget.setFillStyle
▸ setHorizontalFlip(enable): SeismicWidget
Set horizontal flip of the representation
| Name | Type | Description |
|---|---|---|
enable | boolean | enable flip |
this
SeismicViewWidget.setHorizontalFlip
▸ setId(id): SeismicWidget
Allows the user to associate any identifier
| Name | Type | Description |
|---|---|---|
id | string | number | object id |
this
▸ setInfiniteMode(infinityMode): SeismicWidget
Set infinity mode flag to draw composite without collision check
| Name | Type | Description |
|---|---|---|
infinityMode | boolean | infinity mode flag |
this
SeismicViewWidget.setInfiniteMode
▸ setLayout(layout): SeismicWidget
Associate layout with a group.
| Name | Type | Description |
|---|---|---|
layout | Record<string, any> | Layout | layout instance to be set or layout properties to apply |
this
▸ Protected setLayoutInvalidated(invalidated): void
Set invalidation status
| Name | Type | Description |
|---|---|---|
invalidated | boolean | invalidated layout |
void
SeismicViewWidget.setLayoutInvalidated
▸ setLayoutStyle(layoutStyle, silent?, merge?): SeismicWidget
specify desired layout style
| Name | Type | Description |
|---|---|---|
layoutStyle | LayoutStyle<string | number> | Options<string | number> | desired layout style |
Optional silent | boolean | silent setting |
Optional merge | boolean | true if you want to merge layoutStyle with existing attribute, false by default |
this
SeismicViewWidget.setLayoutStyle
▸ setLineStyle(lineStyle, merge?): SeismicWidget
Sets border color Returns this
| Name | Type | Description |
|---|---|---|
lineStyle | Type | line style or options |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
SeismicViewWidget.setLineStyle
▸ setLocalTransform(localTransform, force?): SeismicWidget
Sets local transformation to be used to transform from local to parent coordinate
| Name | Type | Description |
|---|---|---|
localTransform | Transformation | local transformation for this node |
Optional force | boolean | boolean flag to force update event if transformations are equal, false by default |
this
SeismicViewWidget.setLocalTransform
▸ setManipulatorType(manipulatorType, active?): SeismicWidget
Set active manipulator type
| Name | Type | Description |
|---|---|---|
manipulatorType | ManipulatorType | enum of of Manipulator type. Panning tool, RubberBand tool, magnifier tool and picking tool. |
Optional active | boolean | state |
this
SeismicViewWidget.setManipulatorType
▸ setMarginsStyle(margins, merge?): SeismicWidget
Sets margins style
| Name | Type | Description |
|---|---|---|
margins | Type<string | number> | margins style |
Optional merge | boolean | true if you want to merge marginsStyle with existing attribute, false by default |
this
SeismicViewWidget.setMarginsStyle
▸ setModelLimits(limits): SeismicWidget
Sets inner model limits
| Name | Type | Description |
|---|---|---|
limits | Type | inner limits |
this
SeismicViewWidget.setModelLimits
▸ setName(name): SeismicWidget
Sets name of the node
| Name | Type | Description |
|---|---|---|
name | string | The node name |
this
▸ setNoDataStrategy(strategy): SeismicWidget
Sets function
| Name | Type | Description |
|---|---|---|
strategy | () => Shape | function should returns Shape in this.getModel().getModelLimits() bounds |
this
SeismicViewWidget.setNoDataStrategy
▸ setNotification(notify, force?): SeismicWidget
set notification state
| Name | Type | Description |
|---|---|---|
notify | boolean | flag set to invalidate parent or not |
Optional force | boolean | true if parent should be invalidated immediately |
this
SeismicViewWidget.setNotification
▸ setOpacity(opacity, blendMode?): SeismicWidget
Sets node opacity
| Name | Type | Description |
|---|---|---|
opacity | number | node opacity from 0 to 1 |
Optional blendMode | BlendMode | opacity blend mode. If it is normal, opacity will be replaced. |
this
▸ setOptions(options): SeismicWidget
Set widget options
| Name | Type | Description |
|---|---|---|
options | OptionsBase | options see SeismicWidget.setProperties |
this
▸ setOrientation(orientation, keepVisibleModelLimits?): SeismicWidget
Set seismic trace orientation
| Name | Type | Description |
|---|---|---|
orientation | Orientation | seismic orientation |
Optional keepVisibleModelLimits | boolean | keep visible model limits |
this
SeismicViewWidget.setOrientation
▸ setPaddingStyle(paddingStyle, merge?): SeismicWidget
Sets padding style
| Name | Type | Description |
|---|---|---|
paddingStyle | Type<string | number> | padding style |
Optional merge | boolean | true if you want to merge paddingStyle with existing attribute, false by default |
this
SeismicViewWidget.setPaddingStyle
▸ setPipeline(pipeline, resetTransformation?): SeismicWidget
Set pipeline for image, colorbar and other components
| Name | Type | Description |
|---|---|---|
pipeline | SeismicPipeline | Seismic Pipeline |
Optional resetTransformation | boolean | reset transformation |
this
▸ setProperties(properties?): SeismicWidget
Sets all the properties pertaining to this object
Example
// To modify the y axis properties.
widget.setProperties({
'axes': {
'samples': {
'ticks': {
'labelstyles': {
'major': {
'color': 'blue'
}
}
}
}
}
}
// To modify the x axis (trace axis):
var axis = seismicwidget.getTraceHeaderAxis('TraceNumber')['axis'];
// setting label color
axis.getTickGenerator().getLabelStyle(grade).setColor(color);
// setting font
axis.getTickGenerator().getLabelStyle(grade).setFont(font)| Name | Type | Description |
|---|---|---|
Optional properties | Options | seismic view options |
this
SeismicViewWidget.setProperties
▸ setProperty(name, value): SeismicWidget
Sets dynamic property by name
| Name | Type | Description |
|---|---|---|
name | string | property name |
value | any | property value |
this
▸ setRenderingFilter(filter): SeismicWidget
Sets filter to be applied before rendering and picking
| Name | Type | Description |
|---|---|---|
filter | IFilter | filter to set |
this
SeismicViewWidget.setRenderingFilter
▸ setResponsiveStyle(style): SeismicWidget
Sets responsive style.
| Name | Type | Description |
|---|---|---|
style | Options | ResponsiveStyle | responsive style |
this
SeismicViewWidget.setResponsiveStyle
▸ setSamplesTitle(title): SeismicWidget
Set samples title
| Name | Type | Description |
|---|---|---|
title | string | Title | title |
SeismicViewWidget.setSamplesTitle
▸ setScaleOptions(scaleOptions, saveViewPoint?): SeismicWidget
Sets scale options. If setScaleOption() is not set, the SeismicImage assumes a default .
| Name | Type | Description |
|---|---|---|
scaleOptions | ScaleOptions | scale options |
Optional saveViewPoint | boolean | if true, scale relative to the center visible limits |
this
SeismicViewWidget.setScaleOptions
▸ setScaleScrollStrategy(strategy?): SeismicWidget
Sets scale scroll strategy
| Name | Type | Description |
|---|---|---|
Optional strategy | Delegate | scale scroll strategy |
this
SeismicViewWidget.setScaleScrollStrategy
▸ setSeismicModelLimits(limits): SeismicWidget
Sets seismic model limits if auto seismic model limits is off
| Name | Type | Description |
|---|---|---|
limits | Rect | model limits |
SeismicViewWidget.setSeismicModelLimits
▸ setSeismicModelTransformation(transformation): SeismicWidget
Attempts to set local transformation for the seismic model.
| Name | Type | Description |
|---|---|---|
transformation | Transformation | transformation to set |
this
SeismicViewWidget.setSeismicModelTransformation
▸ setSelectable(selectable): SeismicWidget
Allows to select node. If node is not selectable then child node is not selectable.
| Name | Type | Description |
|---|---|---|
selectable | boolean | flag to allow node selection |
this
SeismicViewWidget.setSelectable
▸ setSilent(bool): SeismicWidget
Set silent mode
| Name | Type | Description |
|---|---|---|
bool | boolean | flag to enable silent mode |
this
▸ setTableHeaders(headers): SeismicWidget
Set subset of header fields to be displayed in table widget
| Name | Type | Description |
|---|---|---|
headers | string[] | "*" | FieldDesc[] | { title: string }[] | array of header names, string contains header names divided by '|', or '*' |
▸ setTableTraceFilter(filter): SeismicWidget
Set table trace filter
| Name | Type | Description |
|---|---|---|
filter | FilterCallback | filter |
this
▸ setTag(tag): SeismicWidget
Allows the user to associate any arbitrary object with the node.
| Name | Type | Description |
|---|---|---|
tag | any | The object to be associated with the node. |
this
▸ setTitle(title): SeismicWidget
Set widget title
| Name | Type | Description |
|---|---|---|
title | Title | title |
▸ Protected setTool(tool): SeismicWidget
Set root tool associated to this widget
| Name | Type | Description |
|---|---|---|
tool | CompositeTool | tool to be set |
▸ setToolsOptions(options): SeismicWidget
Set tools options
| Name | Type | Description |
|---|---|---|
options | ToolsOptions | tools options |
this
SeismicViewWidget.setToolsOptions
▸ setTraceHeaderVisible(headerField, visible): TraceHeaderAxis
This method shows or hides the header
| Name | Type | Description |
|---|---|---|
headerField | FieldDesc | "TraceNumber" | field, accept only 'TraceNumber' as a string |
visible | boolean | header visibility |
helper, information about shapes associated with header
SeismicViewWidget.setTraceHeaderVisible
▸ setVerticalFlip(flip): SeismicWidget
Set vertical flip of the representation
| Name | Type | Description |
|---|---|---|
flip | boolean | flag to set the vertical flip of the representation |
this
SeismicViewWidget.setVerticalFlip
▸ setVisible(value): SeismicWidget
Sets visibility of the node. Send event Events.VisibilityChanged
| Name | Type | Description |
|---|---|---|
value | boolean | flag specifying visibility of the node |
this
▸ setVisibleModelLimits(visibleModelBounds, deviceBounds?): SeismicWidget
Set visible model limits
| Name | Type | Description |
|---|---|---|
visibleModelBounds | Rect | visible model limits or bounds |
Optional deviceBounds | Rect | device bounds |
this
SeismicViewWidget.setVisibleModelLimits
▸ setVisibleSeismicModelLimits(visibleModelLimits, silent?): SeismicWidget
Set visible model limits
| Name | Type | Description |
|---|---|---|
visibleModelLimits | Rect | new visible model limits |
Optional silent | boolean | notification to listener on or not |
this
SeismicViewWidget.setVisibleSeismicModelLimits
▸ setZIndex(value): SeismicWidget
Sets z-index for node (set null for default)
| Name | Type | Description |
|---|---|---|
value | number | index determining node z-position |
this
▸ shear(shx, shy): SeismicWidget
Shear this node's bounds
| Name | Type | Description |
|---|---|---|
shx | number | x-axis shear |
shy | number | y-axis shear |
this
▸ suspendUpdate(): SeismicWidget
Suspend auto update
this
SeismicViewWidget.suspendUpdate
▸ toString(): string
Returns a string representation of this object (generally the classname)
string
A string representation
▸ translate(dX, dY, silent?): SeismicWidget
translate seismic model
| Name | Type | Description |
|---|---|---|
dX | number | offset x |
dY | number | offset y |
Optional silent | boolean | update view |
this
▸ unregisterAnimationStyle(root): void
Unregister animation style.
| Name | Type | Description |
|---|---|---|
root | AnimatedNode | root node for node |
void
SeismicViewWidget.unregisterAnimationStyle
▸ updateLayout(): SeismicWidget
This method updates the layout of the seismic widget and all its child components with new/modified settings.
this
SeismicViewWidget.updateLayout
▸ updateSceneTransformation(): SeismicWidget
Update scene transformation
this
SeismicViewWidget.updateSceneTransformation
▸ updateState(regions?, changes?): SeismicWidget
Update state. These methods reset node state and update state for children. this method is useful to refresh a scene graph
| Name | Type | Description |
|---|---|---|
Optional regions | Rect[] | optional array to return invalid rectangles in the parent coordinates |
Optional changes | StateChanges | optional parameter to specify a reason of changes |
this
▸ updateSuspended(): boolean
Return state of suspend state
boolean
state of update
SeismicViewWidget.updateSuspended
▸ Protected updateTimeStamp(): SeismicWidget
Update time stamp to indicate that Node or Children has been changed.
this
SeismicViewWidget.updateTimeStamp
▸ zoomIn(): SeismicWidget
Zoom in
this
▸ zoomOut(): SeismicWidget
Zoom out
this
▸ Static enableSceneGraphNotification(enabled): void
Enable / disable all notifications
| Name | Type | Description |
|---|---|---|
enabled | boolean | sets if this object sends notifications |
void
SeismicViewWidget.enableSceneGraphNotification
▸ Static findParent<T>(node, classType, filter?): InstanceType<T>
Find root of the node with specified type
| Name | Type |
|---|---|
T | extends Constructor<any> |
| Name | Type | Description |
|---|---|---|
node | Node | node to start search |
classType | T | type of the class to search for |
Optional filter | (node: Node) => boolean | additional filter to apply |
InstanceType<T>
▸ Static findParent(node, classType, filter?): Node
Find root of the node with specified type
| Name | Type | Description |
|---|---|---|
node | Node | node to start search |
classType | string | interface name to search for |
Optional filter | (node: Node) => boolean | additional filter to apply |
▸ Static getClassName(): string
string
SeismicViewWidget.getClassName
▸ Static isSceneGraphNotificationEnabled(): boolean
Return status of the global notification for all nodes.
boolean