[vtkusers] Subclassing vtk.js objects

Richard Frank rickfrank at me.com
Mon Aug 6 16:29:43 EDT 2018


 

I'm trying to subclass a vtk.js object in an script as here:

 

https://kitware.github.io/vtk-js/docs/intro_vtk_as_external_script.html

 

 

 

Here's a codepen example of what I'm trying to do: subclass
vtkInteractorStyleImage with vtkMyInteractorStyleImage
as a simple test.

https://codepen.io/RickFrank/pen/jpvqJe

 

I can't seem to do this outside of a npm style project.

 

Is this a limitation of VTK.js?

 

 

Thanks

 

Rick Frank

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180806/ff1436e4/attachment.html>


More information about the vtkusers mailing list