Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Error when loading plugin #28

@luccascorrea

Description

@luccascorrea

Hello there,

I am running into this error when trying to load the plugin:

TypeError: Cannot read property 'getImageData' of undefined
    at VolumeRenderingPlugin.setupViewport (main.js?986.5500000305474:59)
    at 008a74a72da5af5b95bbc47fe6c1f8d714786336.js:175
    at Array.forEach (<anonymous>)
    at VolumeRenderingPlugin._initEmptyPluginViewports (008a74a72da5af5b95bbc47fe6c1f8d714786336.js:175)
    at 008a74a72da5af5b95bbc47fe6c1f8d714786336.js:175
    at t._compute (008a74a72da5af5b95bbc47fe6c1f8d714786336.js:49)
    at t._recompute (008a74a72da5af5b95bbc47fe6c1f8d714786336.js:49)
    at Object.s._runFlush (008a74a72da5af5b95bbc47fe6c1f8d714786336.js:49)
    at a (008a74a72da5af5b95bbc47fe6c1f8d714786336.js:1)

This error happened to me while developing locally but it also happens using the demo URL (https://vtk-plugin.ohif.org/?url=https://s3.eu-central-1.amazonaws.com/ohif-viewer/JSON/PTCTStudy.json) which I guess would make it easier to reproduce it. In the demo project, it happens when I click the "Volume rendering" tool.

I am new to OHIF and VTK so I am not sure what is going on. Could anyone give me a hand? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions