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 "vtkRandomSequence.h"
44 
46  : public vtkRandomSequence
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
64  void SetSeed(int value);
65 
74  void SetSeedOnly(int value);
75 
78  int GetSeed();
79 
81  virtual double GetValue();
82 
84  virtual void Next();
85 
87 
95  virtual double GetRangeValue(double rangeMin,
96  double rangeMax);
98 
99 protected:
102  int Seed;
103 private:
105  void operator=(const vtkMinimalStandardRandomSequence&); // Not implemented.
106 };
107 
108 #endif // #ifndef __vtkMinimalStandardRandomSequence_h