Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkCompletelyConnectedWeightSet.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCompletelyConnectedWeightSet.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/08/17 13:10:57 $
00007   Version:   $Revision: 1.2 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkCompletelyConnectedWeightSet_h
00019 #define __itkCompletelyConnectedWeightSet_h
00020 
00021 #include "itkWeightSetBase.h"
00022 
00023 namespace itk
00024 {
00025 namespace Statistics
00026 {
00027 template<class TMeasurementVector, class TTargetVector>
00028 class CompletelyConnectedWeightSet : public WeightSetBase<TMeasurementVector, TTargetVector>
00029 {
00030 public:
00031   #define MAX_SIZE 1000
00032 
00033   typedef CompletelyConnectedWeightSet Self;
00034   typedef WeightSetBase<TMeasurementVector, TTargetVector> Superclass;
00035   typedef SmartPointer<Self> Pointer;
00036   typedef SmartPointer<const Self> ConstPointer;
00037 
00038   itkTypeMacro(CompletelyConnectedWeightSet, WeightSetBase);
00039   itkNewMacro(Self);
00040 
00041   void SetCompleteConnectivity();
00042   void SetRandomConnectivity(int[][MAX_SIZE]);
00043 
00044 protected:
00045 
00046   CompletelyConnectedWeightSet();
00047   virtual ~CompletelyConnectedWeightSet(){};
00048 
00050   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00051 
00052 };
00053 
00054 } // end namespace Statistics
00055 } // end namespace itk
00056 
00057 #ifndef ITK_MANUAL_INSTANTIATION
00058 #include "itkCompletelyConnectedWeightSet.txx"
00059 #endif
00060 
00061 #endif
00062 

Generated at Wed Nov 5 20:52:59 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000