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:
Inheritance graph
[legend]

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 ()
 
virtual ~ANNBinaryTreeCreator ()
 

Private Member Functions

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

Static Private Attributes

static unsigned int m_NumberOfANNBinaryTrees
 

Member Typedef Documentation

Definition at line 57 of file itkANNBinaryTreeCreator.h.

Definition at line 58 of file itkANNBinaryTreeCreator.h.

ANN typedef's.

Definition at line 52 of file itkANNBinaryTreeCreator.h.

Definition at line 59 of file itkANNBinaryTreeCreator.h.

Definition at line 61 of file itkANNBinaryTreeCreator.h.

Definition at line 60 of file itkANNBinaryTreeCreator.h.

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

Definition at line 46 of file itkANNBinaryTreeCreator.h.

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

Definition at line 45 of file itkANNBinaryTreeCreator.h.

Standard itk.

Definition at line 43 of file itkANNBinaryTreeCreator.h.

Definition at line 44 of file itkANNBinaryTreeCreator.h.

Constructor & Destructor Documentation

itk::ANNBinaryTreeCreator::ANNBinaryTreeCreator ( )
inlineprotected

Definition at line 95 of file itkANNBinaryTreeCreator.h.

virtual itk::ANNBinaryTreeCreator::~ANNBinaryTreeCreator ( )
inlineprotectedvirtual

Definition at line 96 of file itkANNBinaryTreeCreator.h.

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

Member Function Documentation

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.

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

Static function to create an ANN BruteForceTree.

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.

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

Static function to decrease the reference count to ANN trees.

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

Static function to delete an ANN BruteForceTree.

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

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

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

ITK type info.

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

Static function to increase the reference count to ANN trees.

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

New method for creating an object using a factory.

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

Field Documentation

unsigned int itk::ANNBinaryTreeCreator::m_NumberOfANNBinaryTrees
staticprivate

Member variables.

Definition at line 104 of file itkANNBinaryTreeCreator.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo