go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itk::ANNBinaryTreeCreator Class Reference

#include <itkANNBinaryTreeCreator.h>

Detailed Description

Definition at line 38 of file itkANNBinaryTreeCreator.h.

Inheritance diagram for itk::ANNBinaryTreeCreator:

Public Types

using ANNbdTreeType = ANNbd_tree
 
using ANNBruteForceTreeType = ANNbruteForce
 
using ANNkDTreeType = ANNkd_tree
 
using ANNPointArrayType = ANNpointArray
 
using ANNShrinkRuleType = ANNshrinkRule
 
using ANNSplitRuleType = ANNsplitRule
 
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = ANNBinaryTreeCreator
 
using Superclass = Object
 

Public Member Functions

virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (ANNBinaryTreeCreator)
 

Static Public Member Functions

static ANNbdTreeTypeCreateANNbdTree (ANNPointArrayType pa, int n, int d, int bs=1, ANNSplitRuleType split=ANN_KD_SUGGEST, ANNShrinkRuleType shrink=ANN_BD_SUGGEST)
 
static ANNBruteForceTreeTypeCreateANNBruteForceTree (ANNPointArrayType pa, int n, int d)
 
static ANNkDTreeTypeCreateANNkDTree (ANNPointArrayType pa, int n, int d, int bs=1, ANNSplitRuleType split=ANN_KD_SUGGEST)
 
static void DecreaseReferenceCount ()
 
static void DeleteANNBruteForceTree (ANNBruteForceTreeType *&tree)
 
static void DeleteANNkDTree (ANNkDTreeType *&tree)
 
static void IncreaseReferenceCount ()
 
static Pointer New ()
 

Protected Member Functions

 ANNBinaryTreeCreator ()=default
 
 ~ANNBinaryTreeCreator () override=default
 

Static Private Attributes

static unsigned int m_NumberOfANNBinaryTrees
 

Member Typedef Documentation

◆ ANNbdTreeType

Definition at line 58 of file itkANNBinaryTreeCreator.h.

◆ ANNBruteForceTreeType

Definition at line 59 of file itkANNBinaryTreeCreator.h.

◆ ANNkDTreeType

ANN typedef's.

Definition at line 57 of file itkANNBinaryTreeCreator.h.

◆ ANNPointArrayType

Definition at line 60 of file itkANNBinaryTreeCreator.h.

◆ ANNShrinkRuleType

Definition at line 62 of file itkANNBinaryTreeCreator.h.

◆ ANNSplitRuleType

Definition at line 61 of file itkANNBinaryTreeCreator.h.

◆ ConstPointer

using itk::ANNBinaryTreeCreator::ConstPointer = SmartPointer<const Self>

Definition at line 47 of file itkANNBinaryTreeCreator.h.

◆ Pointer

Definition at line 46 of file itkANNBinaryTreeCreator.h.

◆ Self

Standard itk.

Definition at line 44 of file itkANNBinaryTreeCreator.h.

◆ Superclass

Definition at line 45 of file itkANNBinaryTreeCreator.h.

Constructor & Destructor Documentation

◆ ANNBinaryTreeCreator()

itk::ANNBinaryTreeCreator::ANNBinaryTreeCreator ( )
protecteddefault

◆ ~ANNBinaryTreeCreator()

itk::ANNBinaryTreeCreator::~ANNBinaryTreeCreator ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateANNbdTree()

static ANNbdTreeType * itk::ANNBinaryTreeCreator::CreateANNbdTree ( ANNPointArrayType pa,
int n,
int d,
int bs = 1,
ANNSplitRuleType split = ANN_KD_SUGGEST,
ANNShrinkRuleType shrink = ANN_BD_SUGGEST )
static

Static function to create an ANN bdTree.

◆ CreateANNBruteForceTree()

static ANNBruteForceTreeType * itk::ANNBinaryTreeCreator::CreateANNBruteForceTree ( ANNPointArrayType pa,
int n,
int d )
static

Static function to create an ANN BruteForceTree.

◆ CreateANNkDTree()

static ANNkDTreeType * itk::ANNBinaryTreeCreator::CreateANNkDTree ( ANNPointArrayType pa,
int n,
int d,
int bs = 1,
ANNSplitRuleType split = ANN_KD_SUGGEST )
static

Static funtions to create and delete ANN trees. We keep a reference count so that when no more trees of any sort exist, we can call annClose(). This little function is cause of going through the trouble of creating this class with static creating functions. Static function to create an ANN kDTree.

◆ DecreaseReferenceCount()

static void itk::ANNBinaryTreeCreator::DecreaseReferenceCount ( )
static

Static function to decrease the reference count to ANN trees.

◆ DeleteANNBruteForceTree()

static void itk::ANNBinaryTreeCreator::DeleteANNBruteForceTree ( ANNBruteForceTreeType *& tree)
static

Static function to delete an ANN BruteForceTree.

◆ DeleteANNkDTree()

static void itk::ANNBinaryTreeCreator::DeleteANNkDTree ( ANNkDTreeType *& tree)
static

Static function to delete any ANN tree that inherits from kDTree (not brute force).

◆ GetClassName()

virtual const char * itk::ANNBinaryTreeCreator::GetClassName ( ) const
virtual

ITK type info.

◆ IncreaseReferenceCount()

static void itk::ANNBinaryTreeCreator::IncreaseReferenceCount ( )
static

Static function to increase the reference count to ANN trees.

◆ ITK_DISALLOW_COPY_AND_MOVE()

itk::ANNBinaryTreeCreator::ITK_DISALLOW_COPY_AND_MOVE ( ANNBinaryTreeCreator )

◆ New()

static Pointer itk::ANNBinaryTreeCreator::New ( )
static

New method for creating an object using a factory.

Field Documentation

◆ m_NumberOfANNBinaryTrees

unsigned int itk::ANNBinaryTreeCreator::m_NumberOfANNBinaryTrees
staticprivate

Member variables.

Definition at line 110 of file itkANNBinaryTreeCreator.h.



Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo