ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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>
31#include <itkVersion.h>
32
33namespace rtk
34{
35
44{
45public:
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 itkOverrideGetNameOfClassMacro(HndImageIOFactory);
72
74 static void
79
80protected:
82 ~HndImageIOFactory() override = default;
85};
86
87} // namespace rtk
88
89#endif // rtkHndImageIOFactory_h
Create instances of classes using an object factory.
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0)
Implements transparent reference counting.
HndImageIOFactory myProductType
~HndImageIOFactory() override=default
const char * GetITKSourceVersion() const override
itk::ObjectFactoryBase Superclass
const myProductType * m_MyProduct
itk::SmartPointer< Self > Pointer
const char * GetDescription() const override
static Pointer New()
itk::SmartPointer< const Self > ConstPointer
#define ITK_SOURCE_VERSION
Definition itkVersion.h:39