Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
RayGeneratorRefraction Class Reference
Inheritance diagram for RayGeneratorRefraction:
RayGenerator

Public Member Functions

void init (const GMathRay<> &ray, const GMathVec3d &shading_position, const GMathMatrix3x3d &shading_frame, const GMathVec3d &fragment_normal, const GeometryDifferential &fragment_diff, const float &glossiness, const float &anisotropy, const GMathVec2f &anisotropy_direction, const float &ior, const float &quality_x, const float &quality_y)
 
void compute_ray (const GMathVec3d &normal, GMathRay<> &ray) const
 
- Public Member Functions inherited from RayGenerator
bool get_ray (const GMathVec2d &sample, GMathRay<> &ray) const
 
bool get_ray (const GMathVec2d &sample, GMathRay<> &ray, double &distance) const
 
unsigned int get_rays (const GMathVec2d *samples, const unsigned int &sample_count, GMathRay<> *rays, unsigned int *indices, double *distances=0) const
 
unsigned int get_rays_dn (const GMathVec2d *samples, const unsigned int &sample_count, GMathRay<> *rays) const
 
bool get_ray_dn (const GMathVec2d &sample, GMathRay<> &ray) const
 
bool get_frustum (const GMathVec2d &min, const GMathVec2d &max, GMathFrustum &frustum) const
 

Additional Inherited Members

- Protected Types inherited from RayGenerator
typedef unsigned int(* GetRaysCallback )(const RayGenerator &, const GMathVec2d *, const unsigned int &, GMathRay<> *, unsigned int *, double *)
 
typedef unsigned int(* GetRaysDnCallback )(const RayGenerator &, const GMathVec2d *, const unsigned int &, GMathRay<> *)
 
typedef bool(* GetFrustumCallback )(const RayGenerator &, const GMathVec2d &, const GMathVec2d &, GMathFrustum &)
 
- Protected Member Functions inherited from RayGenerator
 RayGenerator (GetRaysCallback rays_callback, GetFrustumCallback frustum_callback=0)
 
 RayGenerator (GetRaysCallback rays_callback, GetRaysDnCallback rays_dn_callback, GetFrustumCallback frustum_callback=0)
 
void set_rays_callback (GetRaysCallback callback)
 
void set_rays_dn_callback (GetRaysDnCallback callback)
 
void set_frustum_callback (GetFrustumCallback callback)
 
void set_callbacks (GetRaysCallback rays_callback, GetFrustumCallback frustum_callback)
 
GetRaysCallback get_rays_callback () const
 
GetFrustumCallback get_frustum_callback () const