HDK
|
#include <UT_PolarSample.h>
Public Member Functions | |
UT_PolarSampleT (const UT_Vector3T< T > &dir) | |
UT_PolarSampleT (const UT_Vector3T< T > &dir, const UT_Vector3T< T > &framex, const UT_Vector3T< T > &framey) | |
UT_PolarSampleT () | |
void | setDirection (const UT_Vector3T< T > &dir) |
void | setDirection (const UT_Vector3T< T > &x, const UT_Vector3T< T > &y, const UT_Vector3T< T > &z, bool normalize=true) |
void | compute (UT_Vector3T< T > &d, T s, T t) const |
void | computeDisk (UT_Vector3T< T > &d, T s, T t) const |
void | computeCosine (UT_Vector3T< T > &d, T s, T t) const |
const UT_Vector3T< T > & | getX () const |
const UT_Vector3T< T > & | getY () const |
const UT_Vector3T< T > & | getZ () const |
Static Public Member Functions | |
static void | computeDisk (T &x, T &y, T s, T t) |
static void | computeDiskInterval (UT_Interval &x, UT_Interval &y, const UT_Interval &s, const UT_Interval &t) |
static void | computeDisk2 (T &x, T &y, T s, T t) |
static void | computeSphere (UT_Vector3T< T > &d, T s, T t) |
static T | getSolidAngle (T theta, bool cosine) |
Definition at line 26 of file UT_PolarSample.h.
UT_PolarSampleT< T >::UT_PolarSampleT | ( | const UT_Vector3T< T > & | dir | ) |
UT_PolarSampleT< T >::UT_PolarSampleT | ( | const UT_Vector3T< T > & | dir, |
const UT_Vector3T< T > & | framex, | ||
const UT_Vector3T< T > & | framey | ||
) |
UT_PolarSampleT< T >::UT_PolarSampleT | ( | ) |
void UT_PolarSampleT< T >::compute | ( | UT_Vector3T< T > & | d, |
T | s, | ||
T | t | ||
) | const |
void UT_PolarSampleT< T >::computeCosine | ( | UT_Vector3T< T > & | d, |
T | s, | ||
T | t | ||
) | const |
void UT_PolarSampleT< T >::computeDisk | ( | UT_Vector3T< T > & | d, |
T | s, | ||
T | t | ||
) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
Definition at line 101 of file UT_PolarSample.h.
|
inline |
Definition at line 102 of file UT_PolarSample.h.
|
inline |
Definition at line 103 of file UT_PolarSample.h.
void UT_PolarSampleT< T >::setDirection | ( | const UT_Vector3T< T > & | dir | ) |
void UT_PolarSampleT< T >::setDirection | ( | const UT_Vector3T< T > & | x, |
const UT_Vector3T< T > & | y, | ||
const UT_Vector3T< T > & | z, | ||
bool | normalize = true |
||
) |