Slicer 5.9
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
22
23class VTK_SLICER_BASE_LOGIC_EXPORT vtkSlicerModuleLogic
25{
26public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
34 //TODO virtual void SetApplicationLogic(vtkSlicerApplicationLogic* logic);
35
37 virtual vtkMRMLAbstractLogic* GetModuleLogic(const char* moduleName);
38
39 std::string GetModuleShareDirectory()const;
40 void SetModuleShareDirectory(const std::string& shareDirectory);
41
42protected:
43
46
47private:
48
50 void operator=(const vtkSlicerModuleLogic&) = delete;
51
52 std::string ModuleShareDirectory;
53};
54
55#endif
~vtkSlicerModuleLogic() override
virtual vtkMRMLAbstractLogic * GetModuleLogic(const char *moduleName)
Convenience method for getting another module's logic from the application logic.
void PrintSelf(ostream &os, vtkIndent indent) override
void SetModuleShareDirectory(const std::string &shareDirectory)
virtual vtkSlicerApplicationLogic * GetApplicationLogic()
Get access to overall application state.
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
std::string GetModuleShareDirectory() const