ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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{
36
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;
57 using InputPathPointer = typename InputPathType::Pointer;
58 using InputPathConstPointer = typename InputPathType::ConstPointer;
59
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
93
94#ifndef ITK_MANUAL_INSTANTIATION
95# include "itkPathToPathFilter.hxx"
96#endif
97
98#endif
Control indentation during Print() invocation.
Definition itkIndent.h:50
const InputPathType * GetInput(unsigned int idx)
void PrintSelf(std::ostream &os, Indent indent) const override
~PathToPathFilter() override=default
const InputPathType * GetInput()
virtual void SetInput(unsigned int, const TInputPath *path)
virtual void SetInput(const InputPathType *path)
void GenerateInputRequestedRegion() override
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....