VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
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
63
protected
:
64
vtkRandomSequence
();
65
~
vtkRandomSequence
()
override
;
66
67
private
:
68
vtkRandomSequence
(
const
vtkRandomSequence
&) =
delete
;
69
void
operator=(
const
vtkRandomSequence
&) =
delete
;
70
};
71
72
#endif // #ifndef vtkRandomSequence_h
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
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 by
1.8.11