Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkSlicerModuleLogic.h
Go to the documentation of this file.
00001 /*=auto=========================================================================
00002 
00003   Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
00004 
00005   See COPYRIGHT.txt
00006   or http://www.slicer.org/copyright/copyright.txt for details.
00007 
00008 =========================================================================auto=*/
00013 
00014 #ifndef __vtkSlicerModuleLogic_h
00015 #define __vtkSlicerModuleLogic_h
00016 
00017 // SlicerLogic includes
00018 #include "vtkSlicerApplicationLogic.h"
00019 
00020 // MRMLLogic includes
00021 #include <vtkMRMLAbstractLogic.h>
00022 
00023 class VTK_SLICER_BASE_LOGIC_EXPORT vtkSlicerModuleLogic
00024   : public vtkMRMLAbstractLogic
00025 {
00026 public:
00028   static vtkSlicerModuleLogic *New();
00029   vtkTypeRevisionMacro(vtkSlicerModuleLogic, vtkMRMLAbstractLogic);
00030   void PrintSelf(ostream& os, vtkIndent indent);
00031 
00033   virtual vtkSlicerApplicationLogic* GetApplicationLogic();
00034   //TODO virtual void SetApplicationLogic(vtkSlicerApplicationLogic* logic);
00035 
00036   std::string GetModuleShareDirectory()const;
00037   void SetModuleShareDirectory(const std::string& shareDirectory);
00038 
00039 protected:
00040 
00041   vtkSlicerModuleLogic();
00042   virtual ~vtkSlicerModuleLogic();
00043 
00044 private:
00045 
00046   vtkSlicerModuleLogic(const vtkSlicerModuleLogic&); // Not implemented
00047   void operator=(const vtkSlicerModuleLogic&);       // Not implemented
00048 
00049   std::string ModuleShareDirectory;
00050 };
00051 
00052 #endif
00053 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines