ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkVnlComplexToComplex1DFFTImageFilter.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 itkVnlComplexToComplex1DFFTImageFilter_h
19#define itkVnlComplexToComplex1DFFTImageFilter_h
20
22
23#if defined(ITK_LEGACY_SILENT)
24# define ITK_VNL_FFT_DEPRECATED
25#else
26# define ITK_VNL_FFT_DEPRECATED \
27 [[deprecated("VnlComplexToComplex1DFFTImageFilter is deprecated; it now routes to " \
28 "itk::PocketFFTComplexToComplex1DFFTImageFilter.")]]
29#endif
30
31#if !defined(ITK_LEGACY_REMOVE) && !defined(ITK_FUTURE_LEGACY_REMOVE)
32namespace itk
33{
44template <typename TInputImage, typename TOutputImage = TInputImage>
45class ITK_VNL_FFT_DEPRECATED ITK_TEMPLATE_EXPORT VnlComplexToComplex1DFFTImageFilter
46 : public PocketFFTComplexToComplex1DFFTImageFilter<TInputImage, TOutputImage>
47{
48public:
49 ITK_DISALLOW_COPY_AND_MOVE(VnlComplexToComplex1DFFTImageFilter);
50
51 using Self = VnlComplexToComplex1DFFTImageFilter;
52 using Superclass = PocketFFTComplexToComplex1DFFTImageFilter<TInputImage, TOutputImage>;
53 using Pointer = SmartPointer<Self>;
54 using ConstPointer = SmartPointer<const Self>;
55
57 itkNewMacro(Self);
58
60 itkOverrideGetNameOfClassMacro(VnlComplexToComplex1DFFTImageFilter);
61
62protected:
63 VnlComplexToComplex1DFFTImageFilter() = default;
64 ~VnlComplexToComplex1DFFTImageFilter() override = default;
65};
66
68# if defined(__GNUC__) || defined(__clang__)
69# pragma GCC diagnostic push
70# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
71# elif defined(_MSC_VER)
72# pragma warning(push)
73# pragma warning(disable : 4996)
74# endif
75template <>
76struct FFTImageFilterTraits<VnlComplexToComplex1DFFTImageFilter>
77 : public FFTImageFilterTraits<PocketFFTComplexToComplex1DFFTImageFilter>
78{};
79# if defined(__GNUC__) || defined(__clang__)
80# pragma GCC diagnostic pop
81# elif defined(_MSC_VER)
82# pragma warning(pop)
83# endif
85} // namespace itk
86#endif // !ITK_LEGACY_REMOVE && !ITK_FUTURE_LEGACY_REMOVE
87
88#undef ITK_VNL_FFT_DEPRECATED
89#endif // itkVnlComplexToComplex1DFFTImageFilter_h
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....