Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkVtkImageIOFactory.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 (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#include "
mitkVtkImageIOFactory.h
"
14
#include "
mitkIOAdapter.h
"
15
#include "
mitkVtkImageReader.h
"
16
17
#include "itkVersion.h"
18
19
namespace
mitk
20
{
21
VtkImageIOFactory::VtkImageIOFactory
()
22
{
23
this->RegisterOverride(
"mitkIOAdapter"
,
24
"mitkVtkImageReader"
,
25
"mitk Vtk Image IO"
,
26
true
,
27
itk::CreateObjectFunction<
IOAdapter<VtkImageReader>
>::
New
());
28
}
29
30
VtkImageIOFactory::~VtkImageIOFactory
() {}
31
const
char
*
VtkImageIOFactory::GetITKSourceVersion
()
const
{
return
ITK_SOURCE_VERSION; }
32
const
char
*
VtkImageIOFactory::GetDescription
()
const
33
{
34
return
"VtkImage IO Factory, allows the loading of pvtk files"
;
35
}
36
37
}
// end namespace mitk
mitkVtkImageReader.h
mitk::VtkImageIOFactory::VtkImageIOFactory
VtkImageIOFactory()
Definition:
mitkVtkImageIOFactory.cpp:21
mitkIOAdapter.h
mitkVtkImageIOFactory.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::VtkImageIOFactory::GetDescription
const char * GetDescription(void) const override
Definition:
mitkVtkImageIOFactory.cpp:32
mitk::VtkImageIOFactory::New
static Pointer New()
mitk::VtkImageIOFactory::GetITKSourceVersion
const char * GetITKSourceVersion(void) const override
Definition:
mitkVtkImageIOFactory.cpp:31
mitk::VtkImageIOFactory::~VtkImageIOFactory
~VtkImageIOFactory() override
Definition:
mitkVtkImageIOFactory.cpp:30
mitk::IOAdapter
IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interfac...
Definition:
mitkIOAdapter.h:61
Source
Modules
LegacyIO
mitkVtkImageIOFactory.cpp
Generated on Thu Mar 12 2020 10:24:09 for Medical Imaging Interaction Toolkit by
1.8.13