X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvInteractorStyleNavigator.cxx;h=96c45a4d24cf7d5a6641bf0d311062d315180e99;hb=dfb1627eab468417ab2682a03a4a66cf6830b921;hp=281067e36ffddbd20e84a8fad26bc11c20d5eb78;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/vv/vvInteractorStyleNavigator.cxx b/vv/vvInteractorStyleNavigator.cxx index 281067e..96c45a4 100644 --- a/vv/vvInteractorStyleNavigator.cxx +++ b/vv/vvInteractorStyleNavigator.cxx @@ -1,29 +1,20 @@ /*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Program: vv - Module: $RCSfile: vvInteractorStyleNavigator.cxx,v $ - Language: C++ - Date: $Date: 2010/01/06 13:31:57 $ - Version: $Revision: 1.1 $ - 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" @@ -39,7 +30,7 @@ along with this program. If not, see . #include "clitkCommon.h" -vtkCxxRevisionMacro(vvInteractorStyleNavigator, "$Revision: 1.1 $"); +vtkCxxRevisionMacro(vvInteractorStyleNavigator, "DummyRevision"); vtkStandardNewMacro(vvInteractorStyleNavigator); //---------------------------------------------------------------------------- @@ -289,6 +280,7 @@ void vvInteractorStyleNavigator::OnLeftButtonDown() //---------------------------------------------------------------------------- void vvInteractorStyleNavigator::OnLeftButtonUp() { + // DD("OnLeftButtonUp"); switch (this->State) { case VTKIS_PICK: @@ -350,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]); @@ -367,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]);