Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkBaseDataIOFactory.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 
13 #ifndef mitkBaseDataIOFactory_h
14 #define mitkBaseDataIOFactory_h
15 
16 #include <MitkLegacyIOExports.h>
17 
18 #include "mitkBaseData.h"
19 
20 #include "itkObject.h"
21 
22 namespace mitk
23 {
30  class DEPRECATED() MITKLEGACYIO_EXPORT BaseDataIO : public itk::Object
31  {
32  public:
34  typedef BaseDataIO Self;
35  typedef itk::Object Superclass;
38 
42  itkTypeMacro(BaseDataIO, Object);
43 
45  static std::vector<mitk::BaseData::Pointer> LoadBaseDataFromFile(const std::string path,
46  const std::string filePrefix,
47  const std::string filePattern,
48  bool series);
49 
50  protected:
51  BaseDataIO();
52  ~BaseDataIO() override;
53 
54  private:
55  BaseDataIO(const Self &); // purposely not implemented
56  void operator=(const Self &); // purposely not implemented
57  };
58 
59 } // end namespace mitk
60 
61 #endif
mitk::BaseDataIO
BaseDataIO creates instances of BaseData objects using an object factory.
Definition: mitkBaseDataIOFactory.h:30
DEPRECATED
#define DEPRECATED(func)
Definition: mitkCommon.h:175
itk::SmartPointer< Self >
MitkLegacyIOExports.h
mitk::BaseDataIO::Superclass
itk::Object Superclass
Definition: mitkBaseDataIOFactory.h:35
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseDataIO::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkBaseDataIOFactory.h:37
mitk::BaseDataIO::Self
BaseDataIO Self
Definition: mitkBaseDataIOFactory.h:34
MITKLEGACYIO_EXPORT
#define MITKLEGACYIO_EXPORT
Definition: MitkLegacyIOExports.h:15
mitkBaseData.h
mitk::BaseDataIO::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkBaseDataIOFactory.h:36