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>

Inheritance diagram for itk::ANNBinaryTreeCreator:
Inheritance graph
[legend]
Collaboration diagram for itk::ANNBinaryTreeCreator:
Collaboration 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

Detailed Description

Definition at line 34 of file itkANNBinaryTreeCreator.h.


Member Typedef Documentation

Definition at line 53 of file itkANNBinaryTreeCreator.h.

Definition at line 54 of file itkANNBinaryTreeCreator.h.

ANN typedef's.

Definition at line 48 of file itkANNBinaryTreeCreator.h.

Definition at line 55 of file itkANNBinaryTreeCreator.h.

Definition at line 57 of file itkANNBinaryTreeCreator.h.

Definition at line 56 of file itkANNBinaryTreeCreator.h.

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

Definition at line 42 of file itkANNBinaryTreeCreator.h.

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

Definition at line 41 of file itkANNBinaryTreeCreator.h.

Standard itk.

Definition at line 39 of file itkANNBinaryTreeCreator.h.

Definition at line 40 of file itkANNBinaryTreeCreator.h.


Constructor & Destructor Documentation

Definition at line 91 of file itkANNBinaryTreeCreator.h.

virtual itk::ANNBinaryTreeCreator::~ANNBinaryTreeCreator ( ) [inline, protected, virtual]

Definition at line 92 of file itkANNBinaryTreeCreator.h.


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 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 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.

New method for creating an object using a factory.

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

Field Documentation

Member variables.

Definition at line 100 of file itkANNBinaryTreeCreator.h.



Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo