<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1419260440588_3846">Hi all,</div><div id="yui_3_16_0_1_1419260440588_3865" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_3870" dir="ltr">I happened to be looking at the source of the vtkContextInteractorStyle class.</div><div id="yui_3_16_0_1_1419260440588_3877" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_3878" dir="ltr">In the OnKeyPress() and OnKeyRelease() functions I see the folowwing:</div><div id="yui_3_16_0_1_1419260440588_3879" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_3880" dir="ltr">vtkVector2i position(this->Interactor->GetEventPosition()[0],</div><div id="yui_3_16_0_1_1419260440588_4040" dir="ltr"> this->Interactor->GetEventPosition()[0]);</div><div id="yui_3_16_0_1_1419260440588_4041" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_4042" dir="ltr">which to me looks wrong.</div><div id="yui_3_16_0_1_1419260440588_4043" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_4044" dir="ltr">Not sure whether one of the vtk developers has already been made aware of this.<br></div><div id="yui_3_16_0_1_1419260440588_4046" dir="ltr"><br></div><div id="yui_3_16_0_1_1419260440588_4047" dir="ltr">Maarten<br></div><div style="" class="" id="yui_3_16_0_1_1419260440588_3870" dir="ltr"> </div></div></body></html>