Go to the documentation of this file.
41 #ifndef vtkMinimalStandardRandomSequence_h
42 #define vtkMinimalStandardRandomSequence_h
44 #include "vtkCommonCoreModule.h"
65 {this->SetSeed(seed);}
139 #endif // #ifndef vtkMinimalStandardRandomSequence_h
Generate a sequence of random numbers.
void Next() override
Move to the next number in the random sequence.
Park and Miller Sequence of pseudo random numbers.
double GetValue() override
Current value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetSeed()
Get the seed of the random sequence.
void SetSeedOnly(int value)
Set the seed of the random sequence.
a simple class to control print indentation
void SetSeed(int value)
Set the seed of the random sequence.
void Initialize(vtkTypeUInt32 seed) override
Satisfy general API of vtkRandomSequence superclass.
vtkMinimalStandardRandomSequence()
virtual double GetRangeValue(double rangeMin, double rangeMax)
Convenient method to return a value in a specific range from the range [0,1.
static vtkMinimalStandardRandomSequence * New()
Standard methods for instantiation, type information, and printing.
~vtkMinimalStandardRandomSequence() override