File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ import vtk from 'vtk.js/Sources/vtk';
3
3
import macro from 'vtk.js/Sources/macros' ;
4
4
5
5
import vtkDataArray from 'vtk.js/Sources/Common/Core/DataArray' ;
6
- import vtkPoints from 'vtk.js/Sources/Common/Core/Points ' ;
6
+ import vtkImageData from 'vtk.js/Sources/Common/DataModel/ImageData ' ;
7
7
import vtkLookupTable from 'vtk.js/Sources/Common/Core/LookupTable' ;
8
+ import vtkPoints from 'vtk.js/Sources/Common/Core/Points' ;
9
+ import vtkPolyData from 'vtk.js/Sources/Common/DataModel/PolyData' ;
8
10
import vtkScalarsToColors from 'vtk.js/Sources/Common/Core/ScalarsToColors' ;
9
11
10
- import vtkPolyData from 'vtk.js/Sources/Common/DataModel/PolyData' ;
11
12
import Common from 'vtk.js/Sources/Common' ;
12
13
import Filters from 'vtk.js/Sources/Filters' ;
13
14
import Imaging from 'vtk.js/Sources/Imaging' ;
@@ -21,10 +22,11 @@ const { vtkDebugMacro } = macro;
21
22
22
23
const classToTest = [
23
24
'vtkDataArray' ,
24
- 'vtkPoints ' ,
25
+ 'vtkImageData ' ,
25
26
'vtkLookupTable' ,
26
- 'vtkScalarsToColors ' ,
27
+ 'vtkPoints ' ,
27
28
'vtkPolyData' ,
29
+ 'vtkScalarsToColors' ,
28
30
] ;
29
31
30
32
const SERIALIZABLE_CLASSES = {
@@ -55,6 +57,7 @@ const SERIALIZABLE_CLASSES = {
55
57
} ,
56
58
} ,
57
59
} ,
60
+ vtkImageData,
58
61
} ;
59
62
60
63
function ignoreMTime ( json ) {
You can’t perform that action at this time.
0 commit comments