<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1468407944459_2725">Hi,   I have 2D data (usually double - sometimes unsigned short ) that I need to display using pseudocolor and let the user choose a point to divide the image into 4 quadrants - by drawing a vertical and horizontal line where they have clicked.</div><div id="yui_3_16_0_ym19_1_1468407944459_2725"><br></div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr">I have learnt to display the data after importing with vtkImageImport. - I have done this with ImageViewer2, as well as by using  Mapper / Actor /Interator.</div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr">I see the examples of PickPixel, PointPicker etc. and see how we can get the point where the user clicked.  I also saw someone respond to a similiar question some time ago about using vtkLineWidget2.  However the example does not help me as the line needs to be where the user clicked and the line itself should move to the new point where clicked if the user clicks elsewhere on the picture.   </div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr">I would appreciate some pointers, sample code or a link to an example that I have missed.</div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1468407944459_2725" dir="ltr">Thanks <br></div></div></body></html>