Closed ArturRod closed 3 years ago
To solve this you should add in index.js the export of imageDataCache, so the user can access that class and make a clear () of the Map (). I have generated it again and uploaded it to my project, but it should be officially changed.
Hello, I would like to be able to clear the cache when rendering in 3D, since it calls the getImageData (imageIds, displaySetInstanceUid) method and saves said cache, there is no way to erase it. You could put that if you call getImageData (imageIds, displaySetInstanceUid, true / false) with a true or false clear the cache. and make a new new Map () or something like that.