<br>I&#39;d like to create an interactive seed placing window in VTK for future use with an ITK segmentation algorithm.<br>Preferably, I&#39;d like to stay away from Tcl or TK / FLTK, unless it is really advisable to do so. Just plain C++ in VTK.<br>

<br>This is what I&#39;d like to do:<br><br>- open a dicom series and display a single slice in a renderwindow.<br>- With mousewheel action (up/down) the user can zoom in on a specific area of an image<br>- with up/down keys the next/previous dicom slice from the series will be shown<br>

- with the &#39;p&#39; key of the keyboard, a seedpoint will be displayed as a colored pixel and the seedpoint location will be saved in a seed point list.<br>- with the &#39;r&#39; key, the seed point will be removed from the image and the seed point will be deleted from the seed point list.<br>

<br>In the class references I&#39;ve found that the vtkrenderwindowinteractor class passes user interactions to the vtkinteractor style class.<br><br>Promising functions in vtkrenderwindowinteractor:<br>-createdefaultpicker<br>

-getmouseposition<br>-render<br>-setpicker<br>-getkeycode<br><br>promising functions in vtkinteractor style:<br>-onchar<br>-onkeyup<br>-onkeydown<br>-onkeypress<br>-onkeyrelease<br>-setpickcolor<br>-setmousewheel motionfactor.<br>

<br>Does anybody have an example I could look at?<br>What is the &#39;picker&#39; function actually? It seems to me as returning a pixel coordinate.<br>Any tips for how to set this up?<br><br>I have to admit that I&#39;m a newbie to VTK, so this project is quite ambitious for me.<br>

<br>kind regards, Michael<br><br>