Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkSlicerModuleLogic.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8 =========================================================================auto=*/
13 
14 #ifndef __vtkSlicerModuleLogic_h
15 #define __vtkSlicerModuleLogic_h
16 
17 // SlicerLogic includes
19 
20 // MRMLLogic includes
21 #include <vtkMRMLAbstractLogic.h>
22 
23 class VTK_SLICER_BASE_LOGIC_EXPORT vtkSlicerModuleLogic
24  : public vtkMRMLAbstractLogic
25 {
26 public:
28  static vtkSlicerModuleLogic *New();
30  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
31 
33  virtual vtkSlicerApplicationLogic* GetApplicationLogic();
34  //TODO virtual void SetApplicationLogic(vtkSlicerApplicationLogic* logic);
35 
36  std::string GetModuleShareDirectory()const;
37  void SetModuleShareDirectory(const std::string& shareDirectory);
38 
39 protected:
40 
42  virtual ~vtkSlicerModuleLogic();
43 
44 private:
45 
46  vtkSlicerModuleLogic(const vtkSlicerModuleLogic&); // Not implemented
47  void operator=(const vtkSlicerModuleLogic&); // Not implemented
48 
49  std::string ModuleShareDirectory;
50 };
51 
52 #endif
53 
Superclass for MRML logic classes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkMRMLAbstractLogic * New()