VTK
vtkMinimalStandardRandomSequence.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMinimalStandardRandomSequence.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 =========================================================================*/
40 #ifndef vtkMinimalStandardRandomSequence_h
41 #define vtkMinimalStandardRandomSequence_h
42 
43 #include "vtkCommonCoreModule.h" // For export macro
44 #include "vtkRandomSequence.h"
45 
47  : public vtkRandomSequence
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
65  void SetSeed(int value);
66 
75  void SetSeedOnly(int value);
76 
79  int GetSeed();
80 
82  virtual double GetValue();
83 
85  virtual void Next();
86 
88 
96  virtual double GetRangeValue(double rangeMin,
97  double rangeMax);
99 
100 protected:
103  int Seed;
104 private:
106  void operator=(const vtkMinimalStandardRandomSequence&); // Not implemented.
107 };
108 
109 #endif // #ifndef vtkMinimalStandardRandomSequence_h
#define VTKCOMMONCORE_EXPORT
Sequence of random numbers.
virtual void Next()=0
virtual double GetValue()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
Park and Miller Sequence of pseudo random numbers.
static vtkObject * New()
void PrintSelf(ostream &os, vtkIndent indent)