Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkVtkImageIOFactory.h
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
#ifndef mitkVtkImageIOFactory_h
13
#define mitkVtkImageIOFactory_h
14
15
#ifdef _MSC_VER
16
#pragma warning(disable : 4786)
17
#endif
18
19
#include <
MitkLegacyIOExports.h
>
20
21
#include "itkObjectFactoryBase.h"
22
#include "
mitkBaseData.h
"
23
24
namespace
mitk
25
{
26
//##Documentation
27
//## @brief Create instances of VtkImageReader objects using an object factory.
28
//##
29
//## @ingroup MitkLegacyIOModule
30
//## @deprecatedSince{2014_10} Use mitk::IOUtils or mitk::FileReaderRegistry instead.
31
class
DEPRECATED
()
MITKLEGACYIO_EXPORT
VtkImageIOFactory
:
public
itk::ObjectFactoryBase
32
{
33
public
:
35
typedef
VtkImageIOFactory
Self
;
36
typedef
itk::ObjectFactoryBase
Superclass
;
37
typedef
itk::SmartPointer<Self>
Pointer
;
38
typedef
itk::SmartPointer<const Self>
ConstPointer
;
39
41
const
char
*GetITKSourceVersion(
void
)
const override
;
42
const
char
*GetDescription(
void
)
const override
;
43
45
itkFactorylessNewMacro(
Self
);
46
static
VtkImageIOFactory
*
FactoryNew
() {
return
new
VtkImageIOFactory
; }
48
itkTypeMacro(
VtkImageIOFactory
, ObjectFactoryBase);
49
54
DEPRECATED
(
static
void
RegisterOneFactory
(
void
))
55
{
56
VtkImageIOFactory::Pointer
VtkImageIOFactory
=
VtkImageIOFactory::New
();
57
ObjectFactoryBase::RegisterFactory(
VtkImageIOFactory
);
58
}
59
60
protected
:
61
VtkImageIOFactory
();
62
~
VtkImageIOFactory
()
override
;
63
64
private
:
65
VtkImageIOFactory
(
const
Self &);
// purposely not implemented
66
void
operator=(
const
Self &);
// purposely not implemented
67
};
68
69
}
// end namespace mitk
70
71
#endif
mitk::VtkImageIOFactory::FactoryNew
static VtkImageIOFactory * FactoryNew()
Definition:
mitkVtkImageIOFactory.h:46
mitk::VtkImageIOFactory::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkVtkImageIOFactory.h:37
DEPRECATED
#define DEPRECATED(func)
Definition:
mitkCommon.h:175
itk::SmartPointer< Self >
MitkLegacyIOExports.h
mitk::VtkImageIOFactory
Create instances of VtkImageReader objects using an object factory.
Definition:
mitkVtkImageIOFactory.h:31
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::VtkImageIOFactory::Self
VtkImageIOFactory Self
Definition:
mitkVtkImageIOFactory.h:35
mitk::VtkImageIOFactory::RegisterOneFactory
static void RegisterOneFactory(void)
Definition:
mitkVtkImageIOFactory.h:54
mitk::VtkImageIOFactory::New
static Pointer New()
mitk::VtkImageIOFactory::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
mitkVtkImageIOFactory.h:38
MITKLEGACYIO_EXPORT
#define MITKLEGACYIO_EXPORT
Definition:
MitkLegacyIOExports.h:15
mitkBaseData.h
mitk::VtkImageIOFactory::Superclass
itk::ObjectFactoryBase Superclass
Definition:
mitkVtkImageIOFactory.h:36
src
MITK
Modules
LegacyIO
mitkVtkImageIOFactory.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17