VTK
dox
Common
Core
vtkMinimalStandardRandomSequence.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMinimalStandardRandomSequence.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
=========================================================================*/
41
#ifndef vtkMinimalStandardRandomSequence_h
42
#define vtkMinimalStandardRandomSequence_h
43
44
#include "vtkCommonCoreModule.h"
// For export macro
45
#include "
vtkRandomSequence.h
"
46
47
class
VTKCOMMONCORE_EXPORT
vtkMinimalStandardRandomSequence
48
:
public
vtkRandomSequence
49
{
50
public
:
51
vtkTypeMacro(
vtkMinimalStandardRandomSequence
,
vtkRandomSequence
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
53
54
static
vtkMinimalStandardRandomSequence
*
New
();
55
70
void
SetSeed
(
int
value
);
71
83
void
SetSeedOnly
(
int
value
);
84
89
int
GetSeed
();
90
95
double
GetValue
() VTK_OVERRIDE;
96
100
void
Next() VTK_OVERRIDE;
101
114
virtual
double
GetRangeValue(
double
rangeMin,
115
double
rangeMax);
116
117
protected:
118
vtkMinimalStandardRandomSequence
();
119
~
vtkMinimalStandardRandomSequence
() VTK_OVERRIDE;
120
int
Seed;
121
private:
122
vtkMinimalStandardRandomSequence
(const
vtkMinimalStandardRandomSequence
&) VTK_DELETE_FUNCTION;
123
void
operator=(const
vtkMinimalStandardRandomSequence
&) VTK_DELETE_FUNCTION;
124
};
125
126
#endif // #ifndef vtkMinimalStandardRandomSequence_h
vtkRandomSequence
Sequence of random numbers.
Definition:
vtkRandomSequence.h:39
vtkMinimalStandardRandomSequence
Park and Miller Sequence of pseudo random numbers.
Definition:
vtkMinimalStandardRandomSequence.h:49
vtkMinimalStandardRandomSequence::GetValue
double GetValue() override
Current value.
vtkRandomSequence.h
vtkX3D::value
@ value
Definition:
vtkX3D.h:220
vtkMinimalStandardRandomSequence::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMinimalStandardRandomSequence::GetSeed
int GetSeed()
Get the seed of the random sequence.
vtkMinimalStandardRandomSequence::SetSeedOnly
void SetSeedOnly(int value)
Set the seed of the random sequence.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkMinimalStandardRandomSequence::SetSeed
void SetSeed(int value)
Set the seed of the random sequence.
vtkMinimalStandardRandomSequence::New
static vtkMinimalStandardRandomSequence * New()
Generated by
1.8.20