Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkModuleActivator.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
#include <
usModuleActivator.h
>
17
#include <
usModuleContext.h
>
18
#include <
mitkRandomForestIO.h
>
19
#include "
mitkNodePredicateDataType.h
"
20
#include <
mitkDummyLsetReader.h
>
21
22
namespace
mitk
23
{
24
28
class
ModuleActivator :
public
us::ModuleActivator
29
{
30
public
:
31
32
void
Load
(us::ModuleContext*)
33
{
34
35
// *-----------------*
36
// * IO
37
// *-----------------*
38
39
m_DecisionForestIO =
new
mitk::RandomForestFileIO
();
40
m_DummyLsetReader =
new
mitk::DummyLsetFileReader
();
41
}
42
43
void
Unload
(us::ModuleContext*)
44
{
45
delete
m_DecisionForestIO;
46
delete
m_DummyLsetReader;
47
}
48
49
private
:
50
mitk::RandomForestFileIO
* m_DecisionForestIO;
51
mitk::DummyLsetFileReader
* m_DummyLsetReader;
52
};
53
}
54
55
US_EXPORT_MODULE_ACTIVATOR
(mitk::ModuleActivator)
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::RandomForestFileIO
Definition:
mitkRandomForestIO.h:30
us::ModuleActivator::Unload
virtual void Unload(ModuleContext *context)=0
mitkRandomForestIO.h
usModuleActivator.h
us::ModuleActivator
Definition:
usModuleActivator.h:63
mitkNodePredicateDataType.h
us::ModuleActivator::Load
virtual void Load(ModuleContext *context)=0
mitk::DummyLsetFileReader
Definition:
mitkDummyLsetReader.h:29
mitkDummyLsetReader.h
usModuleContext.h
US_EXPORT_MODULE_ACTIVATOR
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)
git
MITK
Modules
Classification
CLVigraRandomForest
src
mitkModuleActivator.cpp
Generated on Fri Feb 3 2017 20:52:03 for Medical Imaging Interaction Toolkit by
1.8.9.1