go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkANNBruteForceTree.h
Go to the documentation of this file.
00001 /*======================================================================
00002 
00003   This file is part of the elastix software.
00004 
00005   Copyright (c) University Medical Center Utrecht. All rights reserved.
00006   See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
00007   details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE. See the above copyright notices for more information.
00012 
00013 ======================================================================*/
00014 
00015 #ifndef __itkANNBruteForceTree_h
00016 #define __itkANNBruteForceTree_h
00017 
00018 #include "itkBinaryANNTreeBase.h"
00019 
00020 namespace itk
00021 {
00022 
00032   template < class TListSample >
00033   class ANNBruteForceTree : public BinaryANNTreeBase< TListSample >
00034   {
00035   public:
00036 
00038     typedef ANNBruteForceTree                 Self;
00039     typedef BinaryANNTreeBase< TListSample >  Superclass;
00040     typedef SmartPointer< Self >              Pointer;
00041     typedef SmartPointer< const Self >        ConstPointer;
00042 
00044     itkNewMacro( Self );
00045 
00047     itkTypeMacro( ANNBruteForceTree, BinaryANNTreeBase );
00048 
00050     typedef typename Superclass::SampleType                 SampleType;
00051     typedef typename Superclass::MeasurementVectorType      MeasurementVectorType;
00052     typedef typename Superclass::MeasurementVectorSizeType  MeasurementVectorSizeType;
00053     typedef typename Superclass::TotalAbsoluteFrequencyType         TotalAbsoluteFrequencyType;
00054 
00056     typedef ANNpointSet       ANNPointSetType;
00057     typedef ANNbruteForce     ANNBruteForceTreeType;
00058 
00060     //void SetMaximumNumberOfPointsToVisit( unsigned int num )
00061     //{
00062     //  annMaxPtsVisit( static_cast<int>( num ) );
00063     //}
00064 
00066     virtual void GenerateTree( void );
00067 
00069     virtual ANNPointSetType * GetANNTree( void ) const
00070     {
00071       return this->m_ANNTree;
00072     }
00073 
00074   protected:
00075 
00076     ANNBruteForceTree();
00077     virtual ~ANNBruteForceTree();
00078 
00080     ANNBruteForceTreeType *       m_ANNTree;
00081 
00082   private:
00083 
00084     ANNBruteForceTree( const Self& ); // purposely not implemented
00085     void operator=( const Self& );    // purposely not implemented
00086 
00087   }; // end class ANNBruteForceTree
00088 
00089 
00090 } // end namespace itk
00091 
00092 
00093 #ifndef ITK_MANUAL_INSTANTIATION
00094 #include "itkANNBruteForceTree.txx"
00095 #endif
00096 
00097 
00098 #endif // end #ifndef __itkANNBruteForceTree_h
00099 


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