 |
VTK
9.1.0
|
Go to the documentation of this file.
31 #ifndef vtkRandomSequence_h
32 #define vtkRandomSequence_h
34 #include "vtkCommonCoreModule.h"
77 #endif // #ifndef vtkRandomSequence_h
Generate a sequence of random numbers.
virtual void Initialize(vtkTypeUInt32 seed)=0
Initialize the sequence with a seed.
abstract base class for most VTK objects
virtual double GetValue()=0
Return the current value.
double GetNextValue()
Advance the sequence and return the new value.
virtual void Next()=0
Move to the next number in the random sequence.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
a simple class to control print indentation
~vtkRandomSequence() override