VTK
vtkRandomSequence.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRandomSequence.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 =========================================================================*/
31 #ifndef __vtkRandomSequence_h
32 #define __vtkRandomSequence_h
33 
34 #include "vtkObject.h"
35 
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43  virtual double GetValue()=0;
44 
46  virtual void Next()=0;
47 
48 protected:
50  virtual ~vtkRandomSequence();
51 private:
52  vtkRandomSequence(const vtkRandomSequence&); // Not implemented.
53  void operator=(const vtkRandomSequence&); // Not implemented.
54 };
55 
56 #endif // #ifndef __vtkRandomSequence_h
abstract base class for most VTK objects
Definition: vtkObject.h:60
Sequence of random numbers.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT