VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
:
40
vtkTypeMacro
(
vtkRandomSequence
,
vtkObject
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
virtual
double
GetValue
()=0;
45
47
virtual
void
Next
()=0;
48
49
protected
:
50
vtkRandomSequence
();
51
virtual
~vtkRandomSequence
();
52
private
:
53
vtkRandomSequence
(
const
vtkRandomSequence
&);
// Not implemented.
54
void
operator=(
const
vtkRandomSequence
&);
// Not implemented.
55
};
56
57
#endif // #ifndef vtkRandomSequence_h
vtkRandomSequence
Sequence of random numbers.
Definition:
vtkRandomSequence.h:38
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkRandomSequence::GetValue
virtual double GetValue()=0
vtkRandomSequence::Next
virtual void Next()=0
vtkCommonCoreModule.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkRandomSequence::~vtkRandomSequence
virtual ~vtkRandomSequence()
vtkObject.h
vtkRandomSequence::vtkRandomSequence
vtkRandomSequence()
vtkRandomSequence::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Generated by
1.8.20