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
RayGeneratorCone Class Reference
Inheritance diagram for RayGeneratorCone:
RayGenerator

Public Member Functions

 RayGeneratorCone (const GMathRay<>::Type &type, const double &time)
 
void init_uniform (const GMathVec3d &origin, const double &spot_size, const double &cos_half_angle, const double &quality)
 
void init_uniform (const GMathVec3d &origin, const GMathVec3d &direction, const double &spot_size, const double &cos_half_angle, const double &quality)
 
void init_uniform (const GMathVec3d &origin, const GMathMatrix3x3d &frame, const double &spot_size, const double &cos_half_angle, const double &quality)
 
void init_cosine (const GMathVec3d &origin, const double &spot_size, const double &half_angle, const double &quality)
 
void init_cosine (const GMathVec3d &origin, const GMathVec3d &direction, const double &spot_size, const double &half_angle, const double &quality)
 
void init_cosine (const GMathVec3d &origin, const GMathMatrix3x3d &frame, const double &spot_size, const double &half_angle, const double &quality)
 
void init_hemisphere_cosine (const GMathVec3d &origin, const double &spot_size, const double &quality)
 
void init_hemisphere_cosine (const GMathVec3d &origin, const GMathVec3d &direction, const double &spot_size, const double &quality)
 
void init_hemisphere_cosine (const GMathVec3d &origin, const GMathMatrix3x3d &frame, const double &spot_size, const double &quality)
 
void init_sphere_cosine (const GMathVec3d &origin, const double &spot_size, const double &quality)
 
void init_sphere_cosine (const GMathVec3d &origin, const GMathVec3d &direction, const double &spot_size, const double &quality)
 
void init_sphere_cosine (const GMathVec3d &origin, const GMathMatrix3x3d &frame, const double &spot_size, const double &quality)
 
void set_cone_uniform (const double &cos_half_angle, const double &quality)
 
void set_cone_cosine (const double &half_angle, const double &quality)
 
void set_hemisphere_cosine (const double &quality)
 
void set_sphere_cosine (const double &quality)
 
void set_position (const GMathVec3d &origin, const double &spot_size=0.0)
 
void reset_orientation ()
 
void set_orientation (const GMathVec3d &direction)
 
void set_orientation (const GMathMatrix3x3d &frame)
 
void get_mean_ray (GMathRay<> &ray) const
 
const double & get_solid_angle () 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