VTK
|
Gaussian sequence of pseudo random numbers. More...
#include <vtkGaussianRandomSequence.h>
Public Types | |
typedef vtkRandomSequence | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGaussianRandomSequence * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | GetScaledValue (double mean, double standardDeviation) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkGaussianRandomSequence * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGaussianRandomSequence () | |
virtual | ~vtkGaussianRandomSequence () |
Gaussian sequence of pseudo random numbers.
vtkGaussianRandomSequence is a sequence of pseudo random numbers distributed according to the Gaussian/normal distribution (mean=0 and standard deviation=1)
This is just an interface.
Definition at line 30 of file vtkGaussianRandomSequence.h.
Reimplemented from vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
Definition at line 33 of file vtkGaussianRandomSequence.h.
vtkGaussianRandomSequence::vtkGaussianRandomSequence | ( | ) | [protected] |
virtual vtkGaussianRandomSequence::~vtkGaussianRandomSequence | ( | ) | [protected, virtual] |
static int vtkGaussianRandomSequence::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 vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
virtual int vtkGaussianRandomSequence::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 vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
static vtkGaussianRandomSequence* vtkGaussianRandomSequence::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
virtual vtkObjectBase* vtkGaussianRandomSequence::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
Reimplemented from vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
void vtkGaussianRandomSequence::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 vtkRandomSequence.
Reimplemented in vtkBoxMuellerRandomSequence.
virtual double vtkGaussianRandomSequence::GetScaledValue | ( | double | mean, |
double | standardDeviation | ||
) | [virtual] |
Convenient method to return a value given the mean and standard deviation of the Gaussian distribution from the the Gaussian distribution of mean=0 and standard deviation=1.0. There is an initial implementation that can be overridden by a subclass.