Medical Imaging Interaction Toolkit  2023.12.99-ed252ae7
Medical Imaging Interaction Toolkit
mitkVtkSurfaceIOFactory.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 mitkVtkSurfaceIOFactory_h
13 #define mitkVtkSurfaceIOFactory_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 VtkSurfaceReader 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 VtkSurfaceIOFactory : public itk::ObjectFactoryBase
32  {
33  public:
36  typedef itk::ObjectFactoryBase Superclass;
39 
41  const char *GetITKSourceVersion(void) const override;
42  const char *GetDescription(void) const override;
43 
45  itkFactorylessNewMacro(Self);
48  itkTypeMacro(VtkSurfaceIOFactory, ObjectFactoryBase);
49 
54  DEPRECATED(static void RegisterOneFactory(void))
55  {
57  ObjectFactoryBase::RegisterFactory(VtkSurfaceIOFactory);
58  }
59 
60  protected:
62  ~VtkSurfaceIOFactory() override;
63 
64  private:
65  VtkSurfaceIOFactory(const Self &); // purposely not implemented
66  void operator=(const Self &); // purposely not implemented
67  };
68 
69 } // end namespace mitk
70 
71 #endif
mitk::VtkSurfaceIOFactory
Create instances of VtkSurfaceReader objects using an object factory.
Definition: mitkVtkSurfaceIOFactory.h:31
DEPRECATED
#define DEPRECATED(func)
Definition: mitkCommon.h:175
mitk::VtkSurfaceIOFactory::Self
VtkSurfaceIOFactory Self
Definition: mitkVtkSurfaceIOFactory.h:35
itk::SmartPointer< Self >
MitkLegacyIOExports.h
mitk::VtkSurfaceIOFactory::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkVtkSurfaceIOFactory.h:38
mitk::VtkSurfaceIOFactory::New
static Pointer New()
mitk::VtkSurfaceIOFactory::Superclass
itk::ObjectFactoryBase Superclass
Definition: mitkVtkSurfaceIOFactory.h:36
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MITKLEGACYIO_EXPORT
#define MITKLEGACYIO_EXPORT
Definition: MitkLegacyIOExports.h:15
mitkBaseData.h
mitk::VtkSurfaceIOFactory::RegisterOneFactory
static void RegisterOneFactory(void)
Definition: mitkVtkSurfaceIOFactory.h:54
mitk::VtkSurfaceIOFactory::FactoryNew
static VtkSurfaceIOFactory * FactoryNew()
Definition: mitkVtkSurfaceIOFactory.h:46
mitk::VtkSurfaceIOFactory::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkVtkSurfaceIOFactory.h:37