ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkOrthogonallyCorrected2DParametricPath.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 itkOrthogonallyCorrected2DParametricPath_h
19#define itkOrthogonallyCorrected2DParametricPath_h
20
21#include "itkParametricPath.h"
22#include "itkVectorContainer.h"
23#include "itkIndex.h"
24
25namespace itk
26{
45class ITK_TEMPLATE_EXPORT OrthogonallyCorrected2DParametricPath : public ParametricPath<2>
46{
47public:
48 ITK_DISALLOW_COPY_AND_MOVE(OrthogonallyCorrected2DParametricPath);
49
55
57 itkOverrideGetNameOfClassMacro(OrthogonallyCorrected2DParametricPath);
58
61
64
74
76
79 Evaluate(const InputType & inputValue) const override;
80
85 // The usual itkSetObjectMacro can not be used here because
86 // m_DefaultInputStepSize must also be copied over.
87 void
88 SetOriginalPath(const OriginalPathType * originalPath);
89
91 itkSetObjectMacro(OrthogonalCorrectionTable, OrthogonalCorrectionTableType);
92
94 itkNewMacro(Self);
95
97 void
98 Initialize() override
99 {
100 this->m_OriginalPath = nullptr;
101 this->m_OrthogonalCorrectionTable = nullptr;
102 }
103
105 InputType
106 StartOfInput() const override
107 {
108 return m_OriginalPath->StartOfInput();
109 }
110
111 InputType
112 EndOfInput() const override
113 {
114 return m_OriginalPath->EndOfInput();
115 }
116
117protected:
120 void
121 PrintSelf(std::ostream & os, Indent indent) const override;
122
123private:
126};
127} // namespace itk
128
129#endif
A templated class holding a point in n-Dimensional image space.
Control indentation during Print() invocation.
Definition itkIndent.h:50
OutputType Evaluate(const InputType &inputValue) const override
void SetOriginalPath(const OriginalPathType *originalPath)
~OrthogonallyCorrected2DParametricPath() override=default
OrthogonalCorrectionTableType::Pointer OrthogonalCorrectionTablePointer
VectorContainer< unsigned int, double > OrthogonalCorrectionTableType
void PrintSelf(std::ostream &os, Indent indent) const override
OrthogonalCorrectionTableType::ElementIdentifier OrthogonalCorrectionTableSizeType
Vector< double, VDimension > VectorType
ContinuousIndexType OutputType
SmartPointer< const Self > ConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer
Represent a n-dimensional index in a n-dimensional image.
Definition itkIndex.h:69
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.
Definition itkOffset.h:67