ITK  6.0.0
Insight Toolkit
itkParametricPath.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 itkParametricPath_h
19#define itkParametricPath_h
20
21#include "itkImageBase.h"
22#include "itkPath.h"
23#include "itkContinuousIndex.h"
24#include "itkOffset.h"
25#include "itkVector.h"
26
27namespace itk
28{
61template <unsigned int VDimension>
62class ITK_TEMPLATE_EXPORT ParametricPath
63 : public Path<double, ContinuousIndex<SpacePrecisionType, VDimension>, VDimension>
64{
65public:
66 ITK_DISALLOW_COPY_AND_MOVE(ParametricPath);
67
70
74
77
79 itkOverrideGetNameOfClassMacro(ParametricPath);
80
82 using typename Superclass::InputType;
83
85 using typename Superclass::OutputType;
86
90
94 EvaluateToIndex(const InputType & input) const override;
95
112 IncrementInput(InputType & input) const override;
113
120 virtual VectorType
121 EvaluateDerivative(const InputType & input) const;
122
123 itkSetMacro(DefaultInputStepSize, InputType);
124 itkGetConstReferenceMacro(DefaultInputStepSize, InputType);
125
126protected:
128 ~ParametricPath() override = default;
129 void
130 PrintSelf(std::ostream & os, Indent indent) const override;
131
142 InputType m_DefaultInputStepSize{};
143};
146} // namespace itk
147
148#ifndef ITK_MANUAL_INSTANTIATION
149# include "itkParametricPath.hxx"
150#endif
151
152#endif // itkParametricPath.h
A templated class holding a point in n-Dimensional image space.
Base class for all data objects in ITK.
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Base class for most ITK classes.
Definition: itkObject.h:62
Represent a parametric path through ND Space.
~ParametricPath() override=default
OffsetType IncrementInput(InputType &input) const override
virtual VectorType EvaluateDerivative(const InputType &input) const
void PrintSelf(std::ostream &os, Indent indent) const override
IndexType EvaluateToIndex(const InputType &input) const override
Represent a path through ND Space.
Definition: itkPath.h:55
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:63
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....