VTK
9.2.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
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 "vtkCommonCoreModule.h"
// For export macro
35
#include "
vtkObject.h
"
36
37
class
VTKCOMMONCORE_EXPORT
vtkRandomSequence
:
public
vtkObject
38
{
39
public
:
41
44
vtkTypeMacro(
vtkRandomSequence
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
47
51
virtual
void
Initialize(vtkTypeUInt32 seed) = 0;
52
56
virtual
double
GetValue() = 0;
57
61
virtual
void
Next() = 0;
62
66
double
GetNextValue();
67
68
protected
:
69
vtkRandomSequence
();
70
~
vtkRandomSequence
()
override
;
71
72
private
:
73
vtkRandomSequence
(
const
vtkRandomSequence
&) =
delete
;
74
void
operator=(
const
vtkRandomSequence
&) =
delete
;
75
};
76
77
#endif // #ifndef vtkRandomSequence_h
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRandomSequence
Generate a sequence of random numbers.
Definition:
vtkRandomSequence.h:37
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject.h
Generated on Mon Oct 16 2023 11:19:19 for VTK by
1.8.10