139#ifndef vtkMinimalStandardRandomSequence_h
140#define vtkMinimalStandardRandomSequence_h
142#include "vtkCommonCoreModule.h"
145VTK_ABI_NAMESPACE_BEGIN
162 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
Standard methods for instantiation, type information, and printing.
void Initialize(vtkTypeUInt32 seed) override
Satisfy general API of vtkRandomSequence superclass.
double GetNextRangeValue(double rangeMin, double rangeMax)
Get the next value in the sequence within a range.
double GetValue() override
Current value.
void Next() override
Move to the next number in the random sequence.
static vtkMinimalStandardRandomSequence * New()
Standard methods for instantiation, type information, and printing.
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.
void SetSeedOnly(int value)
Set the seed of the random sequence.
Generate a sequence of random numbers.