VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkBoxMuellerRandomSequence Class Reference

Gaussian sequence of pseudo random numbers implemented with the Box-Mueller transform. More...

#include <vtkBoxMuellerRandomSequence.h>

Inheritance diagram for vtkBoxMuellerRandomSequence:
[legend]
Collaboration diagram for vtkBoxMuellerRandomSequence:
[legend]

List of all members.

Public Types

typedef vtkGaussianRandomSequence Superclass
- Public Types inherited from vtkGaussianRandomSequence
- Public Types inherited from vtkRandomSequence
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual double GetValue ()
virtual void Next ()
vtkRandomSequenceGetUniformSequence ()
void SetUniformSequence (vtkRandomSequence *uniformSequence)
- Public Member Functions inherited from vtkGaussianRandomSequence
virtual double GetScaledValue (double mean, double standardDeviation)

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkBoxMuellerRandomSequence
SafeDownCast (vtkObject *o)
static
vtkBoxMuellerRandomSequence
New ()

Protected Member Functions

 vtkBoxMuellerRandomSequence ()
virtual ~vtkBoxMuellerRandomSequence ()
- Protected Member Functions inherited from vtkGaussianRandomSequence
 vtkGaussianRandomSequence ()
virtual ~vtkGaussianRandomSequence ()
- Protected Member Functions inherited from vtkRandomSequence
 vtkRandomSequence ()
virtual ~vtkRandomSequence ()
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

vtkRandomSequenceUniformSequence
double Value

Detailed Description

Gaussian sequence of pseudo random numbers implemented with the Box-Mueller transform.

vtkGaussianRandomSequence is a sequence of pseudo random numbers distributed according to the Gaussian/normal distribution (mean=0 and standard deviation=1).

It based is calculation from a uniformly distributed pseudo random sequence. The initial sequence is a vtkMinimalStandardRandomSequence.

Definition at line 30 of file vtkBoxMuellerRandomSequence.h.


Member Typedef Documentation

Reimplemented from vtkGaussianRandomSequence.

Definition at line 33 of file vtkBoxMuellerRandomSequence.h.


Constructor & Destructor Documentation

vtkBoxMuellerRandomSequence::vtkBoxMuellerRandomSequence ( )
protected
virtual vtkBoxMuellerRandomSequence::~vtkBoxMuellerRandomSequence ( )
protectedvirtual

Member Function Documentation

virtual const char* vtkBoxMuellerRandomSequence::GetClassName ( )
virtual

Reimplemented from vtkGaussianRandomSequence.

static int vtkBoxMuellerRandomSequence::IsTypeOf ( const char *  name)
static

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGaussianRandomSequence.

virtual int vtkBoxMuellerRandomSequence::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGaussianRandomSequence.

static vtkBoxMuellerRandomSequence* vtkBoxMuellerRandomSequence::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkGaussianRandomSequence.

void vtkBoxMuellerRandomSequence::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkGaussianRandomSequence.

static vtkBoxMuellerRandomSequence* vtkBoxMuellerRandomSequence::New ( )
static

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual double vtkBoxMuellerRandomSequence::GetValue ( )
virtual

Current value.

Implements vtkRandomSequence.

virtual void vtkBoxMuellerRandomSequence::Next ( )
virtual

Move to the next number in the random sequence.

Implements vtkRandomSequence.

vtkRandomSequence* vtkBoxMuellerRandomSequence::GetUniformSequence ( )

Return the uniformly distributed sequence of random numbers.

void vtkBoxMuellerRandomSequence::SetUniformSequence ( vtkRandomSequence uniformSequence)

Set the uniformly distributed sequence of random numbers. Default is a .


Member Data Documentation

vtkRandomSequence* vtkBoxMuellerRandomSequence::UniformSequence
protected

Definition at line 55 of file vtkBoxMuellerRandomSequence.h.

double vtkBoxMuellerRandomSequence::Value
protected

Definition at line 56 of file vtkBoxMuellerRandomSequence.h.


The documentation for this class was generated from the following file: