# 3D interaction does not work in RenderWindowControl (Activiz)

**URL:** https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313
**Category:** Support
**Created:** [September 10, 2022, 10:28am UTC](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313 "2022-09-10T10:28:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![masoud](https://discourse.vtk.org/user_avatar/discourse.vtk.org/masoud/32/6446_2.png) [@masoud](https://discourse.vtk.org/u/masoud)
#### Post date: [September 10, 2022, 10:28am UTC](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313/1 "2022-09-10T10:28:18Z")

</div>

Hello everyone,  
I am trying to build a windows form application in C# and show a 3D reconstruction of a dicom series via putting a “RenderWindowControl” in the form. Actually, I could successfully build the reconstruction in a new Window (not inside the form) and could interact (rotate and zoom) with it via:

```auto
vtkRenderer ren = vtkRenderer.New();
vtkRenderWindow ren_win = vtkRenderWindow.New()
ren_win.AddRenderer(ren); 
vtkRenderWindowInteractor iren = vtkRenderWindowInteractor.New();
iren.SetRenderWindow(ren_win);
iren.Initialize();
ren_win.Render();
iren.Start();

```

However when I use `vtkRenderWindow ren_win = renderWindowControl1.RenderWindow;` to show the 3D image in the `RenderWindowControl`, it is shown but I cannot interact with it. Any suggestion is welcome. Thanks in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [September 12, 2022, 4:59am UTC](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313/2 "2022-09-12T04:59:02Z")

</div>

@LucasGandel

---

<div class="post-metadata">

### Author: ![LucasGandel](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lucasgandel/32/1831_2.png) [@LucasGandel](https://discourse.vtk.org/u/LucasGandel)
#### Post date: [September 12, 2022, 11:13am UTC](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313/3 "2022-09-12T11:13:35Z")

</div>

When using the WinForms RenderwindowControl, you should not assign a new vtkRenderWindowInteractor to your vtkRenderWindow. Instead you just need to access the existing vtkRenderer and add your actors in it. Please have a look at the HelloVTKForm example.

Hth,  
Lucas
