TransformComponent1.h 2.21 KB
Newer Older
Floris Berendsen's avatar
Floris Berendsen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*=========================================================================
 *
 *  Copyright Leiden University Medical Center, Erasmus University Medical 
 *  Center and contributors
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0.txt
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 *=========================================================================*/

20
21
#ifndef itkTransformComponent1_h
#define itkTransformComponent1_h
22

23
24
#include "selxInterfaces.h"
#include "selxComponentBase.h"
25

Floris Berendsen's avatar
Floris Berendsen committed
26
namespace selx
27
{
Floris Berendsen's avatar
Floris Berendsen committed
28
29
30
31
32
class TransformComponent1 : 
  public Implements <
  Accepting< >,
  Providing < TransformedImageInterface >
  >
33
34
35
{
public:
  /** Standard class typedefs. */
36
37
  typedef TransformComponent1                        Self;
  typedef ComponentBase Superclass;
Floris Berendsen's avatar
Floris Berendsen committed
38
39
  typedef itk::SmartPointer< Self >             Pointer;
  typedef itk::SmartPointer< const Self >       ConstPointer;
40
41
42
43
44

  /** New macro for creation of through the object factory. */
  itkNewMacro(Self);

  /** Run-time type information (and related methods). */
45
  itkTypeMacro(TransformComponent1, ComponentBase);
46

47
  typedef Superclass::CriteriaType CriteriaType;
Floris Berendsen's avatar
Floris Berendsen committed
48
  typedef Superclass::CriterionType CriterionType;
49

50
51
  virtual int GetTransformedImage() override{ return 0; };
  virtual bool MeetsCriterion(const CriterionType &criterion) override;
52
  static const char * GetDescription(){ return "Example Transform Component 1"; };
53

Floris Berendsen's avatar
Floris Berendsen committed
54
protected:
55
56
  TransformComponent1();
  virtual ~TransformComponent1()
57
58
59
60
  {
  }

private:
61
  TransformComponent1(const Self &);      // purposely not implemented
62
63
  void operator=(const Self &); // purposely not implemented

64
65
  //virtual bool MeetsCriteria(const CriteriaType&);
  
66
};
Floris Berendsen's avatar
Floris Berendsen committed
67
} // end namespace selx
68

69
70
71
//#ifndef ITK_MANUAL_INSTANTIATION
//#include "itkTransformComponent1.hxx"
//#endif
72
73

#endif