ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkEuclideanDistancePointSetToPointSetMetricv4.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 itkEuclideanDistancePointSetToPointSetMetricv4_h
19#define itkEuclideanDistancePointSetToPointSetMetricv4_h
20
22
23namespace itk
24{
39template <typename TFixedPointSet,
40 typename TMovingPointSet = TFixedPointSet,
41 class TInternalComputationValueType = double>
43 : public PointSetToPointSetMetricv4<TFixedPointSet, TMovingPointSet, TInternalComputationValueType>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(EuclideanDistancePointSetToPointSetMetricv4);
47
53
55 itkNewMacro(Self);
56
58 itkOverrideGetNameOfClassMacro(EuclideanDistancePointSetToPointSetMetricv4);
59
61 using typename Superclass::MeasureType;
62 using typename Superclass::DerivativeType;
64 using typename Superclass::PointType;
65 using typename Superclass::PixelType;
66 using typename Superclass::PointIdentifier;
67
74 itkSetMacro(DistanceThreshold, RealType);
75
80 itkGetConstMacro(DistanceThreshold, RealType);
81
86 GetLocalNeighborhoodValue(const PointType &, const PixelType & pixel = 0) const override;
87
91 void
95 const PixelType & pixel = 0) const override;
96
97protected:
100
101 bool
103 {
104 return false;
105 }
106
108 void
109 PrintSelf(std::ostream & os, Indent indent) const override;
110
111private:
113};
114} // end namespace itk
115
116#ifndef ITK_MANUAL_INSTANTIATION
117# include "itkEuclideanDistancePointSetToPointSetMetricv4.hxx"
118#endif
119
120#endif
void PrintSelf(std::ostream &os, Indent indent) const override
PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType > Superclass
~EuclideanDistancePointSetToPointSetMetricv4() override=default
MeasureType GetLocalNeighborhoodValue(const PointType &, const PixelType &pixel=0) const override
void GetLocalNeighborhoodValueAndDerivative(const PointType &, MeasureType &, LocalDerivativeType &, const PixelType &pixel=0) const override
Control indentation during Print() invocation.
Definition itkIndent.h:50
Array< TInternalComputationValueType > DerivativeType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....