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