VTK  9.0.1
Public Member Functions | List of all members
vtkLICRandomNumberGeneratorInterface Class Reference


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 More...
 
double GetRandomNumber ()
 
Get a random number in the range of 0 to 1. More...
 

Detailed Description


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 36 of file vtkLICNoiseHelper.h.

Constructor & Destructor Documentation

◆ vtkLICRandomNumberGeneratorInterface()

vtkLICRandomNumberGeneratorInterface::vtkLICRandomNumberGeneratorInterface ( )
inline

Definition at line 39 of file vtkLICNoiseHelper.h.

◆ ~vtkLICRandomNumberGeneratorInterface()

vtkLICRandomNumberGeneratorInterface::~vtkLICRandomNumberGeneratorInterface ( )
inline

Definition at line 41 of file vtkLICNoiseHelper.h.

Member Function Documentation

◆ SetSeed()

void vtkLICRandomNumberGeneratorInterface::SetSeed ( int  seedVal)
inline


Seed the random number generator

Definition at line 46 of file vtkLICNoiseHelper.h.

◆ GetRandomNumber()

double vtkLICRandomNumberGeneratorInterface::GetRandomNumber ( )
inline


Get a random number in the range of 0 to 1.

Definition at line 51 of file vtkLICNoiseHelper.h.


The documentation for this class was generated from the following file: