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

itkNormalVariateGenerator.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkNormalVariateGenerator.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:47 $ 00007 Version: $Revision: 1.8 $ 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 __itkNormalVariateGenerator_h 00018 #define __itkNormalVariateGenerator_h 00019 00020 #include "itkObjectFactory.h" 00021 #include "itkRandomVariateGeneratorBase.h" 00022 00023 namespace itk { 00024 namespace Statistics { 00025 00091 class ITK_EXPORT NormalVariateGenerator : 00092 public RandomVariateGeneratorBase 00093 { 00094 public: 00096 typedef NormalVariateGenerator Self ; 00097 typedef RandomVariateGeneratorBase Superclass; 00098 typedef SmartPointer<Self> Pointer; 00099 typedef SmartPointer<const Self> ConstPointer; 00100 00102 itkTypeMacro(NormalVariateGenerator, 00103 RandomVariateGeneratorBase ); 00104 00106 itkNewMacro(Self); 00107 00109 void Initialize(int randomSeed) ; 00110 00112 double GetVariate() ; 00113 00114 protected: 00115 NormalVariateGenerator() ; 00116 virtual ~NormalVariateGenerator() ; 00117 virtual void PrintSelf(std::ostream& os, Indent indent) const ; 00118 00120 double FastNorm (void) ; 00121 00122 private: 00123 double Scale ; 00124 double Rscale ; 00125 double Rcons ; 00126 int ELEN ; 00127 int LEN ; 00128 int LMASK ; 00129 int TLEN ; 00130 00131 int gaussfaze, *gausssave; 00132 double GScale; 00133 00134 int* vec1 ; 00135 int nslew; 00136 int irs, lseed; 00137 double chic1, chic2, actualRSD; 00138 } ; // end of class 00139 00140 } // end of namespace Statistics 00141 } // end of namespace itk 00142 #endif

Generated at Sun Apr 1 02:39:53 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000