Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
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 __mitkBaseDataIO_h
14 #define __mitkBaseDataIO_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
#define MITKLEGACYIO_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
BaseDataIO creates instances of BaseData objects using an object factory.
itk::SmartPointer< Self > Pointer
#define DEPRECATED(func)
Definition: mitkCommon.h:179
itk::SmartPointer< const Self > ConstPointer