|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   35 #ifndef vtkMinimalStandardRandomSequence_h 
   36 #define vtkMinimalStandardRandomSequence_h 
   38 #include "vtkCommonCoreModule.h"  
   57   void Initialize(vtkTypeUInt32 seed)
 override { this->SetSeed(seed); }
 
   73   void SetSeed(
int value);
 
   86   void SetSeedOnly(
int value);
 
  103   void Next() 
override;
 
  117   virtual double GetRangeValue(
double rangeMin, 
double rangeMax);
 
  130 #endif // #ifndef vtkMinimalStandardRandomSequence_h 
  
Generate a sequence of random numbers.
Park and Miller Sequence of pseudo random numbers.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual double GetValue()=0
Return the current value.
virtual void Next()=0
Move to the next number in the random sequence.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void Initialize(vtkTypeUInt32 seed) override
Satisfy general API of vtkRandomSequence superclass.