go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Attributes
itk::ANNBinaryTreeCreator Class Reference

#include <itkANNBinaryTreeCreator.h>

Detailed Description

Definition at line 38 of file itkANNBinaryTreeCreator.h.

+ Inheritance diagram for itk::ANNBinaryTreeCreator:

Public Types

typedef ANNbd_tree ANNbdTreeType
 
typedef ANNbruteForce ANNBruteForceTreeType
 
typedef ANNkd_tree ANNkDTreeType
 
typedef ANNpointArray ANNPointArrayType
 
typedef ANNshrinkRule ANNShrinkRuleType
 
typedef ANNsplitRule ANNSplitRuleType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef ANNBinaryTreeCreator Self
 
typedef Object Superclass
 

Public Member Functions

virtual const char * GetClassName () const
 

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 (void)
 
static void DeleteANNBruteForceTree (ANNBruteForceTreeType *&tree)
 
static void DeleteANNkDTree (ANNkDTreeType *&tree)
 
static void IncreaseReferenceCount (void)
 
static Pointer New ()
 

Protected Member Functions

 ANNBinaryTreeCreator ()
 
 ~ANNBinaryTreeCreator () override
 

Private Member Functions

 ANNBinaryTreeCreator (const Self &)
 
void operator= (const Self &)
 

Static Private Attributes

static unsigned int m_NumberOfANNBinaryTrees
 

Member Typedef Documentation

◆ ANNbdTreeType

Definition at line 57 of file itkANNBinaryTreeCreator.h.

◆ ANNBruteForceTreeType

Definition at line 58 of file itkANNBinaryTreeCreator.h.

◆ ANNkDTreeType

ANN typedef's.

Definition at line 56 of file itkANNBinaryTreeCreator.h.

◆ ANNPointArrayType

Definition at line 59 of file itkANNBinaryTreeCreator.h.

◆ ANNShrinkRuleType

Definition at line 61 of file itkANNBinaryTreeCreator.h.

◆ ANNSplitRuleType

Definition at line 60 of file itkANNBinaryTreeCreator.h.

◆ ConstPointer

typedef SmartPointer< const Self > itk::ANNBinaryTreeCreator::ConstPointer

Definition at line 46 of file itkANNBinaryTreeCreator.h.

◆ Pointer

typedef SmartPointer< Self > itk::ANNBinaryTreeCreator::Pointer

Definition at line 45 of file itkANNBinaryTreeCreator.h.

◆ Self

Standard itk.

Definition at line 43 of file itkANNBinaryTreeCreator.h.

◆ Superclass

Definition at line 44 of file itkANNBinaryTreeCreator.h.

Constructor & Destructor Documentation

◆ ANNBinaryTreeCreator() [1/2]

itk::ANNBinaryTreeCreator::ANNBinaryTreeCreator ( )
inlineprotected

Definition at line 95 of file itkANNBinaryTreeCreator.h.

◆ ~ANNBinaryTreeCreator()

itk::ANNBinaryTreeCreator::~ANNBinaryTreeCreator ( )
inlineoverrideprotected

Definition at line 96 of file itkANNBinaryTreeCreator.h.

◆ ANNBinaryTreeCreator() [2/2]

itk::ANNBinaryTreeCreator::ANNBinaryTreeCreator ( const Self )
private

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 ( void  )
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 ( void  )
static

Static function to increase the reference count to ANN trees.

◆ New()

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

New method for creating an object using a factory.

◆ operator=()

void itk::ANNBinaryTreeCreator::operator= ( const Self )
private

Field Documentation

◆ m_NumberOfANNBinaryTrees

unsigned int itk::ANNBinaryTreeCreator::m_NumberOfANNBinaryTrees
staticprivate

Member variables.

Definition at line 104 of file itkANNBinaryTreeCreator.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo