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 | Static Public Member Functions | List of all members
GMathRay< REAL > Class Template Reference
Inheritance diagram for GMathRay< REAL >:
GMathBasicRay< REAL > 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 GMathVec3< REAL > &position, const GMathVec3< REAL > &direction)
 
const REAL & get_time () const
 
void set_time (const REAL &time)
 
const REAL & get_spot_size () const
 
const REAL & get_spot_size_diff () const
 
void set_spot_size (const REAL &size, const REAL &diff)
 
void update_spot_size ()
 
REAL compute_spot_size (const REAL &t) const
 
const Type & get_type () const
 
void set_type (const Type &type)
 
const bool & has_differentials () const
 
const GMathRayDifferential
< REAL > & 
get_differentials () const
 
void set_differentials (const GMathRayDifferential< REAL > &diff)
 
void set_differentials (const GMathRayDifferential< REAL > &diff, const REAL &spot_size, const REAL &spot_size_diff)
 
void reset_differentials (const REAL &spot_size=0.0, const REAL &spot_size_diff=0.0)
 
void reset_depth_of_field ()
 
void set_depth_of_field (const REAL &focus_distance, const REAL &defocus_speed)
 
const REAL & get_focus_distance () const
 
const REAL & get_defocus_speed () const
 
REAL get_defocus_value (const REAL &t) const
 
bool operator== (const GMathRay< REAL > &other) const
 
const CoreClassInfoget_class_info () const
 
- Public Member Functions inherited from GMathBasicRay< REAL >
 GMathBasicRay (const GMathVec3< REAL > &position, const GMathVec3< REAL > &direction)
 
const GMathVec3< REAL > & get_position () const
 
const GMathVec3< REAL > & get_origin () const
 
const GMathVec3< REAL > & get_direction () const
 
const GMathVec3< REAL > & get_inverse_direction () const
 
const bool * get_sign () const
 
GMathVec3< REAL > compute_position (const REAL &t) const
 
REAL compute_t (const GMathVec3< REAL > &position) const
 
void set_position (const GMathVec3< REAL > &position)
 
void set_origin (const GMathVec3< REAL > &origin)
 
void set_direction (const GMathVec3< REAL > &direction)
 
void transform (const GMathBasicRay &src, const GMathMatrix4x4< REAL > &xform)
 
const CoreClassInfoget_class_info () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Static Public Member Functions

static const char * get_type_name (const Type &type)
 
static const CoreClassInfoclass_info ()
 
- Static Public Member Functions inherited from GMathBasicRay< REAL >
static const CoreClassInfoclass_info ()
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Additional Inherited Members

- Protected Attributes inherited from GMathBasicRay< REAL >
GMathVec3< REAL > m_origin
 
GMathVec3< REAL > m_direction
 
GMathVec3< REAL > m_inverse_direction
 
bool m_sign [3]