VTK  9.1.0
vtkGaussianRandomSequence.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkGaussianRandomSequence.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13=========================================================================*/
25#ifndef vtkGaussianRandomSequence_h
26#define vtkGaussianRandomSequence_h
27
28#include "vtkCommonCoreModule.h" // For export macro
29#include "vtkRandomSequence.h"
30
31class VTKCOMMONCORE_EXPORT vtkGaussianRandomSequence : public vtkRandomSequence
32{
33public:
35
39 void PrintSelf(ostream& os, vtkIndent indent) override;
41
48 virtual double GetScaledValue(double mean, double standardDeviation);
49
56 double GetNextScaledValue(double mean, double standardDeviation);
57
58protected:
61
62private:
64 void operator=(const vtkGaussianRandomSequence&) = delete;
65};
66
67#endif // #ifndef vtkGaussianRandomSequence_h
Gaussian sequence of pseudo random numbers.
~vtkGaussianRandomSequence() override
virtual double GetScaledValue(double mean, double standardDeviation)
Convenient method to return a value given the mean and standard deviation of the Gaussian distributio...
double GetNextScaledValue(double mean, double standardDeviation)
Return the next value in the sequence given the mean and standard deviation of the Gaussian.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
a simple class to control print indentation
Definition: vtkIndent.h:113
Generate a sequence of random numbers.