VTK
|
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 "vtkCommonCoreModule.h" // For export macro 00035 #include "vtkObject.h" 00036 00037 class VTKCOMMONCORE_EXPORT vtkRandomSequence : public vtkObject 00038 { 00039 public: 00040 vtkTypeMacro(vtkRandomSequence,vtkObject); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 virtual double GetValue()=0; 00045 00047 virtual void Next()=0; 00048 00049 protected: 00050 vtkRandomSequence(); 00051 virtual ~vtkRandomSequence(); 00052 private: 00053 vtkRandomSequence(const vtkRandomSequence&); // Not implemented. 00054 void operator=(const vtkRandomSequence&); // Not implemented. 00055 }; 00056 00057 #endif // #ifndef __vtkRandomSequence_h