RTK  2.6.0
Reconstruction Toolkit
rtkHndImageIOFactory.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright RTK Consortium
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 
19 //#ifndef ITKHNDIMAGEIOFACTORY_H
20 //#define ITKHNDIMAGEIOFACTORY_H
21 
22 #ifndef rtkHndImageIOFactory_h
23 #define rtkHndImageIOFactory_h
24 
25 #include "RTKExport.h"
26 #include "rtkHndImageIO.h"
27 
28 // itk include
29 #include <itkImageIOBase.h>
30 #include <itkObjectFactoryBase.h>
31 #include <itkVersion.h>
32 
33 namespace rtk
34 {
35 
43 class RTK_EXPORT HndImageIOFactory : public itk::ObjectFactoryBase
44 {
45 public:
46  ITK_DISALLOW_COPY_AND_MOVE(HndImageIOFactory);
47 
53 
55  const char *
56  GetITKSourceVersion() const override
57  {
58  return ITK_SOURCE_VERSION;
59  }
60 
61  const char *
62  GetDescription() const override
63  {
64  return "His ImageIO Factory, allows the loading of His images into insight";
65  }
66 
68  itkFactorylessNewMacro(Self);
69 
71 #ifdef itkOverrideGetNameOfClassMacro
72  itkOverrideGetNameOfClassMacro(HndImageIOFactory);
73 #else
75 #endif
76 
77 
79  static void
81  {
83  }
84 
85 protected:
87  ~HndImageIOFactory() override = default;
90 };
91 
92 } // namespace rtk
93 
94 #endif // rtkHndImageIOFactory_h
ITK factory for Hnd file I/O.
#define ITK_SOURCE_VERSION
const char * GetDescription() const override
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0)
const myProductType * m_MyProduct
const char * GetITKSourceVersion() const override