00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRandomSequence.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 =========================================================================*/ 00031 #ifndef __vtkRandomSequence_h 00032 #define __vtkRandomSequence_h 00033 00034 #include "vtkObject.h" 00035 00036 class VTK_COMMON_EXPORT vtkRandomSequence : public vtkObject 00037 { 00038 public: 00039 vtkTypeMacro(vtkRandomSequence,vtkObject); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 virtual double GetValue()=0; 00044 00046 virtual void Next()=0; 00047 00048 protected: 00049 vtkRandomSequence(); 00050 virtual ~vtkRandomSequence(); 00051 private: 00052 vtkRandomSequence(const vtkRandomSequence&); // Not implemented. 00053 void operator=(const vtkRandomSequence&); // Not implemented. 00054 }; 00055 00056 #endif // #ifndef __vtkRandomSequence_h