00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2010-08-25 13:01:29 +0200 (Mi, 25 Aug 2010) $ 00006 Version: $Revision: 25766 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED 00020 #define MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED 00021 00022 #include <mitkInteractor.h> 00023 00024 namespace mitk 00025 { 00026 class DataNode; 00027 00033 class MITK_CORE_EXPORT MoveSurfaceInteractor : public Interactor 00034 { 00035 public: 00036 mitkClassMacro(MoveSurfaceInteractor, Interactor); 00037 mitkNewMacro2Param(Self, const char*, DataNode*); 00038 00042 //virtual float CanHandleEvent(StateEvent const* stateEvent) const; 00043 //used from mitkInteractor 00044 00051 //virtual void DataChanged(){}; 00052 00053 protected: 00057 MoveSurfaceInteractor(const char * type, DataNode* dataNode); 00058 00062 virtual ~MoveSurfaceInteractor(); 00063 00067 virtual bool ExecuteAction( Action* action, mitk::StateEvent const* stateEvent ); 00068 }; 00069 } 00070 00077 #endif /* MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED */