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

Static Public Member Functions

template<typename REAL = double>
static void init_ray_generator_perspective_data (RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_static_depth_of_field (const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_horizontal_field_of_view (const REAL &fov, const REAL &focal_length, const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_vertical_field_of_view (const REAL &fov, const REAL &focal_length, const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_field_of_view (const REAL &horizontal_fov, const REAL &vertical_fov, const REAL &focal_length, const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_shape (const REAL &film_width, const REAL &film_height, const REAL &focal_length, const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_shape (const RaygeneratorPerspectiveShape< REAL > &shape, const REAL &f_stop, const REAL &focus_distance, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void set_offset (const REAL &horizontal_offset, const REAL &vertical_offset, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_depth_of_field (RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_static_horizontal_callback (const REAL &aspect_ratio, const REAL &sample_size_x, const REAL &sample_size_y, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_static_vertical_callback (const REAL &aspect_ratio, const REAL &sample_size_x, const REAL &sample_size_y, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_static_remap_callback (const REAL &aspect_ratio, const REAL &sample_size_x, const REAL &sample_size_y, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_static_fill_callback (const REAL &aspect_ratio, const REAL &sample_size_x, const REAL &sample_size_y, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static void init_motion_callback (const REAL &aspect_ratio, const REAL &sample_size_x, const REAL &sample_size_y, RayGeneratorData< REAL > *camera_data, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL , class SHAPE , class DOF >
static void compute_ray (const RayGeneratorData< REAL > *camera_data, const RayGeneratorPerspectiveData< REAL > *perspective_data, const ImageSample< REAL > &image_sample, const GMathVec2< REAL > &sample_lens, GMathRay< REAL > &ray)
 
template<typename REAL = double>
static void get_lens_sample_callback (const RayGeneratorData< REAL > *data, const ImageSample< REAL > &pixel_sample, GMathVec2< REAL > &sample_lens)
 
template<typename REAL = double>
static void set_shape (const CtxMotionBlur &motion_blur, const GMathTimeSampling &time_sampling, const RaygeneratorPerspectiveShape< REAL > *shape_samples, const REAL &f_stop, const REAL &focus_distance, RayGeneratorPerspectiveData< REAL > *data)
 
template<typename REAL = double>
static bool get_frustum_callback (const RayGeneratorPerspectiveData< REAL > *data, const GMathVec2< REAL > &min, const GMathVec2< REAL > &max, GMathFrustum &frustum)