Hey I want to add a Button (Zoom and pan ) in a vtkGenericRenderWindow below the actual actor I’m displaying, I tried to do that but it doesn’t work and I don’t know what to do:
const ZoomPan = () =>{
<div>
<Button>
+
</Button>
<Button>
-
</Button>
</div>
}
grw.addController(ZoomPan); //grw is a vtkGenericRenderWindow
PS: it works for fullScreenRenderer as I saw it in the vtk.js docs