VTK  9.3.20240424
vtkGaussianRandomSequence.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
14#ifndef vtkGaussianRandomSequence_h
15#define vtkGaussianRandomSequence_h
16
17#include "vtkCommonCoreModule.h" // For export macro
18#include "vtkRandomSequence.h"
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKCOMMONCORE_EXPORT vtkGaussianRandomSequence : public vtkRandomSequence
22{
23public:
25
29 void PrintSelf(ostream& os, vtkIndent indent) override;
31
38 virtual double GetScaledValue(double mean, double standardDeviation);
39
46 double GetNextScaledValue(double mean, double standardDeviation);
47
48protected:
51
52private:
54 void operator=(const vtkGaussianRandomSequence&) = delete;
55};
56
57VTK_ABI_NAMESPACE_END
58#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:108
Generate a sequence of random numbers.