39#ifndef vtkRandomPool_h
40#define vtkRandomPool_h
42#include "vtkCommonCoreModule.h"
109 const double*
GetPool() {
return this->Pool; }
113 return this->Pool[(compNum + this->NumberOfComponents * i) % this->TotalSize];
abstract superclass for arrays of numeric data
a simple class to control print indentation
abstract base class for most VTK objects
convenience class to quickly generate a pool of random numbers
virtual void SetSequence(vtkRandomSequence *seq)
Specify the random sequence generator used to produce the random pool.
~vtkRandomPool() override
vtkRandomSequence * Sequence
double GetValue(vtkIdType i)
These methods provide access to the raw random pool as a double array.
static vtkRandomPool * New()
Standard methods for instantiation, type information, and printing.
vtkTimeStamp GenerateTime
const double * GeneratePool()
These methods provide access to the raw random pool as a double array.
void PopulateDataArray(vtkDataArray *da, double minRange, double maxRange)
Methods to populate data arrays of various types with values within a specified (min,...
const double * GetPool()
These methods provide access to the raw random pool as a double array.
double GetValue(vtkIdType i, int compNum)
These methods provide access to the raw random pool as a double array.
vtkIdType GetTotalSize()
This convenience method returns the total size of the memory pool, i.e., Size*NumberOfComponents.
void PopulateDataArray(vtkDataArray *da, int compNumber, double minRange, double maxRange)
Methods to populate data arrays of various types with values within a specified (min,...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
Generate a sequence of random numbers.
record modification and/or execution time