#include <UT_PolarSample.h>
Public Member Functions | |
| UT_PolarSample (const UT_Vector3 &dir) | |
| UT_PolarSample (const UT_Vector3 &dir, const UT_Vector3 &framex, const UT_Vector3 &framey) | |
| UT_PolarSample () | |
| ~UT_PolarSample () | |
| void | setDirection (const UT_Vector3 &dir) |
| void | setDirection (const UT_Vector3 &x, const UT_Vector3 &y, const UT_Vector3 &z, int normalize=1) |
| void | compute (UT_Vector3 &d, fpreal s, fpreal t) const |
| void | computeDisk (UT_Vector3 &d, fpreal s, fpreal t) const |
| void | computeCosine (UT_Vector3 &d, fpreal s, fpreal t) const |
| const UT_Vector3 & | getX () const |
| const UT_Vector3 & | getY () const |
| const UT_Vector3 & | getZ () const |
Static Public Member Functions | |
| static void | computeDisk (fpreal &x, fpreal &y, fpreal s, fpreal t) |
| static void | computeDiskInterval (UT_Interval &x, UT_Interval &y, const UT_Interval &s, const UT_Interval &t) |
| static void | computeDisk2 (fpreal &x, fpreal &y, fpreal s, fpreal t) |
| static void | computeSphere (UT_Vector3 &d, fpreal s, fpreal t) |
| static fpreal | getSolidAngle (fpreal theta, bool cosine) |
Definition at line 33 of file UT_PolarSample.h.
| UT_PolarSample::UT_PolarSample | ( | const UT_Vector3 & | dir | ) |
| UT_PolarSample::UT_PolarSample | ( | const UT_Vector3 & | dir, | |
| const UT_Vector3 & | framex, | |||
| const UT_Vector3 & | framey | |||
| ) |
| UT_PolarSample::UT_PolarSample | ( | ) |
| UT_PolarSample::~UT_PolarSample | ( | ) | [inline] |
Definition at line 39 of file UT_PolarSample.h.
| void UT_PolarSample::compute | ( | UT_Vector3 & | d, | |
| fpreal | s, | |||
| fpreal | t | |||
| ) | const |
| void UT_PolarSample::computeCosine | ( | UT_Vector3 & | d, | |
| fpreal | s, | |||
| fpreal | t | |||
| ) | const |
| void UT_PolarSample::computeDisk | ( | UT_Vector3 & | d, | |
| fpreal | s, | |||
| fpreal | t | |||
| ) | const |
| static void UT_PolarSample::computeDiskInterval | ( | UT_Interval & | x, | |
| UT_Interval & | y, | |||
| const UT_Interval & | s, | |||
| const UT_Interval & | t | |||
| ) | [static] |
| static void UT_PolarSample::computeSphere | ( | UT_Vector3 & | d, | |
| fpreal | s, | |||
| fpreal | t | |||
| ) | [static] |
| const UT_Vector3& UT_PolarSample::getX | ( | ) | const [inline] |
Definition at line 108 of file UT_PolarSample.h.
| const UT_Vector3& UT_PolarSample::getY | ( | ) | const [inline] |
Definition at line 109 of file UT_PolarSample.h.
| const UT_Vector3& UT_PolarSample::getZ | ( | ) | const [inline] |
Definition at line 110 of file UT_PolarSample.h.
| void UT_PolarSample::setDirection | ( | const UT_Vector3 & | x, | |
| const UT_Vector3 & | y, | |||
| const UT_Vector3 & | z, | |||
| int | normalize = 1 | |||
| ) |
| void UT_PolarSample::setDirection | ( | const UT_Vector3 & | dir | ) |
1.5.9