What's the difference and respective use for GenericRenderWindow vs RenderWindow vs WebGLRenderWindow?

(Madison Dickson) #1

The vtk.js API docs for GenericRenderWindow only show the code implementation, and the WebGL one says it is “designed to view/render a vkRenderWindow”, (also probably typo here? vtk?) but isn’t that what the regular RenderWindow does? Render a window?

How do I choose which one to use?

The example I’m trying to recreate/expand on uses both a RenderWindow and a WebGLRenderWindow (https://kitware.github.io/vtk-js/examples/ResliceCursor.html), but all my other uses so far were with the GenericRenderWindow, so now I’m confused.

Thanks!

1 Like