VTK
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 =========================================================================*/
28 #ifndef vtkBoxMuellerRandomSequence_h
29 #define vtkBoxMuellerRandomSequence_h
30 
31 #include "vtkCommonCoreModule.h" // For export macro
33 
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
43  virtual double GetValue();
44 
46  virtual void Next();
47 
50 
53  void SetUniformSequence(vtkRandomSequence *uniformSequence);
54 
55 protected:
58 
60  double Value;
61 private:
62  vtkBoxMuellerRandomSequence(const vtkBoxMuellerRandomSequence&); // Not implemented.
63  void operator=(const vtkBoxMuellerRandomSequence&); // Not implemented.
64 };
65 
66 #endif // #ifndef vtkBoxMuellerRandomSequence_h
vtkBoxMuellerRandomSequence::UniformSequence
vtkRandomSequence * UniformSequence
Definition: vtkBoxMuellerRandomSequence.h:59
vtkRandomSequence
Sequence of random numbers.
Definition: vtkRandomSequence.h:38
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkBoxMuellerRandomSequence::GetUniformSequence
vtkRandomSequence * GetUniformSequence()
vtkCommonCoreModule.h
vtkBoxMuellerRandomSequence::New
static vtkBoxMuellerRandomSequence * New()
vtkBoxMuellerRandomSequence::Value
double Value
Definition: vtkBoxMuellerRandomSequence.h:60
vtkBoxMuellerRandomSequence::SetUniformSequence
void SetUniformSequence(vtkRandomSequence *uniformSequence)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkBoxMuellerRandomSequence::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGaussianRandomSequence
Gaussian sequence of pseudo random numbers.
Definition: vtkGaussianRandomSequence.h:31
vtkBoxMuellerRandomSequence::Next
virtual void Next()
vtkBoxMuellerRandomSequence
Gaussian sequence of pseudo random numbers implemented with the Box-Mueller transform.
Definition: vtkBoxMuellerRandomSequence.h:35
vtkGaussianRandomSequence.h
vtkBoxMuellerRandomSequence::vtkBoxMuellerRandomSequence
vtkBoxMuellerRandomSequence()
vtkBoxMuellerRandomSequence::GetValue
virtual double GetValue()
vtkBoxMuellerRandomSequence::~vtkBoxMuellerRandomSequence
virtual ~vtkBoxMuellerRandomSequence()