1
1
import { vtkAlgorithm , vtkObject } from "../../../interfaces" ;
2
2
3
+ type CroppingPlanes = number [ ] ;
4
+
3
5
/**
4
6
*
5
7
*/
6
- interface IImageCropFilterInitialValues {
7
- croppingPlanes ?: any ;
8
+ export interface IImageCropFilterInitialValues {
9
+ croppingPlanes ?: CroppingPlanes ;
8
10
}
9
11
10
12
type vtkImageCropFilterBase = vtkObject & vtkAlgorithm ;
@@ -15,18 +17,19 @@ export interface vtkImageCropFilter extends vtkImageCropFilterBase {
15
17
* Get The cropping planes, in IJK space.
16
18
* @default [0, 0, 0, 0, 0, 0].
17
19
*/
18
- getCroppingPlanes ( ) : number [ ] ;
20
+ getCroppingPlanes ( ) : CroppingPlanes ;
19
21
20
22
/**
21
23
* Get The cropping planes, in IJK space.
22
24
* @default [0, 0, 0, 0, 0, 0].
23
25
*/
24
- getCroppingPlanesByReference ( ) : number [ ] ;
26
+ getCroppingPlanesByReference ( ) : CroppingPlanes ;
25
27
26
28
/**
27
29
*
28
30
*/
29
31
isResetAvailable ( ) : boolean ;
32
+
30
33
/**
31
34
*
32
35
*/
@@ -43,13 +46,13 @@ export interface vtkImageCropFilter extends vtkImageCropFilterBase {
43
46
*
44
47
* @param croppingPlanes
45
48
*/
46
- setCroppingPlanes ( croppingPlanes : number [ ] ) : boolean ;
49
+ setCroppingPlanes ( croppingPlanes : CroppingPlanes ) : boolean ;
47
50
48
51
/**
49
52
*
50
53
* @param croppingPlanes
51
54
*/
52
- setCroppingPlanesFrom ( croppingPlanes : number [ ] ) : boolean ;
55
+ setCroppingPlanesFrom ( croppingPlanes : CroppingPlanes ) : boolean ;
53
56
}
54
57
55
58
/**
0 commit comments