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 ()
real32 RealRand ()
real FloatAbs ()

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::SetSeed ( int32  seed  )  [inline]

int32 TMCRandom::GetSeed (  )  const [inline]

int32 TMCRandom::Rand (  )  [inline]

real32 TMCRandom::RealRand (  )  [inline]

real TMCRandom::FloatAbs (  )  [inline]

Returns a nicely distributed random number between 0 and 1.


Member Data Documentation

int32 TMCRandom::fSeed [private]


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 15:19:32 2007 for Carrara SDK Doc by  doxygen 1.5.3