ITK  6.0.0
Insight Toolkit
itkPointSetToSpatialObjectDemonsRegistration.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 itkPointSetToSpatialObjectDemonsRegistration_h
19 #define itkPointSetToSpatialObjectDemonsRegistration_h
20 
21 #include "itkProcessObject.h"
22 #include "itkImage.h"
25 
26 namespace itk
27 {
52 template <typename TFixedPointSet, typename TMovingSpatialObject>
53 class ITK_TEMPLATE_EXPORT PointSetToSpatialObjectDemonsRegistration : public ProcessObject
54 {
55 public:
56  ITK_DISALLOW_COPY_AND_MOVE(PointSetToSpatialObjectDemonsRegistration);
57 
63 
65  itkNewMacro(Self);
66 
68  itkOverrideGetNameOfClassMacro(PointSetToSpatialObjectDemonsRegistration);
69 
71  using FixedPointSetType = TFixedPointSet;
73 
75  using MovingSpatialObjectType = TMovingSpatialObject;
77 
79  itkSetConstObjectMacro(FixedPointSet, FixedPointSetType);
80  itkGetConstObjectMacro(FixedPointSet, FixedPointSetType);
84  itkSetConstObjectMacro(MovingSpatialObject, MovingSpatialObjectType);
85  itkGetConstObjectMacro(MovingSpatialObject, MovingSpatialObjectType);
88 protected:
90  ~PointSetToSpatialObjectDemonsRegistration() override = default;
91  void
92  PrintSelf(std::ostream & os, Indent indent) const override;
93 
94 private:
95  MovingSpatialObjectConstPointer m_MovingSpatialObject{};
96  FixedPointSetConstPointer m_FixedPointSet{};
97 };
98 } // end namespace itk
99 
100 #ifndef ITK_MANUAL_INSTANTIATION
101 # include "itkPointSetToSpatialObjectDemonsRegistration.hxx"
102 #endif
103 
104 #endif
ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkAddImageFilter.h:94
itkImage.h
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itkProcessObject.h
itk::PointSetToSpatialObjectDemonsRegistration::FixedPointSetConstPointer
typename FixedPointSetType::ConstPointer FixedPointSetConstPointer
Definition: itkPointSetToSpatialObjectDemonsRegistration.h:72
itkPointSetToImageMetric.h
itk::PointSetToSpatialObjectDemonsRegistration::MovingSpatialObjectConstPointer
typename MovingSpatialObjectType::ConstPointer MovingSpatialObjectConstPointer
Definition: itkPointSetToSpatialObjectDemonsRegistration.h:76
itk::PointSetToSpatialObjectDemonsRegistration::MovingSpatialObjectType
TMovingSpatialObject MovingSpatialObjectType
Definition: itkPointSetToSpatialObjectDemonsRegistration.h:75
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itk::ProcessObject
class ITK_FORWARD_EXPORT ProcessObject
Definition: itkDataObject.h:41
itk::PointSetToSpatialObjectDemonsRegistration
Implementation of Demons Registration between a PointSet and a SpatialObject.
Definition: itkPointSetToSpatialObjectDemonsRegistration.h:53
itkSingleValuedNonLinearOptimizer.h
itk::PointSetToSpatialObjectDemonsRegistration::FixedPointSetType
TFixedPointSet FixedPointSetType
Definition: itkPointSetToSpatialObjectDemonsRegistration.h:71