00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkRandomVariateGeneratorBase.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-05-02 05:43:58 $ 00007 Version: $Revision: 1.1 $ 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 #ifndef __itkRandomVariateGeneratorBase_h 00018 #define __itkRandomVariateGeneratorBase_h 00019 00020 #include "itkObject.h" 00021 00022 namespace itk { 00023 namespace Statistics { 00024 00030 class ITK_EXPORT RandomVariateGeneratorBase : public Object 00031 { 00032 public: 00034 typedef RandomVariateGeneratorBase Self; 00035 typedef Object Superclass; 00036 typedef SmartPointer<Self> Pointer; 00037 typedef SmartPointer<const Self> ConstPointer; 00038 00040 itkTypeMacro(RandomVariateGeneratorBase, Object ); 00041 00043 virtual double GetVariate() = 0; 00044 00045 protected: 00046 RandomVariateGeneratorBase() {} 00047 virtual ~RandomVariateGeneratorBase() {} 00048 00049 private: 00050 }; // end of class 00051 00052 } // end of namespace Statistics 00053 } // end of namespace itk 00054 00055 #endif 00056