dwv 0.35.0-beta.7 → 0.35.0-beta.8
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 +36 -17
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +1 -1
package/dist/dwv.d.ts
CHANGED
|
@@ -3919,13 +3919,13 @@ export declare class PlaneHelper {
|
|
|
3919
3919
|
*
|
|
3920
3920
|
* @returns {number} The index.
|
|
3921
3921
|
*/
|
|
3922
|
-
|
|
3922
|
+
getScrollDimIndex(): number;
|
|
3923
3923
|
/**
|
|
3924
3924
|
* Get the native (image) scroll dimension index.
|
|
3925
3925
|
*
|
|
3926
3926
|
* @returns {number} The index.
|
|
3927
3927
|
*/
|
|
3928
|
-
|
|
3928
|
+
getNativeScrollDimIndex(): number;
|
|
3929
3929
|
#private;
|
|
3930
3930
|
}
|
|
3931
3931
|
|
|
@@ -4163,13 +4163,38 @@ export declare class PositionHelper {
|
|
|
4163
4163
|
*
|
|
4164
4164
|
* @returns {number} The scroll index.
|
|
4165
4165
|
*/
|
|
4166
|
-
|
|
4166
|
+
getScrollDimIndex(): number;
|
|
4167
|
+
/**
|
|
4168
|
+
* Get the maximum scroll index.
|
|
4169
|
+
*
|
|
4170
|
+
* @returns {number} The maximum index.
|
|
4171
|
+
*/
|
|
4172
|
+
getMaximumScrollIndex(): number;
|
|
4167
4173
|
/**
|
|
4168
4174
|
* Get the current position.
|
|
4169
4175
|
*
|
|
4170
4176
|
* @returns {Point} The current position.
|
|
4171
4177
|
*/
|
|
4172
|
-
|
|
4178
|
+
getCurrentPosition(): Point;
|
|
4179
|
+
/**
|
|
4180
|
+
* Get the scroll index for the current position.
|
|
4181
|
+
*
|
|
4182
|
+
* @returns {number} The index.
|
|
4183
|
+
*/
|
|
4184
|
+
getCurrentPositionScrollIndex(): number;
|
|
4185
|
+
/**
|
|
4186
|
+
* Get the current position updated at the provided scroll index.
|
|
4187
|
+
*
|
|
4188
|
+
* @param {number} index The scroll index.
|
|
4189
|
+
* @returns {Point} The position.
|
|
4190
|
+
*/
|
|
4191
|
+
getCurrentPositionAtScrollIndex(index: number): Point;
|
|
4192
|
+
/**
|
|
4193
|
+
* Get the current index.
|
|
4194
|
+
*
|
|
4195
|
+
* @returns {Index} The current index.
|
|
4196
|
+
*/
|
|
4197
|
+
getCurrentIndex(): Index;
|
|
4173
4198
|
/**
|
|
4174
4199
|
* Set the current position.
|
|
4175
4200
|
*
|
|
@@ -4200,12 +4225,6 @@ export declare class PositionHelper {
|
|
|
4200
4225
|
* @returns {boolean} True is the position is in bounds.
|
|
4201
4226
|
*/
|
|
4202
4227
|
isPositionInBounds(position: Point): boolean;
|
|
4203
|
-
/**
|
|
4204
|
-
* Get the current index.
|
|
4205
|
-
*
|
|
4206
|
-
* @returns {Index} The current index.
|
|
4207
|
-
*/
|
|
4208
|
-
getCurrentIndex(): Index;
|
|
4209
4228
|
/**
|
|
4210
4229
|
* Get the current position incremented in the input direction.
|
|
4211
4230
|
*
|
|
@@ -4239,13 +4258,13 @@ export declare class PositionHelper {
|
|
|
4239
4258
|
*
|
|
4240
4259
|
* @returns {boolean} True if possible and in bounds.
|
|
4241
4260
|
*/
|
|
4242
|
-
|
|
4261
|
+
incrementPositionAlongScroll(): boolean;
|
|
4243
4262
|
/**
|
|
4244
4263
|
* Decrement the current position along the scroll dimension.
|
|
4245
4264
|
*
|
|
4246
4265
|
* @returns {boolean} True if possible and in bounds.
|
|
4247
4266
|
*/
|
|
4248
|
-
|
|
4267
|
+
decrementPositionAlongScroll(): boolean;
|
|
4249
4268
|
#private;
|
|
4250
4269
|
}
|
|
4251
4270
|
|
|
@@ -5380,7 +5399,7 @@ export declare class View {
|
|
|
5380
5399
|
*
|
|
5381
5400
|
* @returns {number} The index.
|
|
5382
5401
|
*/
|
|
5383
|
-
|
|
5402
|
+
getScrollDimIndex(): number;
|
|
5384
5403
|
/**
|
|
5385
5404
|
* Is this view in the same orientation as the image aquisition.
|
|
5386
5405
|
*
|
|
@@ -5552,17 +5571,17 @@ export declare class ViewController {
|
|
|
5552
5571
|
*/
|
|
5553
5572
|
getCurrentOrientedIndex(): Index;
|
|
5554
5573
|
/**
|
|
5555
|
-
* Get the scroll index.
|
|
5574
|
+
* Get the scroll dimension index.
|
|
5556
5575
|
*
|
|
5557
5576
|
* @returns {number} The index.
|
|
5558
5577
|
*/
|
|
5559
|
-
|
|
5578
|
+
getScrollDimIndex(): number;
|
|
5560
5579
|
/**
|
|
5561
|
-
* Get the current scroll
|
|
5580
|
+
* Get the current index scroll value.
|
|
5562
5581
|
*
|
|
5563
5582
|
* @returns {number} The value.
|
|
5564
5583
|
*/
|
|
5565
|
-
|
|
5584
|
+
getCurrentIndexScrollValue(): number;
|
|
5566
5585
|
/**
|
|
5567
5586
|
* Get the first origin or at a given position.
|
|
5568
5587
|
*
|