ITK  5.2.0
Insight Toolkit
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  * http://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 
25 namespace itk
26 {
45 class ITK_TEMPLATE_EXPORT OrthogonallyCorrected2DParametricPath : public ParametricPath<2>
46 {
47 public:
48  ITK_DISALLOW_COPY_AND_MOVE(OrthogonallyCorrected2DParametricPath);
49 
55 
58 
60  using InputType = Superclass::InputType;
61 
63  using OutputType = Superclass::OutputType;
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 
117 protected:
119  ~OrthogonallyCorrected2DParametricPath() override = default;
120  void
121  PrintSelf(std::ostream & os, Indent indent) const override;
122 
123 private:
126 };
127 } // namespace itk
128 
129 #endif
itk::OrthogonallyCorrected2DParametricPath::StartOfInput
InputType StartOfInput() const override
Definition: itkOrthogonallyCorrected2DParametricPath.h:106
itk::OrthogonallyCorrected2DParametricPath::Initialize
void Initialize() override
Definition: itkOrthogonallyCorrected2DParametricPath.h:98
itk::Index
Represent a n-dimensional index in a n-dimensional image.
Definition: itkIndex.h:66
itk::OrthogonallyCorrected2DParametricPath::EndOfInput
InputType EndOfInput() const override
Definition: itkOrthogonallyCorrected2DParametricPath.h:112
itk::ParametricPath
Represent a parametric path through ND Space.
Definition: itkParametricPath.h:62
itk::OrthogonallyCorrected2DParametricPath
Represent an orthogonally corrected 2D parametric path.
Definition: itkOrthogonallyCorrected2DParametricPath.h:45
itk::OrthogonallyCorrected2DParametricPath::InputType
Superclass::InputType InputType
Definition: itkOrthogonallyCorrected2DParametricPath.h:60
itk::GTest::TypedefsAndConstructors::Dimension2::VectorType
ImageBaseType::SpacingType VectorType
Definition: itkGTestTypedefsAndConstructors.h:53
itk::OrthogonallyCorrected2DParametricPath::OutputType
Superclass::OutputType OutputType
Definition: itkOrthogonallyCorrected2DParametricPath.h:63
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::VectorContainer::ElementIdentifier
TElementIdentifier ElementIdentifier
Definition: itkVectorContainer.h:60
itk::OrthogonallyCorrected2DParametricPath::VectorType
Superclass::VectorType VectorType
Definition: itkOrthogonallyCorrected2DParametricPath.h:69
itk::OrthogonallyCorrected2DParametricPath::m_OriginalPath
OriginalPathConstPointer m_OriginalPath
Definition: itkOrthogonallyCorrected2DParametricPath.h:124
itk::OrthogonallyCorrected2DParametricPath::m_OrthogonalCorrectionTable
OrthogonalCorrectionTablePointer m_OrthogonalCorrectionTable
Definition: itkOrthogonallyCorrected2DParametricPath.h:125
itkIndex.h
itk::Offset
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.
Definition: itkOffset.h:67
itkVectorContainer.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ContinuousIndex
A templated class holding a point in n-Dimensional image space.
Definition: itkContinuousIndex.h:46
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:62
itkParametricPath.h
itk::OrthogonallyCorrected2DParametricPath::OrthogonalCorrectionTableSizeType
OrthogonalCorrectionTableType::ElementIdentifier OrthogonalCorrectionTableSizeType
Definition: itkOrthogonallyCorrected2DParametricPath.h:75
itk::VectorContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Definition: itkVectorContainer.h:48
itk::DataObject
Base class for all data objects in ITK.
Definition: itkDataObject.h:293