|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   39 #ifndef vtkRandomPool_h 
   40 #define vtkRandomPool_h 
   42 #include "vtkCommonCoreModule.h"  
   86   vtkGetMacro(NumberOfComponents, 
vtkIdType);
 
  108   const double* GeneratePool();
 
  109   const double* 
GetPool() { 
return this->Pool; }
 
  113     return this->Pool[(compNum + this->NumberOfComponents * i) % this->TotalSize];
 
  130   void PopulateDataArray(
vtkDataArray* da, 
double minRange, 
double maxRange);
 
  131   void PopulateDataArray(
vtkDataArray* da, 
int compNumber, 
double minRange, 
double maxRange);
 
  
Generate a sequence of random numbers.
vtkIdType GetTotalSize()
This convenience method returns the total size of the memory pool, i.e., Size*NumberOfComponents.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
a simple class to control print indentation
vtkTimeStamp GenerateTime
double GetValue(vtkIdType i, int compNum)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double GetValue(vtkIdType i)
vtkRandomSequence * Sequence
convenience class to quickly generate a pool of random numbers