UT_Stratify Class Reference

#include <UT_Stratify.h>

List of all members.

Public Member Functions

 UT_Stratify ()
 ~UT_Stratify ()
void init (unsigned int total_samples, fpreal uweight=1)
void reset ()
void nextSample ()
void setSample (unsigned int sample_number)
void stratify (fpreal32 &u, fpreal32 &v)
void stratify (fpreal64 &u, fpreal64 &v)
int getUSize () const
int getVSize () const
fpreal getUInc () const
fpreal getVInc () const
int getStratifiedSize () const
int isStratifiedSample () const

Static Public Member Functions

static void weightedFactor (unsigned int total_samples, fpreal uweight, int &usize, int &vsize, bool exact=false)


Detailed Description

Definition at line 27 of file UT_Stratify.h.


Constructor & Destructor Documentation

UT_Stratify::UT_Stratify (  )  [inline]

Definition at line 29 of file UT_Stratify.h.

UT_Stratify::~UT_Stratify (  )  [inline]

Definition at line 30 of file UT_Stratify.h.


Member Function Documentation

int UT_Stratify::getStratifiedSize (  )  const [inline]

Definition at line 107 of file UT_Stratify.h.

fpreal UT_Stratify::getUInc (  )  const [inline]

Definition at line 105 of file UT_Stratify.h.

int UT_Stratify::getUSize (  )  const [inline]

Definition at line 103 of file UT_Stratify.h.

fpreal UT_Stratify::getVInc (  )  const [inline]

Definition at line 106 of file UT_Stratify.h.

int UT_Stratify::getVSize (  )  const [inline]

Definition at line 104 of file UT_Stratify.h.

void UT_Stratify::init ( unsigned int  total_samples,
fpreal  uweight = 1 
)

int UT_Stratify::isStratifiedSample (  )  const [inline]

Definition at line 108 of file UT_Stratify.h.

void UT_Stratify::nextSample (  )  [inline]

Definition at line 58 of file UT_Stratify.h.

void UT_Stratify::reset ( void   )  [inline]

Definition at line 51 of file UT_Stratify.h.

void UT_Stratify::setSample ( unsigned int  sample_number  )  [inline]

Definition at line 74 of file UT_Stratify.h.

void UT_Stratify::stratify ( fpreal64 u,
fpreal64 v 
) [inline]

Definition at line 95 of file UT_Stratify.h.

void UT_Stratify::stratify ( fpreal32 u,
fpreal32 v 
) [inline]

Definition at line 87 of file UT_Stratify.h.

static void UT_Stratify::weightedFactor ( unsigned int  total_samples,
fpreal  uweight,
int &  usize,
int &  vsize,
bool  exact = false 
) [static]


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

Generated on Fri May 25 00:10:55 2012 for HDK by  doxygen 1.5.9