VTK
dox
Common
Core
vtkBoxMuellerRandomSequence.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBoxMuellerRandomSequence.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
=========================================================================*/
29
#ifndef vtkBoxMuellerRandomSequence_h
30
#define vtkBoxMuellerRandomSequence_h
31
32
#include "vtkCommonCoreModule.h"
// For export macro
33
#include "
vtkGaussianRandomSequence.h
"
34
35
class
VTKCOMMONCORE_EXPORT
vtkBoxMuellerRandomSequence
:
public
vtkGaussianRandomSequence
36
{
37
public
:
38
vtkTypeMacro(
vtkBoxMuellerRandomSequence
,
vtkGaussianRandomSequence
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
40
41
static
vtkBoxMuellerRandomSequence
*
New
();
42
46
double
GetValue
() VTK_OVERRIDE;
47
51
void
Next() VTK_OVERRIDE;
52
56
vtkRandomSequence
*GetUniformSequence();
57
62
void
SetUniformSequence(
vtkRandomSequence
*uniformSequence);
63
64
protected:
65
vtkBoxMuellerRandomSequence
();
66
~
vtkBoxMuellerRandomSequence
() VTK_OVERRIDE;
67
68
vtkRandomSequence
*UniformSequence;
69
double
Value;
70
private:
71
vtkBoxMuellerRandomSequence
(const
vtkBoxMuellerRandomSequence
&) VTK_DELETE_FUNCTION;
72
void
operator=(const
vtkBoxMuellerRandomSequence
&) VTK_DELETE_FUNCTION;
73
};
74
75
#endif // #ifndef vtkBoxMuellerRandomSequence_h
vtkRandomSequence
Sequence of random numbers.
Definition:
vtkRandomSequence.h:38
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkRandomSequence::GetValue
virtual double GetValue()=0
Current value.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGaussianRandomSequence
Gaussian sequence of pseudo random numbers.
Definition:
vtkGaussianRandomSequence.h:31
vtkBoxMuellerRandomSequence
Gaussian sequence of pseudo random numbers implemented with the Box-Mueller transform.
Definition:
vtkBoxMuellerRandomSequence.h:35
vtkGaussianRandomSequence.h
vtkGaussianRandomSequence::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.16