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 =========================================================================*/
25 #ifndef __vtkBoxMuellerRandomSequence_h
26 #define __vtkBoxMuellerRandomSequence_h
27 
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
39  virtual double GetValue();
40 
42  virtual void Next();
43 
45  vtkRandomSequence *GetUniformSequence();
46 
49  void SetUniformSequence(vtkRandomSequence *uniformSequence);
50 
51 protected:
53  virtual ~vtkBoxMuellerRandomSequence();
54 
56  double Value;
57 private:
58  vtkBoxMuellerRandomSequence(const vtkBoxMuellerRandomSequence&); // Not implemented.
59  void operator=(const vtkBoxMuellerRandomSequence&); // Not implemented.
60 };
61 
62 #endif // #ifndef __vtkBoxMuellerRandomSequence_h