HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PolarSampleT< T > Class Template Reference

#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)
 

Detailed Description

template<typename T>
class UT_PolarSampleT< T >

Definition at line 26 of file UT_PolarSample.h.

Constructor & Destructor Documentation

template<typename T >
UT_PolarSampleT< T >::UT_PolarSampleT ( const UT_Vector3T< T > &  dir)
template<typename T >
UT_PolarSampleT< T >::UT_PolarSampleT ( const UT_Vector3T< T > &  dir,
const UT_Vector3T< T > &  framex,
const UT_Vector3T< T > &  framey 
)
template<typename T >
UT_PolarSampleT< T >::UT_PolarSampleT ( )

Member Function Documentation

template<typename T >
void UT_PolarSampleT< T >::compute ( UT_Vector3T< T > &  d,
T  s,
T  t 
) const
template<typename T >
void UT_PolarSampleT< T >::computeCosine ( UT_Vector3T< T > &  d,
T  s,
T  t 
) const
template<typename T >
void UT_PolarSampleT< T >::computeDisk ( UT_Vector3T< T > &  d,
T  s,
T  t 
) const
template<typename T >
static void UT_PolarSampleT< T >::computeDisk ( T x,
T y,
T  s,
T  t 
)
static
template<typename T >
static void UT_PolarSampleT< T >::computeDisk2 ( T x,
T y,
T  s,
T  t 
)
static
template<typename T >
static void UT_PolarSampleT< T >::computeDiskInterval ( UT_Interval x,
UT_Interval y,
const UT_Interval s,
const UT_Interval t 
)
static
template<typename T >
static void UT_PolarSampleT< T >::computeSphere ( UT_Vector3T< T > &  d,
T  s,
T  t 
)
static
template<typename T >
static T UT_PolarSampleT< T >::getSolidAngle ( T  theta,
bool  cosine 
)
static
template<typename T >
const UT_Vector3T<T>& UT_PolarSampleT< T >::getX ( ) const
inline

Definition at line 101 of file UT_PolarSample.h.

template<typename T >
const UT_Vector3T<T>& UT_PolarSampleT< T >::getY ( ) const
inline

Definition at line 102 of file UT_PolarSample.h.

template<typename T >
const UT_Vector3T<T>& UT_PolarSampleT< T >::getZ ( ) const
inline

Definition at line 103 of file UT_PolarSample.h.

template<typename T >
void UT_PolarSampleT< T >::setDirection ( const UT_Vector3T< T > &  dir)
template<typename T >
void UT_PolarSampleT< T >::setDirection ( const UT_Vector3T< T > &  x,
const UT_Vector3T< T > &  y,
const UT_Vector3T< T > &  z,
bool  normalize = true 
)

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