Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
IESAngularEmission Class Reference

Public Types

enum  Type
 

Public Member Functions

void init (const OfObject &object)
 
double evaluate (const GMathVec3d &local_light_dir) const
 Evaluates the angular ies.
 
Type get_type () const
 
double get_spot_half_angle () const
 
double get_spot_half_angle_cosine () const
 
double get_spot_half_angle_tangent () const
 
double get_spot_softness () const
 
void enable_ies (bool is_enabled)
 
double get_ies_half_angle () const
 
bool is_axially_symmetric () const
 

Detailed Description

AngularEmission template class.

Member Function Documentation

void IESAngularEmission::enable_ies ( bool  is_enabled)
inline

enable_ies Set weither or not we will compute the ies

double IESAngularEmission::evaluate ( const GMathVec3d &  local_light_dir) const
inline

Evaluates the angular ies.

The given local_light_dir is the light direction in light space from the light to the surface point.

double IESAngularEmission::get_ies_half_angle ( ) const
inline

get_ies_half_angle Returns the half-angle of the ies cone.

double IESAngularEmission::get_spot_half_angle ( ) const
inline

get_spot_half_angle Returns the half-angle of the spot cone.

double IESAngularEmission::get_spot_half_angle_cosine ( ) const
inline

get_spot_half_angle_cosine Returns the cosine of the half-angle of the spot cone.

double IESAngularEmission::get_spot_half_angle_tangent ( ) const
inline

get_spot_half_angle_tangent Returns the tangent of the half-angle of the spot cone.

double IESAngularEmission::get_spot_softness ( ) const
inline

get_spot_softness Returns the softness of the spot falloff.

Type IESAngularEmission::get_type ( ) const
inline

get_type Returns the type of angular emission.

void IESAngularEmission::init ( const OfObject object)
inline

init Initializes ies angular emission. Grab all the UI parameters, pre-computed the cone angles and call the initialization on the IES struct.

bool IESAngularEmission::is_axially_symmetric ( ) const
inline

is_axially_symmetric Returns whether the ies data is axially symmetric.