HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Stratify Class Reference

#include <UT_Stratify.h>

Public Member Functions

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 19 of file UT_Stratify.h.

Member Function Documentation

int UT_Stratify::getStratifiedSize ( ) const
inline

Definition at line 98 of file UT_Stratify.h.

fpreal UT_Stratify::getUInc ( ) const
inline

Definition at line 96 of file UT_Stratify.h.

int UT_Stratify::getUSize ( ) const
inline

Definition at line 94 of file UT_Stratify.h.

fpreal UT_Stratify::getVInc ( ) const
inline

Definition at line 97 of file UT_Stratify.h.

int UT_Stratify::getVSize ( ) const
inline

Definition at line 95 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 99 of file UT_Stratify.h.

void UT_Stratify::nextSample ( )
inline

Definition at line 49 of file UT_Stratify.h.

void UT_Stratify::reset ( void  )
inline

Definition at line 42 of file UT_Stratify.h.

void UT_Stratify::setSample ( unsigned int  sample_number)
inline

Definition at line 65 of file UT_Stratify.h.

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

Definition at line 78 of file UT_Stratify.h.

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

Definition at line 86 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: