ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkChainCodeToFourierSeriesPathFilter.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 itkChainCodeToFourierSeriesPathFilter_h
19#define itkChainCodeToFourierSeriesPathFilter_h
20
21#include "itkPathToPathFilter.h"
22#include "itkOffset.h"
23// Templates require interfaces conforming to itkPath.h and itkChainCodePath.h
24
25namespace itk
26{
40template <typename TInputChainCodePath, typename TOutputFourierSeriesPath>
41class ITK_TEMPLATE_EXPORT ChainCodeToFourierSeriesPathFilter
42 : public PathToPathFilter<TInputChainCodePath, TOutputFourierSeriesPath>
43{
44public:
45 ITK_DISALLOW_COPY_AND_MOVE(ChainCodeToFourierSeriesPathFilter);
46
50
53
55 itkNewMacro(Self);
56
58 itkOverrideGetNameOfClassMacro(ChainCodeToFourierSeriesPathFilter);
59
61 using InputPathType = TInputChainCodePath;
62 using InputPathPointer = typename InputPathType::Pointer;
63 using InputPathInputType = typename InputPathType::InputType;
64 using OutputPathType = TOutputFourierSeriesPath;
65 using OutputPathPointer = typename OutputPathType::Pointer;
66 using OutputPathInputType = typename OutputPathType::InputType;
67 using IndexType = typename InputPathType::IndexType;
68 using OffsetType = typename InputPathType::OffsetType;
69 using VectorType = typename OutputPathType::VectorType;
70
78 itkSetMacro(NumberOfHarmonics, unsigned int);
79
80protected:
83 void
84 PrintSelf(std::ostream & os, Indent indent) const override;
85
86 void
87 GenerateData() override;
88
89private:
90 unsigned int m_NumberOfHarmonics{};
91};
92} // end namespace itk
93
94#ifndef ITK_MANUAL_INSTANTIATION
95# include "itkChainCodeToFourierSeriesPathFilter.hxx"
96#endif
97
98#endif
~ChainCodeToFourierSeriesPathFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
PathToPathFilter< TInputChainCodePath, TOutputFourierSeriesPath > Superclass
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....