mitkMoveSurfaceInteractor.h

This is an example of how to implement a new Interactor. See more details about this example in tutorial Step10.

/*=========================================================================

Program:   Medical Imaging & Interaction Toolkit
Language:  C++
Date:      $Date: 2010-08-25 13:01:29 +0200 (Mi, 25 Aug 2010) $
Version:   $Revision: 25766 $

Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or https://www.mitk.org/copyright.html for details.

This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.  See the above copyright notices for more information.

=========================================================================*/


#ifndef MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED
#define MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED

#include <mitkInteractor.h>

namespace mitk
{
  class DataNode;

  class MITK_CORE_EXPORT MoveSurfaceInteractor : public Interactor
  {
  public:
    mitkClassMacro(MoveSurfaceInteractor, Interactor);
    mitkNewMacro2Param(Self, const char*, DataNode*);

    //virtual float CanHandleEvent(StateEvent const* stateEvent) const; 
    //used from mitkInteractor

    //virtual void DataChanged(){};

  protected:
    MoveSurfaceInteractor(const char * type, DataNode* dataNode);

    virtual ~MoveSurfaceInteractor();

    virtual bool ExecuteAction( Action* action, mitk::StateEvent const* stateEvent );
  };
}

#endif /* MITKMOVESURFACEINTERACTOR_H_HEADER_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines