From 1276ead5a069de2322555e1110a8ee87c84f3281 Mon Sep 17 00:00:00 2001 From: ArthurRod Date: Wed, 27 Jul 2022 17:37:03 +0200 Subject: [PATCH] Add the global variable to be able to clear the data cache, since the method is not accessible. --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 802b057e..846d50c1 100644 --- a/src/index.js +++ b/src/index.js @@ -14,6 +14,7 @@ import getImageData from './lib/getImageData.js'; import loadImageData from './lib/loadImageData.js'; import invertVolume from './lib/invertVolume.js'; import EVENTS from './events.js'; +import imageDataCache from './lib/data/imageDataCache.js'; export { View2D, @@ -22,6 +23,7 @@ export { ViewportData, getImageData, loadImageData, + imageDataCache, vtkInteractorStyleMPRWindowLevel, vtkInteractorStyleMPRCrosshairs, vtkInteractorStyleRotatableMPRCrosshairs,