VTK
9.4.20241217
|
An interface to a random number generator. More...
#include <vtkLICNoiseHelper.h>
Public Member Functions | |
vtkLICRandomNumberGeneratorInterface () | |
~vtkLICRandomNumberGeneratorInterface () | |
void | SetSeed (int seedVal) |
Seed the random number generator. | |
double | GetRandomNumber () |
Get a random number in the range of 0 to 1. | |
An interface to a random number generator.
We can't use c stdlib since we're not guaranteed to get consistent. sequences across platform or library version and that would prevent consistent output during regression tests.
Definition at line 24 of file vtkLICNoiseHelper.h.
|
inline |
Definition at line 27 of file vtkLICNoiseHelper.h.
|
inline |
Definition at line 29 of file vtkLICNoiseHelper.h.
|
inline |
Seed the random number generator.
Definition at line 34 of file vtkLICNoiseHelper.h.
|
inline |
Get a random number in the range of 0 to 1.
Definition at line 39 of file vtkLICNoiseHelper.h.