ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingMultiResolutionIterationCommand.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 itkBlockMatchingMultiResolutionIterationCommand_h
19#define itkBlockMatchingMultiResolutionIterationCommand_h
20
21#include "itkCommand.h"
22
24
25namespace itk
26{
27namespace BlockMatching
28{
29
38template <typename TMultiResolutionMethod>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionIterationCommand);
43
47
48 void
49 Execute(itk::Object * caller, const itk::EventObject & event) override
50 {
51 Execute((const itk::Object *)caller, event);
52 }
53
54 void
55 Execute(const itk::Object * object, const itk::EventObject & event) override;
56
57 using MultiResolutionMethodType = TMultiResolutionMethod;
58
59 void
64
65 using FixedImagePyramidType = typename MultiResolutionMethodType::FixedImagePyramidType;
66 using FixedImagePyramidPointer = typename FixedImagePyramidType::ConstPointer;
67 using MovingImagePyramidType = typename MultiResolutionMethodType::MovingImagePyramidType;
68 using MovingImagePyramidPointer = typename MovingImagePyramidType::ConstPointer;
69
70 using BlockRadiusCalculatorType = typename MultiResolutionMethodType::BlockRadiusCalculatorType;
71 using BlockRadiusCalculatorPointer = typename BlockRadiusCalculatorType::ConstPointer;
72
73 using SearchRegionImageSourceType = typename MultiResolutionMethodType::SearchRegionImageSourceType;
74 using SearchRegionImageSourcePointer = typename SearchRegionImageSourceType::ConstPointer;
75
76protected:
79
80 typename MultiResolutionMethodType::Pointer m_MultiResolutionMethod;
81
84
86
88
89private:
90};
91
92} // end namespace BlockMatching
93} // end namespace itk
94
95#include "itkBlockMatchingMultiResolutionIterationCommand.hxx"
96
97#endif
typename MultiResolutionMethodType::BlockRadiusCalculatorType BlockRadiusCalculatorType
typename MultiResolutionMethodType::SearchRegionImageSourceType SearchRegionImageSourceType
typename MultiResolutionMethodType::MovingImagePyramidType MovingImagePyramidType
typename MultiResolutionMethodType::FixedImagePyramidType FixedImagePyramidType
typename SearchRegionImageSourceType::ConstPointer SearchRegionImageSourcePointer
void Execute(const itk::Object *object, const itk::EventObject &event) override
void Execute(itk::Object *caller, const itk::EventObject &event) override
Abstraction of the Events used to communicating among filters and with GUIs.
Base class for most ITK classes.
Definition itkObject.h:62
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....