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 =========================================================================*/
32 #ifndef vtkRandomSequence_h
33 #define vtkRandomSequence_h
34 
35 #include "vtkCommonCoreModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class VTKCOMMONCORE_EXPORT vtkRandomSequence : public vtkObject
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
43 
47  virtual double GetValue()=0;
48 
52  virtual void Next()=0;
53 
54 protected:
56  ~vtkRandomSequence() VTK_OVERRIDE;
57 private:
58  vtkRandomSequence(const vtkRandomSequence&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkRandomSequence&) VTK_DELETE_FUNCTION;
60 };
61 
62 #endif // #ifndef vtkRandomSequence_h
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Sequence of random numbers.
a simple class to control print indentation
Definition: vtkIndent.h:39