Loading...
Searching...
No Matches
itkANNStandardTreeSearch.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkANNStandardTreeSearch_h
#define itkANNStandardTreeSearch_h
#include "itkBinaryANNTreeSearchBase.h"
namespace itk
{
template <class TListSample>
class ITK_TEMPLATE_EXPORT ANNStandardTreeSearch : public BinaryANNTreeSearchBase<TListSample>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(ANNStandardTreeSearch);
using Self = ANNStandardTreeSearch;
using Superclass = BinaryANNTreeSearchBase<TListSample>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(ANNStandardTreeSearch, BinaryANNTreeSearchBase);
using typename Superclass::ListSampleType;
using typename Superclass::BinaryTreeType;
using typename Superclass::MeasurementVectorType;
using typename Superclass::IndexArrayType;
using typename Superclass::DistanceArrayType;
using typename Superclass::ANNPointType; // double *
using typename Superclass::ANNIndexType; // int
using typename Superclass::ANNIndexArrayType; // int *
using typename Superclass::ANNDistanceType; // double
using typename Superclass::ANNDistanceArrayType; // double *
using typename Superclass::BinaryANNTreeType;
itkSetClampMacro(ErrorBound, double, 0.0, 1e14);
itkGetConstMacro(ErrorBound, double);
void
Search(const MeasurementVectorType & qp, IndexArrayType & ind, DistanceArrayType & dists) override;
protected:
ANNStandardTreeSearch();
~ANNStandardTreeSearch() override = default;
double m_ErrorBound{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkANNStandardTreeSearch.hxx"
#endif
#endif // end #ifndef itkANNStandardTreeSearch_h
itk::ANNStandardTreeSearch::ANNStandardTreeSearch
ANNStandardTreeSearch()
itk::ANNStandardTreeSearch::Search
void Search(const MeasurementVectorType &qp, IndexArrayType &ind, DistanceArrayType &dists) override
itk::ANNStandardTreeSearch< ListSampleType >::Superclass
BinaryANNTreeSearchBase< ListSampleType > Superclass
Definition itkANNStandardTreeSearch.h:43
itk::ANNStandardTreeSearch< ListSampleType >::Self
ANNStandardTreeSearch Self
Definition itkANNStandardTreeSearch.h:42
itk::ANNStandardTreeSearch< ListSampleType >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkANNStandardTreeSearch.h:45
itk::ANNStandardTreeSearch::~ANNStandardTreeSearch
~ANNStandardTreeSearch() override=default
itk::ANNStandardTreeSearch< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkANNStandardTreeSearch.h:44
itk::ANNStandardTreeSearch::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ANNStandardTreeSearch)
itk::ANNStandardTreeSearch< ListSampleType >::m_ErrorBound
double m_ErrorBound
Definition itkANNStandardTreeSearch.h:81
itk::BinaryANNTreeSearchBase::MeasurementVectorType
typename BinaryTreeType::MeasurementVectorType MeasurementVectorType
Definition itkBinaryTreeSearchBase.h:57
itk::BinaryANNTreeSearchBase::IndexArrayType
Array< int > IndexArrayType
Definition itkBinaryTreeSearchBase.h:58
itk::BinaryANNTreeSearchBase::DistanceArrayType
Array< double > DistanceArrayType
Definition itkBinaryTreeSearchBase.h:59
itk::BinaryANNTreeSearchBase::ANNDistanceType
ANNdist ANNDistanceType
Definition itkBinaryANNTreeSearchBase.h:64
itk::BinaryANNTreeSearchBase::ANNDistanceArrayType
ANNdistArray ANNDistanceArrayType
Definition itkBinaryANNTreeSearchBase.h:65
itk::BinaryANNTreeSearchBase::BinaryTreeType
BinaryTreeBase< ListSampleType > BinaryTreeType
Definition itkBinaryTreeSearchBase.h:55
itk::BinaryANNTreeSearchBase::ListSampleType
TListSample ListSampleType
Definition itkBinaryTreeSearchBase.h:54
itk::BinaryANNTreeSearchBase::ANNIndexType
ANNidx ANNIndexType
Definition itkBinaryANNTreeSearchBase.h:62
itk::BinaryANNTreeSearchBase::BinaryANNTreeType
BinaryANNTreeBase< ListSampleType > BinaryANNTreeType
Definition itkBinaryANNTreeSearchBase.h:68
itk::BinaryANNTreeSearchBase::ANNPointType
ANNpoint ANNPointType
Definition itkBinaryANNTreeSearchBase.h:61
itk::BinaryANNTreeSearchBase::ANNIndexArrayType
ANNidxArray ANNIndexArrayType
Definition itkBinaryANNTreeSearchBase.h:63
itk::BinaryANNTreeSearchBase::BinaryANNTreeSearchBase
BinaryANNTreeSearchBase()
itkBinaryANNTreeSearchBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |