Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
itkMRMLIDImageIOFactory.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkMRMLIDImageIOFactory_h
19#define itkMRMLIDImageIOFactory_h
20
21#include "itkObjectFactoryBase.h"
22#include "itkImageIOBase.h"
23
24#include "itkMRMLIDImageIO.h"
25
26#include "itkMRMLIDIOExport.h"
27
28namespace itk
29{
33class MRMLIDImageIO_EXPORT MRMLIDImageIOFactory : public ObjectFactoryBase
34{
35public:
38 typedef ObjectFactoryBase Superclass;
39 typedef SmartPointer<Self> Pointer;
40 typedef SmartPointer<const Self> ConstPointer;
41
43 const char* GetITKSourceVersion() const override;
44 const char* GetDescription() const override;
45
49
52
54 static void RegisterOneFactory()
55 {
56 MRMLIDImageIOFactory::Pointer nrrdFactory = MRMLIDImageIOFactory::New();
57 ObjectFactoryBase::RegisterFactory(nrrdFactory);
58 }
59
60protected:
63
64private:
65 MRMLIDImageIOFactory(const Self&) = delete;
66 void operator=(const Self&) = delete;
67};
68
69} // namespace itk
70
71#endif
itkTypeMacro(MRMLIDImageIOFactory, ObjectFactoryBase)
SmartPointer< const Self > ConstPointer
const char * GetDescription() const override
const char * GetITKSourceVersion() const override
~MRMLIDImageIOFactory() override
static MRMLIDImageIOFactory * FactoryNew()
#define MRMLIDImageIO_EXPORT
Simplified inverse ITK transforms.