00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision: 1.0 $ 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 #ifndef mitkCreateSurfaceTool_h_Included 00019 #define mitkCreateSurfaceTool_h_Included 00020 00021 #include "mitkCommon.h" 00022 #include "MitkExtExports.h" 00023 #include "mitkSegmentationsProcessingTool.h" 00024 00025 namespace mitk 00026 { 00027 00036 class MitkExt_EXPORT CreateSurfaceTool : public SegmentationsProcessingTool 00037 { 00038 public: 00039 00040 mitkClassMacro(CreateSurfaceTool, SegmentationsProcessingTool); 00041 itkNewMacro(CreateSurfaceTool); 00042 00043 virtual const char** GetXPM() const; 00044 virtual const char* GetName() const; 00045 00046 void OnSurfaceCalculationDone(); 00047 00048 protected: 00049 00050 virtual bool ProcessOneWorkingData( DataNode* node ); 00051 virtual std::string GetErrorMessage(); 00052 00053 CreateSurfaceTool(); // purposely hidden 00054 virtual ~CreateSurfaceTool(); 00055 }; 00056 00057 } // namespace 00058 00059 #endif 00060