ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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
143};
144
145
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.
Control indentation during Print() invocation.
Definition itkIndent.h:50
Path< double, ContinuousIndexType, VDimension > Superclass
~ParametricPath() override=default
Vector< double, VDimension > VectorType
OffsetType IncrementInput(InputType &input) const override
Index< VDimension > IndexType
virtual VectorType EvaluateDerivative(const InputType &input) const
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
IndexType EvaluateToIndex(const InputType &input) const override
Offset< VDimension > OffsetType
SmartPointer< const Self > ConstPointer
ContinuousIndex< SpacePrecisionType, VDimension > ContinuousIndexType
Implements transparent reference counting.
A templated class holding a n-Dimensional vector.
Definition itkVector.h:63
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
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