Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkVtiFileIOFactory.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 "mitkVtiFileIOFactory.h"
14 #include "mitkIOAdapter.h"
15 #include "mitkVtiFileReader.h"
16 
17 #include "itkVersion.h"
18 
19 namespace mitk
20 {
22  {
23  this->RegisterOverride("mitkIOAdapter",
24  "mitkVtiFileReader",
25  "mitk Vti Image IO",
26  true,
27  itk::CreateObjectFunction<IOAdapter<VtiFileReader>>::New());
28  }
29 
31  const char *VtiFileIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
32  const char *VtiFileIOFactory::GetDescription() const { return "VtiFile IO Factory, allows the loading of vti files"; }
33 } // end namespace mitk
DataCollection - Class to facilitate loading/accessing structured data.
const char * GetITKSourceVersion(void) const override
static Pointer New()
const char * GetDescription(void) const override
IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interfac...
Definition: mitkIOAdapter.h:61