Clarisse 4.0 SP5b SDK  4.0.0.0.5.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
GMathRay Class Reference
Inheritance diagram for GMathRay:
GMathBasicRay CoreBaseType

Public Types

enum  Type {
  TYPE_CAMERA,
  TYPE_SHADOW,
  TYPE_GI,
  TYPE_REFLECTION,
  TYPE_REFRACTION,
  TYPE_SSS,
  TYPE_PREVIZ,
  TYPE_BAKING,
  TYPE_COUNT
}
 

Public Member Functions

 GMathRay (const GMathVec3d &position, const GMathVec3d &direction)
 
const double & get_time () const
 
void set_time (const double &time)
 
const double & get_spot_size () const
 
const double & get_spot_size_diff () const
 
void set_spot_size (const double &size, const double &diff)
 
void update_spot_size ()
 
double compute_spot_size (const double &t) const
 
const Type & get_type () const
 
void set_type (const Type &type)
 
const bool & has_differentials () const
 
const GMathRayDifferentialget_differentials () const
 
void set_differentials (const GMathRayDifferential &diff)
 
void set_differentials (const GMathRayDifferential &diff, const double &spot_size, const double &spot_size_diff)
 
void reset_differentials (const double &spot_size=0.0, const double &spot_size_diff=0.0)
 
void reset_depth_of_field ()
 
void set_depth_of_field (const double &focus_distance, const double &defocus_speed)
 
const double & get_focus_distance () const
 
const double & get_defocus_speed () const
 
double get_defocus_value (const double &t) const
 
- Public Member Functions inherited from GMathBasicRay
 GMathBasicRay (const GMathVec3d &position, const GMathVec3d &direction)
 
const GMathVec3d & get_position () const
 
const GMathVec3d & get_origin () const
 
const GMathVec3d & get_direction () const
 
const GMathVec3d & get_inverse_direction () const
 
const bool * get_sign () const
 
GMathVec3d compute_position (const double &t) const
 
double compute_t (const GMathVec3d &position) const
 
void set_position (const GMathVec3d &position)
 
void set_origin (const GMathVec3d &origin)
 
void set_direction (const GMathVec3d &direction)
 
void transform (const GMathBasicRay &src, const GMathMatrix4x4d &xform)
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 
bool operator== (const CoreBaseType &obj) const
 

Static Public Member Functions

static const char * get_type_name (const Type &type)