X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvInteractorStyleNavigator.cxx;h=96c45a4d24cf7d5a6641bf0d311062d315180e99;hb=916b360a5059598577cb44f87381ccb1f0514476;hp=5c261bed7a8ee18e6147d109b566786aaedfe864;hpb=34f65035ccfded5af58217a138b64863533443ce;p=clitk.git diff --git a/vv/vvInteractorStyleNavigator.cxx b/vv/vvInteractorStyleNavigator.cxx index 5c261be..96c45a4 100644 --- a/vv/vvInteractorStyleNavigator.cxx +++ b/vv/vvInteractorStyleNavigator.cxx @@ -1,26 +1,20 @@ /*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Program: vv - Language: C++ - Author : Pierre Seroul (pierre.seroul@gmail.com) + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr -Copyright (C) 2008 -Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr -CREATIS-LRMN http://www.creatis.insa-lyon.fr + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. + It is distributed under dual licence -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -=========================================================================*/ + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +======================================================================-====*/ #include "vvInteractorStyleNavigator.h" #include "vtkAbstractPropPicker.h" @@ -286,6 +280,7 @@ void vvInteractorStyleNavigator::OnLeftButtonDown() //---------------------------------------------------------------------------- void vvInteractorStyleNavigator::OnLeftButtonUp() { + // DD("OnLeftButtonUp"); switch (this->State) { case VTKIS_PICK: @@ -347,8 +342,8 @@ void vvInteractorStyleNavigator::OnChar() break; } - case 'w' : - case 'W' : + case 'o' : + case 'O' : { this->FindPokedRenderer(this->Interactor->GetEventPosition()[0], this->Interactor->GetEventPosition()[1]); @@ -364,8 +359,8 @@ void vvInteractorStyleNavigator::OnChar() this->ReleaseFocus(); break; } - case 'x' : - case 'X' : + case 'i' : + case 'I' : { this->FindPokedRenderer(rwi->GetEventPosition()[0], rwi->GetEventPosition()[1]);