Loading...
Searching...
No Matches
itkANNbdTree.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 itkANNbdTree_h
#define itkANNbdTree_h
#include "itkANNkDTree.h"
namespace itk
{
template <class TListSample>
class ITK_TEMPLATE_EXPORT ANNbdTree : public ANNkDTree<TListSample>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(ANNbdTree);
using Self = ANNbdTree;
using Superclass = ANNkDTree<TListSample>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(ANNbdTree, ANNkDTree);
using typename Superclass::SampleType;
using typename Superclass::MeasurementVectorType;
using typename Superclass::MeasurementVectorSizeType;
using typename Superclass::TotalAbsoluteFrequencyType;
using typename Superclass::ANNPointSetType;
using typename Superclass::ANNkDTreeType;
using typename Superclass::SplittingRuleType;
using typename Superclass::BucketSizeType;
using ShrinkingRuleType = ANNshrinkRule;
itkSetMacro(ShrinkingRule, ShrinkingRuleType);
itkGetConstMacro(ShrinkingRule, ShrinkingRuleType);
void
SetShrinkingRule(const std::string & rule);
std::string
GetShrinkingRule();
void
GenerateTree() override;
protected:
ANNbdTree();
~ANNbdTree() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
ShrinkingRuleType m_ShrinkingRule{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkANNbdTree.hxx"
#endif
#endif // end #ifndef itkANNbdTree_h
ANNshrinkRule
ANNshrinkRule
Definition ANN.h:584
itk::ANNbdTree::SetShrinkingRule
void SetShrinkingRule(const std::string &rule)
itk::ANNbdTree< ListSampleType >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkANNbdTree.h:45
itk::ANNbdTree::~ANNbdTree
~ANNbdTree() override=default
itk::ANNbdTree< ListSampleType >::Self
ANNbdTree Self
Definition itkANNbdTree.h:42
itk::ANNbdTree::GetShrinkingRule
std::string GetShrinkingRule()
itk::ANNbdTree< ListSampleType >::Superclass
ANNkDTree< ListSampleType > Superclass
Definition itkANNbdTree.h:43
itk::ANNbdTree< ListSampleType >::m_ShrinkingRule
ShrinkingRuleType m_ShrinkingRule
Definition itkANNbdTree.h:90
itk::ANNbdTree::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ANNbdTree)
itk::ANNbdTree< ListSampleType >::ShrinkingRuleType
ANNshrinkRule ShrinkingRuleType
Definition itkANNbdTree.h:63
itk::ANNbdTree< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkANNbdTree.h:44
itk::ANNbdTree::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::ANNbdTree::GenerateTree
void GenerateTree() override
itk::ANNbdTree::ANNbdTree
ANNbdTree()
itk::ANNkDTree< ListSampleType >::ANNPointSetType
ANNpointSet ANNPointSetType
Definition itkANNkDTree.h:60
itk::ANNkDTree< ListSampleType >::ANNkDTreeType
ANNkd_tree ANNkDTreeType
Definition itkANNkDTree.h:61
itk::ANNkDTree< ListSampleType >::SplittingRuleType
ANNsplitRule SplittingRuleType
Definition itkANNkDTree.h:62
itk::ANNkDTree::ANNkDTree
ANNkDTree()
itk::ANNkDTree< ListSampleType >::BucketSizeType
unsigned int BucketSizeType
Definition itkANNkDTree.h:63
itk::BinaryTreeBase< ListSampleType >::SampleType
ListSampleType SampleType
Definition itkBinaryTreeBase.h:51
itk::BinaryTreeBase< ListSampleType >::MeasurementVectorSizeType
typename SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
Definition itkBinaryTreeBase.h:55
itk::BinaryTreeBase< ListSampleType >::TotalAbsoluteFrequencyType
typename SampleType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Definition itkBinaryTreeBase.h:56
itk::BinaryTreeBase< ListSampleType >::MeasurementVectorType
typename SampleType::MeasurementVectorType MeasurementVectorType
Definition itkBinaryTreeBase.h:54
itkANNkDTree.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |