Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef __mitkBaseDataIO_h
18 #define __mitkBaseDataIO_h
19 
20 #include <MitkLegacyIOExports.h>
21 
22 #include "mitkBaseData.h"
23 
24 #include "itkObject.h"
25 
26 namespace mitk
27 {
34  class DEPRECATED() MITKLEGACYIO_EXPORT BaseDataIO : public itk::Object
35  {
36  public:
38  typedef BaseDataIO Self;
39  typedef itk::Object Superclass;
42 
46  itkTypeMacro(BaseDataIO, Object);
47 
49  static std::vector<mitk::BaseData::Pointer> LoadBaseDataFromFile(const std::string path,
50  const std::string filePrefix,
51  const std::string filePattern,
52  bool series);
53 
54  protected:
55  BaseDataIO();
56  ~BaseDataIO();
57 
58  private:
59  BaseDataIO(const Self &); // purposely not implemented
60  void operator=(const Self &); // purposely not implemented
61  };
62 
63 } // end namespace mitk
64 
65 #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:183
itk::SmartPointer< const Self > ConstPointer