1
1
import vtkImageData from '../../../Common/DataModel/ImageData' ;
2
2
import vtkDataArray from '../../../Common/Core/DataArray' ;
3
- import { vtkObject } from " ../../../interfaces" ;
3
+ import { vtkObject } from ' ../../../interfaces' ;
4
4
5
5
/**
6
6
* Compute and return a hash than can be used for caching resources
@@ -9,18 +9,26 @@ import { vtkObject } from "../../../interfaces";
9
9
* @param useIndependentComponents A boolean taken from the image or volume property, using getIndependentComponents()
10
10
* @param numberOfComponents Taken from the data array, using getNumberOfComponents()
11
11
*/
12
- export function getTransferFunctionHash ( transferFunction : vtkObject | undefined , useIndependentComponents : boolean , numberOfComponents : number ) : string ;
12
+ export function getTransferFunctionHash (
13
+ transferFunction : vtkObject | undefined ,
14
+ useIndependentComponents : boolean ,
15
+ numberOfComponents : number
16
+ ) : string ;
13
17
14
18
/**
15
19
* Compute and return a hash than can be used for caching resources
16
20
*
17
21
* @param image The image data that contains the scalars
18
22
* @param scalars The scalars used for rendering
19
23
*/
20
- export function getImageDataHash ( image : vtkImageData , scalars : vtkDataArray ) : string ;
24
+ export function getImageDataHash (
25
+ image : vtkImageData ,
26
+ scalars : vtkDataArray
27
+ ) : string ;
21
28
22
29
declare const defaultExport : {
23
30
getTransferFunctionHash : typeof getTransferFunctionHash ;
31
+ getImageDataHash : typeof getImageDataHash ;
24
32
} ;
25
33
26
34
export default defaultExport ;
0 commit comments