Loading...
Searching...
No Matches
itkBinaryANNTreeSearchBase.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 itkBinaryANNTreeSearchBase_h
#define itkBinaryANNTreeSearchBase_h
#include "itkBinaryTreeSearchBase.h"
#include "itkBinaryANNTreeBase.h"
#include "ANN/ANN.h"
namespace itk
{
template <class TListSample>
class ITK_TEMPLATE_EXPORT BinaryANNTreeSearchBase : public BinaryTreeSearchBase<TListSample>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(BinaryANNTreeSearchBase);
using Self = BinaryANNTreeSearchBase;
using Superclass = BinaryTreeSearchBase<TListSample>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkTypeMacro(BinaryANNTreeSearchBase, BinaryTreeSearchBase);
using typename Superclass::ListSampleType;
using typename Superclass::BinaryTreeType;
using typename Superclass::BinaryTreePointer;
using typename Superclass::MeasurementVectorType;
using typename Superclass::IndexArrayType;
using typename Superclass::DistanceArrayType;
using ANNPointType = ANNpoint; // double *
using ANNIndexType = ANNidx; // int
using ANNIndexArrayType = ANNidxArray; // int *
using ANNDistanceType = ANNdist; // double
using ANNDistanceArrayType = ANNdistArray; // double *
using BinaryANNTreeType = BinaryANNTreeBase<ListSampleType>;
void
SetBinaryTree(BinaryTreeType * tree) override;
// const BinaryTreeType * GetBinaryTree() const;
protected:
BinaryANNTreeSearchBase();
~BinaryANNTreeSearchBase() override = default;
typename BinaryANNTreeType::Pointer m_BinaryTreeAsITKANNType{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkBinaryANNTreeSearchBase.hxx"
#endif
#endif // end #ifndef itkBinaryANNTreeSearchBase_h
ANN.h
ANNidxArray
ANNidx * ANNidxArray
Definition ANN.h:356
ANNdist
double ANNdist
Definition ANN.h:135
ANNidx
int ANNidx
Definition ANN.h:151
ANNpoint
ANNcoord * ANNpoint
Definition ANN.h:353
ANNdistArray
ANNdist * ANNdistArray
Definition ANN.h:355
itk::BinaryANNTreeBase
Definition itkBinaryANNTreeBase.h:38
itk::BinaryANNTreeBase< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkBinaryANNTreeBase.h:45
itk::BinaryANNTreeSearchBase::SetBinaryTree
void SetBinaryTree(BinaryTreeType *tree) override
itk::BinaryANNTreeSearchBase::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(BinaryANNTreeSearchBase)
itk::BinaryANNTreeSearchBase::~BinaryANNTreeSearchBase
~BinaryANNTreeSearchBase() override=default
itk::BinaryANNTreeSearchBase::m_BinaryTreeAsITKANNType
BinaryANNTreeType::Pointer m_BinaryTreeAsITKANNType
Definition itkBinaryANNTreeSearchBase.h:81
itk::BinaryANNTreeSearchBase::ANNDistanceType
ANNdist ANNDistanceType
Definition itkBinaryANNTreeSearchBase.h:64
itk::BinaryANNTreeSearchBase::Superclass
BinaryTreeSearchBase< TListSample > Superclass
Definition itkBinaryANNTreeSearchBase.h:45
itk::BinaryANNTreeSearchBase::ANNDistanceArrayType
ANNdistArray ANNDistanceArrayType
Definition itkBinaryANNTreeSearchBase.h:65
itk::BinaryANNTreeSearchBase::BinaryTreeType
BinaryTreeBase< ListSampleType > BinaryTreeType
Definition itkBinaryTreeSearchBase.h:55
itk::BinaryANNTreeSearchBase::ANNIndexType
ANNidx ANNIndexType
Definition itkBinaryANNTreeSearchBase.h:62
itk::BinaryANNTreeSearchBase::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkBinaryANNTreeSearchBase.h:47
itk::BinaryANNTreeSearchBase::Pointer
SmartPointer< Self > Pointer
Definition itkBinaryANNTreeSearchBase.h:46
itk::BinaryANNTreeSearchBase::BinaryANNTreeType
BinaryANNTreeBase< ListSampleType > BinaryANNTreeType
Definition itkBinaryANNTreeSearchBase.h:68
itk::BinaryANNTreeSearchBase::ANNPointType
ANNpoint ANNPointType
Definition itkBinaryANNTreeSearchBase.h:61
itk::BinaryANNTreeSearchBase::Self
BinaryANNTreeSearchBase Self
Definition itkBinaryANNTreeSearchBase.h:44
itk::BinaryANNTreeSearchBase::ANNIndexArrayType
ANNidxArray ANNIndexArrayType
Definition itkBinaryANNTreeSearchBase.h:63
itk::BinaryANNTreeSearchBase::BinaryANNTreeSearchBase
BinaryANNTreeSearchBase()
itk::BinaryTreeSearchBase::MeasurementVectorType
typename BinaryTreeType::MeasurementVectorType MeasurementVectorType
Definition itkBinaryTreeSearchBase.h:57
itk::BinaryTreeSearchBase::IndexArrayType
Array< int > IndexArrayType
Definition itkBinaryTreeSearchBase.h:58
itk::BinaryTreeSearchBase::BinaryTreePointer
typename BinaryTreeType::Pointer BinaryTreePointer
Definition itkBinaryTreeSearchBase.h:56
itk::BinaryTreeSearchBase::DistanceArrayType
Array< double > DistanceArrayType
Definition itkBinaryTreeSearchBase.h:59
itk::BinaryTreeSearchBase::BinaryTreeType
BinaryTreeBase< ListSampleType > BinaryTreeType
Definition itkBinaryTreeSearchBase.h:55
itk::BinaryTreeSearchBase::ListSampleType
TListSample ListSampleType
Definition itkBinaryTreeSearchBase.h:54
itk::BinaryTreeSearchBase::BinaryTreeSearchBase
BinaryTreeSearchBase()
itkBinaryANNTreeBase.h
itkBinaryTreeSearchBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |