TMCRandom Class Reference
[MCCore]

Inheritance diagram for TMCRandom:
TMCGaussianRandom

List of all members.

Public Member Functions

 TMCRandom ()
 TMCRandom (int32 seed)
void SetSeed (int32 seed)
int32 GetSeed () const
int32 Rand ()
int32 RandRange (int32 min, int32 max)
real32 RealRand ()
real FloatAbs ()
void Advance (int32 steps)

Private Attributes

int32 fSeed

Detailed Description

Random Number Generator


Constructor & Destructor Documentation

TMCRandom::TMCRandom (  )  [inline]
TMCRandom::TMCRandom ( int32  seed  )  [inline]

Member Function Documentation

void TMCRandom::Advance ( int32  steps  )  [inline]
real TMCRandom::FloatAbs (  )  [inline]

Returns a nicely distributed random number between 0 and 1.

int32 TMCRandom::GetSeed (  )  const [inline]
int32 TMCRandom::Rand (  )  [inline]
int32 TMCRandom::RandRange ( int32  min,
int32  max 
) [inline]
real32 TMCRandom::RealRand (  )  [inline]
void TMCRandom::SetSeed ( int32  seed  )  [inline]

Member Data Documentation

int32 TMCRandom::fSeed [private]

The documentation for this class was generated from the following file:
Generated on Mon Apr 26 22:48:07 2010 for Carrara SDK Doc by  doxygen 1.6.3