Hi, I&#39;m picking the a point location using vtkPointPicker, everything was working well until I changed the origin of the source image as I&#39;m showing below:<div><div><br></div><div>normalized.SetInputConnection( reader.GetOutputPort() );        </div>
<div>****normalized.SetOutputOrigin(0.0, 0.0, 0.0);*****</div><div>normalized.SetOutputSpacing( spacing[0], spacing[1], ippzspacing );</div><div>normalized.Update();</div></div><div><br></div><div>Point picker is ignoring this new origin and is giving same cords as before, using the centre of the image as the origin instead of use the right top corner.</div>
<div><br></div><div><div>double[] axialMapperPosition = new double[4];</div><div> mouseXYAxial = e.getPoint();</div><div> vtkPointPicker pickerAxial = new vtkPointPicker();</div><div>                            </div><div>
 int pickTest = pickerAxial.Pick(mouseXYAxial.x, mouseXYAxial.y, 0.0, vtkPanel.GetRenderer());</div><div><br></div><div>if (pickTest != 0) {                                </div><div>          axialMapperPosition = pickerAxial.GetMapperPosition();         ; </div>
<div>          System.out.println(&quot; x:&quot;+axialMapperPosition[0] + &quot; y:&quot;+axialMapperPosition[1] + &quot; z:&quot; +axialMapperPosition[2]);</div><div>                               </div><div>}</div></div>
<div><br></div><div>what I&#39;m missing here?</div><div><br></div><div>Thanks</div>