dwv 0.35.0-beta.1 → 0.35.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dwv.d.ts CHANGED
@@ -276,10 +276,11 @@ export declare class AnnotationGroupFactory {
276
276
  */
277
277
  getWarning(): string | undefined;
278
278
  /**
279
- * Check dicom elements. Throws an error if not suitable.
279
+ * Check dicom elements.
280
280
  *
281
281
  * @param {Object<string, DataElement>} dataElements The DICOM data elements.
282
282
  * @returns {string|undefined} A possible warning.
283
+ * @throws Error for missing or wrong data.
283
284
  */
284
285
  checkElements(dataElements: {
285
286
  [x: string]: DataElement;
@@ -289,6 +290,7 @@ export declare class AnnotationGroupFactory {
289
290
  *
290
291
  * @param {Object<string, DataElement>} dataElements The DICOM tags.
291
292
  * @returns {AnnotationGroup} A new annotation group.
293
+ * @throws Error for missing or wrong data.
292
294
  */
293
295
  create(dataElements: {
294
296
  [x: string]: DataElement;
@@ -476,9 +478,9 @@ export declare class App {
476
478
  * The layer is available after the first loaded item.
477
479
  *
478
480
  * @param {string} divId The div id.
479
- * @returns {LayerGroup} The layer group.
481
+ * @returns {LayerGroup|undefined} The layer group.
480
482
  */
481
- getLayerGroupByDivId(divId: string): LayerGroup;
483
+ getLayerGroupByDivId(divId: string): LayerGroup | undefined;
482
484
  /**
483
485
  * Get the number of layer groups.
484
486
  *
@@ -1086,10 +1088,12 @@ export declare class Circle {
1086
1088
  * Quantify an circle according to view information.
1087
1089
  *
1088
1090
  * @param {ViewController} viewController The associated view controller.
1091
+ * @param {Index} index The index at which to get the
1092
+ * image values.
1089
1093
  * @param {string[]} flags A list of stat values to calculate.
1090
1094
  * @returns {object} A quantification object.
1091
1095
  */
1092
- quantify(viewController: ViewController, flags: string[]): object;
1096
+ quantify(viewController: ViewController, index: Index, flags: string[]): object;
1093
1097
  #private;
1094
1098
  }
1095
1099
 
@@ -1155,14 +1159,20 @@ export declare function createView(elements: {
1155
1159
  [x: string]: DataElement;
1156
1160
  }, image: Image_2): View;
1157
1161
 
1158
- export declare namespace customUI {
1159
- /**
1160
- * Open a dialogue to edit roi data. Defaults to window.prompt.
1161
- *
1162
- * @param {Annotation} annotation The roi data.
1163
- * @param {Function} callback The callback to launch on dialogue exit.
1164
- */
1165
- export function openRoiDialog(annotation: Annotation, callback: Function): void;
1162
+ export declare namespace custom {
1163
+ let wlPresets: {
1164
+ [x: string]: {
1165
+ [x: string]: WindowLevel;
1166
+ };
1167
+ };
1168
+ let labelTexts: {
1169
+ [x: string]: {
1170
+ [x: string]: string;
1171
+ };
1172
+ };
1173
+ let openRoiDialog: any;
1174
+ let getTagTime: any;
1175
+ let getTagPixelUnit: any;
1166
1176
  }
1167
1177
 
1168
1178
  /**
@@ -1233,25 +1243,6 @@ export declare const decoderScripts: {
1233
1243
  rle: string;
1234
1244
  };
1235
1245
 
1236
- /**
1237
- * List of default window level presets.
1238
- *
1239
- * @type {Object.<string, Object.<string, WindowLevel>>}
1240
- */
1241
- export declare const defaultPresets: {
1242
- [x: string]: {
1243
- [x: string]: WindowLevel;
1244
- };
1245
- };
1246
-
1247
- export declare namespace defaults {
1248
- let labelText: {
1249
- [x: string]: {
1250
- [x: string]: string;
1251
- };
1252
- };
1253
- }
1254
-
1255
1246
  /**
1256
1247
  * Delete segment command.
1257
1248
  */
@@ -1431,12 +1422,20 @@ export declare class DicomParser {
1431
1422
  [x: string]: DataElement;
1432
1423
  };
1433
1424
  /**
1434
- * Parse the complete DICOM file (given as input to the class).
1425
+ * Safely get an elements' first value from the parsed elements.
1426
+ *
1427
+ * @param {string} key The tag key as for example '00100020'.
1428
+ * @returns {any|undefined} The elements' value or undefined.
1429
+ */
1430
+ safeGet(key: string): any | undefined;
1431
+ /**
1432
+ * Parse a DICOM buffer.
1435
1433
  * Fills in the member object 'dataElements'.
1436
1434
  *
1437
1435
  * @param {ArrayBuffer} buffer The input array buffer.
1436
+ * @param {Tag} [untilTag] Optional tag to stop the parsing once reached.
1438
1437
  */
1439
- parse(buffer: ArrayBuffer): void;
1438
+ parse(buffer: ArrayBuffer, untilTag?: Tag): void;
1440
1439
  #private;
1441
1440
  }
1442
1441
 
@@ -1918,19 +1917,6 @@ export declare class DrawLayer {
1918
1917
  * @returns {boolean} True if the position was updated.
1919
1918
  */
1920
1919
  setCurrentPosition(position: Point, index?: Index): boolean;
1921
- /**
1922
- * Get the current position group.
1923
- *
1924
- * @returns {Konva.Group|undefined} The Konva.Group.
1925
- */
1926
- getCurrentPosGroup(): Konva.Group | undefined;
1927
- /**
1928
- * Get a Konva group using its id.
1929
- *
1930
- * @param {string} id The group id.
1931
- * @returns {object|undefined} The Konva group.
1932
- */
1933
- getGroup(id: string): object | undefined;
1934
1920
  /**
1935
1921
  * Add an event listener to this class.
1936
1922
  *
@@ -2086,10 +2072,12 @@ export declare class Ellipse {
2086
2072
  * Quantify an ellipse according to view information.
2087
2073
  *
2088
2074
  * @param {ViewController} viewController The associated view controller.
2075
+ * @param {Index} index The index at which to get the
2076
+ * image values.
2089
2077
  * @param {string[]} flags A list of stat values to calculate.
2090
2078
  * @returns {object} A quantification object.
2091
2079
  */
2092
- quantify(viewController: ViewController, flags: string[]): object;
2080
+ quantify(viewController: ViewController, index: Index, flags: string[]): object;
2093
2081
  #private;
2094
2082
  }
2095
2083
 
@@ -2098,14 +2086,14 @@ export declare class Ellipse {
2098
2086
  */
2099
2087
  export declare class Geometry {
2100
2088
  /**
2101
- * @param {Point3D} origin The object origin (a 3D point).
2089
+ * @param {Point3D[]} origins The object origins.
2102
2090
  * @param {Size} size The object size.
2103
2091
  * @param {Spacing} spacing The object spacing.
2104
2092
  * @param {Matrix33} [orientation] The object orientation (3*3 matrix,
2105
2093
  * default to 3*3 identity).
2106
2094
  * @param {number} [time] Optional time index.
2107
2095
  */
2108
- constructor(origin: Point3D, size: Size, spacing: Spacing, orientation?: Matrix33, time?: number);
2096
+ constructor(origins: Point3D[], size: Size, spacing: Spacing, orientation?: Matrix33, time?: number);
2109
2097
  /**
2110
2098
  * Get the time value that was passed at construction.
2111
2099
  *
@@ -2244,6 +2232,13 @@ export declare class Geometry {
2244
2232
  * @returns {boolean} True if the given coordinates are within bounds.
2245
2233
  */
2246
2234
  isIndexInBounds(index: Index, dirs?: number[]): boolean;
2235
+ /**
2236
+ * Get the geometrical range, ie the minimum and maximum
2237
+ * positions.
2238
+ *
2239
+ * @returns {Point[]} The min and max positions.
2240
+ */
2241
+ getRange(): Point[];
2247
2242
  /**
2248
2243
  * Convert an index into world coordinates.
2249
2244
  *
@@ -2950,14 +2945,32 @@ export declare class Index {
2950
2945
  */
2951
2946
  compare(rhs: Index): number[];
2952
2947
  /**
2953
- * Add another index to this one.
2948
+ * Add another index to this one and return
2949
+ * the result as a new index.
2954
2950
  *
2955
2951
  * @param {Index} rhs The index to add.
2956
2952
  * @returns {Index} The index representing the sum of both indices.
2957
2953
  */
2958
2954
  add(rhs: Index): Index;
2959
2955
  /**
2960
- * Get the current index with a new 2D base.
2956
+ * Increment this index by 1 at the given dimension
2957
+ * and return the result as a new index.
2958
+ *
2959
+ * @param {number} dim The dimension number.
2960
+ * @returns {Index} The result index.
2961
+ */
2962
+ next(dim: number): Index;
2963
+ /**
2964
+ * Decrement this index by 1 at the given dimension
2965
+ * and return the result as a new index.
2966
+ *
2967
+ * @param {number} dim The dimension number.
2968
+ * @returns {Index} The result index.
2969
+ */
2970
+ previous(dim: number): Index;
2971
+ /**
2972
+ * Get the current index with a new 2D base
2973
+ * and return the result as a new index.
2961
2974
  *
2962
2975
  * @param {number} i The new 0 index.
2963
2976
  * @param {number} j The new 1 index.
@@ -3006,6 +3019,12 @@ export declare class LayerGroup {
3006
3019
  * @param {HTMLElement} containerDiv The associated HTML div.
3007
3020
  */
3008
3021
  constructor(containerDiv: HTMLElement);
3022
+ /**
3023
+ * Get the position helper.
3024
+ *
3025
+ * @returns {PositionHelper} The position helper.
3026
+ */
3027
+ getPositionHelper(): PositionHelper;
3009
3028
  /**
3010
3029
  * Get the showCrosshair flag.
3011
3030
  *
@@ -3027,9 +3046,9 @@ export declare class LayerGroup {
3027
3046
  /**
3028
3047
  * Get the Id of the container div.
3029
3048
  *
3030
- * @returns {string} The id of the div.
3049
+ * @returns {string|undefined} The id of the div.
3031
3050
  */
3032
- getDivId(): string;
3051
+ getDivId(): string | undefined;
3033
3052
  /**
3034
3053
  * Get the layer scale.
3035
3054
  *
@@ -3241,7 +3260,7 @@ export declare class LayerGroup {
3241
3260
  */
3242
3261
  moreThanOne(dim: number): boolean;
3243
3262
  /**
3244
- * Update layers (but not the active view layer) to a position change.
3263
+ * Update layers (but not the event source layer) to a position change.
3245
3264
  *
3246
3265
  * @param {object} event The position change event.
3247
3266
  * @function
@@ -3368,10 +3387,11 @@ export declare class MaskFactory {
3368
3387
  */
3369
3388
  getWarning(): string | undefined;
3370
3389
  /**
3371
- * Check dicom elements. Throws an error if not suitable.
3390
+ * Check dicom elements.
3372
3391
  *
3373
3392
  * @param {Object<string, DataElement>} _dicomElements The DICOM tags.
3374
3393
  * @returns {string|undefined} A possible warning.
3394
+ * @throws Error for missing or wrong data.
3375
3395
  */
3376
3396
  checkElements(_dicomElements: {
3377
3397
  [x: string]: DataElement;
@@ -3384,6 +3404,7 @@ export declare class MaskFactory {
3384
3404
  * Uint16Array | Int16Array |
3385
3405
  * Uint32Array | Int32Array} pixelBuffer The pixel buffer.
3386
3406
  * @returns {Image} A new Image.
3407
+ * @throws Error for missing or wrong data.
3387
3408
  */
3388
3409
  create(dataElements: {
3389
3410
  [x: string]: DataElement;
@@ -3565,7 +3586,7 @@ export declare class MaskSegmentViewHelper {
3565
3586
  removeFromHidden(segmentNumber: number): void;
3566
3587
  /**
3567
3588
  * @callback alphaFn@callback alphaFn
3568
- * @param {number} value The pixel value.
3589
+ * @param {number|number[]} value The pixel value.
3569
3590
  * @param {number} index The values' index.
3570
3591
  * @returns {number} The opacity of the input value.
3571
3592
  */
@@ -3574,7 +3595,7 @@ export declare class MaskSegmentViewHelper {
3574
3595
  *
3575
3596
  * @returns {alphaFn} The corresponding alpha function.
3576
3597
  */
3577
- getAlphaFunc(): (value: number, index: number) => number;
3598
+ getAlphaFunc(): (value: number | number[], index: number) => number;
3578
3599
  #private;
3579
3600
  }
3580
3601
 
@@ -3884,6 +3905,13 @@ export declare class PlaneHelper {
3884
3905
  * @returns {Index} The corresponding index.
3885
3906
  */
3886
3907
  worldToIndex(point: Point): Index;
3908
+ /**
3909
+ * Image index to world.
3910
+ *
3911
+ * @param {Index} index The input index.
3912
+ * @returns {Point} The corresponding point.
3913
+ */
3914
+ indexToWorld(index: Index): Point;
3887
3915
  /**
3888
3916
  * Is this view in the same orientation as the image aquisition.
3889
3917
  *
@@ -3902,13 +3930,13 @@ export declare class PlaneHelper {
3902
3930
  *
3903
3931
  * @returns {number} The index.
3904
3932
  */
3905
- getScrollIndex(): number;
3933
+ getScrollDimIndex(): number;
3906
3934
  /**
3907
3935
  * Get the native (image) scroll dimension index.
3908
3936
  *
3909
3937
  * @returns {number} The index.
3910
3938
  */
3911
- getNativeScrollIndex(): number;
3939
+ getNativeScrollDimIndex(): number;
3912
3940
  #private;
3913
3941
  }
3914
3942
 
@@ -4127,6 +4155,153 @@ export declare class Point3D {
4127
4155
  #private;
4128
4156
  }
4129
4157
 
4158
+ /**
4159
+ * Position helper.
4160
+ */
4161
+ export declare class PositionHelper {
4162
+ /**
4163
+ * @param {View} view The associated view.
4164
+ */
4165
+ constructor(view: View);
4166
+ /**
4167
+ * Get the geometry.
4168
+ *
4169
+ * @returns {Geometry} The geometry.
4170
+ */
4171
+ getGeometry(): Geometry;
4172
+ /**
4173
+ * Get the scroll index.
4174
+ *
4175
+ * @returns {number} The scroll index.
4176
+ */
4177
+ getScrollDimIndex(): number;
4178
+ /**
4179
+ * Get the maximum dimension value.
4180
+ *
4181
+ * @param {number} dim The dimension.
4182
+ * @returns {number} The maximum value.
4183
+ */
4184
+ getMaximumDimValue(dim: number): number;
4185
+ /**
4186
+ * Get the maximum scroll value.
4187
+ *
4188
+ * @returns {number} The maximum value.
4189
+ */
4190
+ getMaximumScrollValue(): number;
4191
+ /**
4192
+ * Get the current position.
4193
+ *
4194
+ * @returns {Point} The current position.
4195
+ */
4196
+ getCurrentPosition(): Point;
4197
+ /**
4198
+ * Get the value at dimension index for the current position.
4199
+ *
4200
+ * @param {number} dim The dimension.
4201
+ * @returns {number} The value.
4202
+ */
4203
+ getCurrentPositionDimValue(dim: number): number;
4204
+ /**
4205
+ * Get the value at scroll index for the current position.
4206
+ *
4207
+ * @returns {number} The value.
4208
+ */
4209
+ getCurrentPositionScrollValue(): number;
4210
+ /**
4211
+ * Get the current position updated at the provided dimension index
4212
+ * with the input value.
4213
+ *
4214
+ * @param {number} dim The dimension.
4215
+ * @param {number} value The value to used at dimension index.
4216
+ * @returns {Point} The position.
4217
+ */
4218
+ getCurrentPositionAtDimValue(dim: number, value: number): Point;
4219
+ /**
4220
+ * Get the current position updated at scroll index with the input value.
4221
+ *
4222
+ * @param {number} value The value to use at scroll index.
4223
+ * @returns {Point} The position.
4224
+ */
4225
+ getCurrentPositionAtScrollValue(value: number): Point;
4226
+ /**
4227
+ * Get the current index.
4228
+ *
4229
+ * @returns {Index} The current index.
4230
+ */
4231
+ getCurrentIndex(): Index;
4232
+ /**
4233
+ * Set the current position.
4234
+ *
4235
+ * @param {Point} position The position.
4236
+ * @param {boolean} [silent] Flag to fire event or not.
4237
+ * @returns {boolean} True if possible and in bounds.
4238
+ */
4239
+ setCurrentPosition(position: Point, silent?: boolean): boolean;
4240
+ /**
4241
+ * Set the current position only if it is in the geometry bounds.
4242
+ *
4243
+ * @param {Point} position The position.
4244
+ * @param {boolean} [silent] Flag to fire event or not.
4245
+ * @returns {boolean} True if possible and in bounds.
4246
+ */
4247
+ setCurrentPositionSafe(position: Point, silent?: boolean): boolean;
4248
+ /**
4249
+ * Merge with another helper.
4250
+ *
4251
+ * @param {PositionHelper} rhs The helper to merge with this one.
4252
+ */
4253
+ merge(rhs: PositionHelper): void;
4254
+ /**
4255
+ * Check if the current position (default) or
4256
+ * the provided position is in bounds.
4257
+ *
4258
+ * @param {Point} position Optional position.
4259
+ * @returns {boolean} True is the position is in bounds.
4260
+ */
4261
+ isPositionInBounds(position: Point): boolean;
4262
+ /**
4263
+ * Get the current position incremented in the input direction.
4264
+ *
4265
+ * @param {number} dim The direction in which to increment.
4266
+ * @returns {Point} The resulting point.
4267
+ */
4268
+ getIncrementPosition(dim: number): Point;
4269
+ /**
4270
+ * Get the current position decremented in the input direction.
4271
+ *
4272
+ * @param {number} dim The direction in which to decrement.
4273
+ * @returns {Point} The resulting point.
4274
+ */
4275
+ getDecrementPosition(dim: number): Point;
4276
+ /**
4277
+ * Increment the current position along the provided dim.
4278
+ *
4279
+ * @param {number} dim The direction in which to increment.
4280
+ * @returns {boolean} True if possible and in bounds.
4281
+ */
4282
+ incrementPosition(dim: number): boolean;
4283
+ /**
4284
+ * Decrement the current position along the provided dim.
4285
+ *
4286
+ * @param {number} dim The direction in which to decrement.
4287
+ * @returns {boolean} True if possible and in bounds.
4288
+ */
4289
+ decrementPosition(dim: number): boolean;
4290
+ /**
4291
+ * Increment the current position along the scroll dimension.
4292
+ *
4293
+ * @returns {boolean} True if possible and in bounds.
4294
+ */
4295
+ incrementPositionAlongScroll(): boolean;
4296
+ /**
4297
+ * Decrement the current position along the scroll dimension.
4298
+ *
4299
+ * @returns {boolean} True if possible and in bounds.
4300
+ */
4301
+ decrementPositionAlongScroll(): boolean;
4302
+ #private;
4303
+ }
4304
+
4130
4305
  /**
4131
4306
  * Round a float number to a given precision.
4132
4307
  *
@@ -4266,10 +4441,12 @@ export declare class Rectangle {
4266
4441
  * Quantify a rectangle according to view information.
4267
4442
  *
4268
4443
  * @param {ViewController} viewController The associated view controller.
4444
+ * @param {Index} index The index at which to get the
4445
+ * image values.
4269
4446
  * @param {string[]} flags A list of stat values to calculate.
4270
4447
  * @returns {object} A quantification object.
4271
4448
  */
4272
- quantify(viewController: ViewController, flags: string[]): object;
4449
+ quantify(viewController: ViewController, index: Index, flags: string[]): object;
4273
4450
  #private;
4274
4451
  }
4275
4452
 
@@ -4707,23 +4884,6 @@ export declare class Tag {
4707
4884
  #private;
4708
4885
  }
4709
4886
 
4710
- /**
4711
- * Methods used to extract values from DICOM elements.
4712
- *
4713
- * Implemented as class and method to allow for override via its prototype.
4714
- */
4715
- export declare class TagValueExtractor {
4716
- /**
4717
- * Get the time.
4718
- *
4719
- * @param {Object<string, DataElement>} _elements The DICOM elements.
4720
- * @returns {number|undefined} The time value if available.
4721
- */
4722
- getTime(_elements: {
4723
- [x: string]: DataElement;
4724
- }): number | undefined;
4725
- }
4726
-
4727
4887
  /**
4728
4888
  * Toolbox controller.
4729
4889
  */
@@ -5185,23 +5345,23 @@ export declare class View {
5185
5345
  */
5186
5346
  getOrigin(position?: Point): Point3D;
5187
5347
  /**
5188
- * Set the current position.
5348
+ * Set the current position via an index.
5189
5349
  *
5190
- * @param {Point} position The new position.
5350
+ * @param {Index} index The new index.
5191
5351
  * @param {boolean} [silent] Flag to fire event or not.
5192
5352
  * @returns {boolean} False if not in bounds.
5193
5353
  * @fires View#positionchange
5194
5354
  */
5195
- setCurrentPosition(position: Point, silent?: boolean): boolean;
5355
+ setCurrentIndex(index: Index, silent?: boolean): boolean;
5196
5356
  /**
5197
- * Set the current index.
5357
+ * Set current position.
5198
5358
  *
5199
- * @param {Index} index The new index.
5359
+ * @param {Point} position The new position.
5200
5360
  * @param {boolean} [silent] Flag to fire event or not.
5201
5361
  * @returns {boolean} False if not in bounds.
5202
5362
  * @fires View#positionchange
5203
5363
  */
5204
- setCurrentIndex(index: Index, silent?: boolean): boolean;
5364
+ setCurrentPosition(position: Point, silent?: boolean): boolean;
5205
5365
  /**
5206
5366
  * Set the view window/level.
5207
5367
  *
@@ -5273,7 +5433,7 @@ export declare class View {
5273
5433
  *
5274
5434
  * @returns {number} The index.
5275
5435
  */
5276
- getScrollIndex(): number;
5436
+ getScrollDimIndex(): number;
5277
5437
  /**
5278
5438
  * Is this view in the same orientation as the image aquisition.
5279
5439
  *
@@ -5400,6 +5560,12 @@ export declare class ViewController {
5400
5560
  * @returns {boolean} True if the controler is playing.
5401
5561
  */
5402
5562
  isPlaying(): boolean;
5563
+ /**
5564
+ * Get the position helper.
5565
+ *
5566
+ * @returns {PositionHelper} The helper.
5567
+ */
5568
+ getPositionHelper(): PositionHelper;
5403
5569
  /**
5404
5570
  * Get the current position.
5405
5571
  *
@@ -5439,17 +5605,17 @@ export declare class ViewController {
5439
5605
  */
5440
5606
  getCurrentOrientedIndex(): Index;
5441
5607
  /**
5442
- * Get the scroll index.
5608
+ * Get the scroll dimension index.
5443
5609
  *
5444
5610
  * @returns {number} The index.
5445
5611
  */
5446
- getScrollIndex(): number;
5612
+ getScrollDimIndex(): number;
5447
5613
  /**
5448
- * Get the current scroll index value.
5614
+ * Get the current index scroll value.
5449
5615
  *
5450
- * @returns {object} The value.
5616
+ * @returns {number} The value.
5451
5617
  */
5452
- getCurrentScrollIndexValue(): object;
5618
+ getCurrentIndexScrollValue(): number;
5453
5619
  /**
5454
5620
  * Get the first origin or at a given position.
5455
5621
  *
@@ -5516,16 +5682,20 @@ export declare class ViewController {
5516
5682
  *
5517
5683
  * @param {Point2D} min Minimum point.
5518
5684
  * @param {Point2D} max Maximum point.
5685
+ * @param {Index} index The index at which to get the
5686
+ * image values (combined with min/max).
5519
5687
  * @returns {Array} A list of values.
5520
5688
  */
5521
- getImageRegionValues(min: Point2D, max: Point2D): any[];
5689
+ getImageRegionValues(min: Point2D, max: Point2D, index: Index): any[];
5522
5690
  /**
5523
5691
  * Get some values from the associated image in variable regions.
5524
5692
  *
5525
5693
  * @param {number[][][]} regions A list of [x, y] pairs (min, max).
5694
+ * @param {Index} index The index at which to get the
5695
+ * image values (combined with regions min/max).
5526
5696
  * @returns {Array} A list of values.
5527
5697
  */
5528
- getImageVariableRegionValues(regions: number[][][]): any[];
5698
+ getImageVariableRegionValues(regions: number[][][], index: Index): any[];
5529
5699
  /**
5530
5700
  * Can the image values be quantified?
5531
5701
  *
@@ -5648,62 +5818,6 @@ export declare class ViewController {
5648
5818
  * @returns {Vector3D} The 3D world offset.
5649
5819
  */
5650
5820
  getOffset3DFromPlaneOffset(offset2D: Scalar2D): Vector3D;
5651
- /**
5652
- * Get the current position incremented in the input direction.
5653
- *
5654
- * @param {number} dim The direction in which to increment.
5655
- * @returns {Point} The resulting point.
5656
- */
5657
- getIncrementPosition(dim: number): Point;
5658
- /**
5659
- * Get the current position decremented in the input direction.
5660
- *
5661
- * @param {number} dim The direction in which to decrement.
5662
- * @returns {Point} The resulting point.
5663
- */
5664
- getDecrementPosition(dim: number): Point;
5665
- /**
5666
- * Get the current position decremented in the scroll direction.
5667
- *
5668
- * @returns {Point} The resulting point.
5669
- */
5670
- getIncrementScrollPosition(): Point;
5671
- /**
5672
- * Get the current position decremented in the scroll direction.
5673
- *
5674
- * @returns {Point} The resulting point.
5675
- */
5676
- getDecrementScrollPosition(): Point;
5677
- /**
5678
- * Increment the provided dimension.
5679
- *
5680
- * @param {number} dim The dimension to increment.
5681
- * @param {boolean} [silent] Do not send event.
5682
- * @returns {boolean} False if not in bounds.
5683
- */
5684
- incrementIndex(dim: number, silent?: boolean): boolean;
5685
- /**
5686
- * Decrement the provided dimension.
5687
- *
5688
- * @param {number} dim The dimension to increment.
5689
- * @param {boolean} [silent] Do not send event.
5690
- * @returns {boolean} False if not in bounds.
5691
- */
5692
- decrementIndex(dim: number, silent?: boolean): boolean;
5693
- /**
5694
- * Decrement the scroll dimension index.
5695
- *
5696
- * @param {boolean} [silent] Do not send event.
5697
- * @returns {boolean} False if not in bounds.
5698
- */
5699
- decrementScrollIndex(silent?: boolean): boolean;
5700
- /**
5701
- * Increment the scroll dimension index.
5702
- *
5703
- * @param {boolean} [silent] Do not send event.
5704
- * @returns {boolean} False if not in bounds.
5705
- */
5706
- incrementScrollIndex(silent?: boolean): boolean;
5707
5821
  /**
5708
5822
  * Scroll play: loop through all slices.
5709
5823
  */