ITK  6.0.0
Insight Toolkit
itkPathToPathFilter.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 itkPathToPathFilter_h
19#define itkPathToPathFilter_h
20
21#include "itkPathSource.h"
22
23namespace itk
24{
37template <typename TInputPath, typename TOutputPath>
38class ITK_TEMPLATE_EXPORT PathToPathFilter : public PathSource<TOutputPath>
39{
40public:
41 ITK_DISALLOW_COPY_AND_MOVE(PathToPathFilter);
42
48
50 itkNewMacro(Self);
51
53 itkOverrideGetNameOfClassMacro(PathToPathFilter);
54
56 using InputPathType = TInputPath;
59
61 using Superclass::SetInput;
62 virtual void
63 SetInput(const InputPathType * path);
64
65 virtual void
66 SetInput(unsigned int, const TInputPath * path);
67
68 const InputPathType *
70
71 const InputPathType *
72 GetInput(unsigned int idx);
73
74protected:
76 ~PathToPathFilter() override = default;
77
78 void
79 PrintSelf(std::ostream & os, Indent indent) const override;
80
88 void
90};
91} // end namespace itk
94#ifndef ITK_MANUAL_INSTANTIATION
95# include "itkPathToPathFilter.hxx"
96#endif
97
98#endif
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
Base class for all process objects that output path data.
Definition: itkPathSource.h:43
Base class for filters that take a path as input and produce a path as output.
typename InputPathType::ConstPointer InputPathConstPointer
const InputPathType * GetInput(unsigned int idx)
void PrintSelf(std::ostream &os, Indent indent) const override
~PathToPathFilter() override=default
const InputPathType * GetInput()
typename InputPathType::Pointer InputPathPointer
virtual void SetInput(unsigned int, const TInputPath *path)
virtual void SetInput(const InputPathType *path)
void GenerateInputRequestedRegion() override
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....