VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/Core/vtkMinimalStandardRandomSequence.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMinimalStandardRandomSequence.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 =========================================================================*/
00040 #ifndef vtkMinimalStandardRandomSequence_h
00041 #define vtkMinimalStandardRandomSequence_h
00042 
00043 #include "vtkCommonCoreModule.h" // For export macro
00044 #include "vtkRandomSequence.h"
00045 
00046 class VTKCOMMONCORE_EXPORT vtkMinimalStandardRandomSequence
00047   : public vtkRandomSequence
00048 {
00049 public:
00050   vtkTypeMacro(vtkMinimalStandardRandomSequence,vtkRandomSequence);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00053   static vtkMinimalStandardRandomSequence* New();
00054 
00065   void SetSeed(int value);
00066 
00075   void SetSeedOnly(int value);
00076 
00079   int GetSeed();
00080 
00082   virtual double GetValue();
00083 
00085   virtual void Next();
00086 
00088 
00096   virtual double GetRangeValue(double rangeMin,
00097                                double rangeMax);
00099 
00100 protected:
00101   vtkMinimalStandardRandomSequence();
00102   virtual ~vtkMinimalStandardRandomSequence();
00103   int Seed;
00104 private:
00105   vtkMinimalStandardRandomSequence(const vtkMinimalStandardRandomSequence&);  // Not implemented.
00106   void operator=(const vtkMinimalStandardRandomSequence&);  // Not implemented.
00107 };
00108 
00109 #endif // #ifndef vtkMinimalStandardRandomSequence_h