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 | List of all members
RayGeneratorCameraPerspective Class Reference
Inheritance diagram for RayGeneratorCameraPerspective:
RayGeneratorCamera

Public Types

typedef void(* GetLensSampleCallback )(const RayGeneratorCameraPerspective &, const ImageSample< double > &, GMathVec2d &)
 

Public Member Functions

 RayGeneratorCameraPerspective (CameraPerspectiveEnums::FitMode fit_mode)
 
void set_horizontal_field_of_view (const double &fov, const double &focal_length=0.05, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_vertical_field_of_view (const double &fov, const double &focal_length=0.05, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_field_of_view (const double &horizontal_fov, const double &vertical_fov, const double &focal_length=0.05, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_shape (const double &film_width, const double &film_height, const double &focal_length, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_shape (const RaygeneratorPerspectiveShape< double > &shape, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_shape (const CtxMotionBlur &motion_blur, const GMathTimeSampling &time_sampling, const RaygeneratorPerspectiveShape< double > *shape_samples, const double &f_stop=0.0, const double &focus_distance=0.0)
 
void set_offset (const double &horizontal_offset, const double &vertical_offset)
 
void set_lens_sample_callback (GetLensSampleCallback callback)
 
CameraPerspectiveEnums::FitMode get_perspective_fit_mode () const
 
double get_focal_length () const
 
double get_f_stop () const
 
double get_focus_distance () const
 
double get_film_offset_x () const
 
double get_film_offset_y () const
 
- Public Member Functions inherited from RayGeneratorCamera
void set_ray_type (const GMathRay<>::Type &type)
 
void set_camera (const GMathMatrix4x4d &camera_xform)
 
void set_camera (const GMathMatrix4x4d &camera_xform, const GMathMatrix4x4d &camera_inv_xform, const CtxMotionBlur *motion_blur=0, const GMathMatrix4x4d *camera_motion_xforms=0)
 
const unsigned int & get_pixel_sample_count () const
 
const unsigned int & get_sampling_dimension_offset () const
 
const unsigned int & get_sampling_dimension_count () const
 
const GMathMatrix4x4d & get_camera_static_xform () const
 
const GMathMatrix4x4d & get_camera_static_inv_xform () const
 
const GMathMatrix4x4d & get_camera_motion_xform (const unsigned int &index) const
 
void init (const double &aspect_ratio, const double &sample_size_x, const double &sample_size_y, const unsigned int &pixel_sample_count, const unsigned int &sampling_dimension_offset=0)
 
void init (const unsigned int &image_width, const unsigned int &image_height, const unsigned int &pixel_sample_count_x, const unsigned int &pixel_sample_count_y, const double &pixel_sample_quality=0.0, const unsigned int &sampling_dimension_offset=0)
 
unsigned int get_rays (const ImageSample<> *samples, const unsigned int &count, GMathRay<> *rays, unsigned int *indices, double *lengths=0) const
 
bool get_frustum (const GMathVec2d &min, const GMathVec2d &max, GMathFrustum &frustum) const
 

Additional Inherited Members

- Protected Types inherited from RayGeneratorCamera
typedef void(* InitCallback )(RayGeneratorCamera &, const double &, const double &, const double &)
 
typedef unsigned int(* GetRaysCallback )(const RayGeneratorCamera &, const ImageSample<> *, const unsigned int &, GMathRay<> *, unsigned int *)
 
typedef bool(* GetFrustumCallback )(const RayGeneratorCamera &, const GMathVec2d &, const GMathVec2d &, GMathFrustum &)
 
- Protected Member Functions inherited from RayGeneratorCamera
 RayGeneratorCamera (InitCallback init_callback, GetRaysCallback rays_callback, GetFrustumCallback frustum_callback=0)
 
void set_init_callback (InitCallback callback)
 
void set_rays_callback (GetRaysCallback callback)
 
void set_frustum_callback (GetFrustumCallback callback)
 
void set_callbacks (InitCallback init_callback, GetRaysCallback rays_callback, GetFrustumCallback frustum_callback)
 
void set_sampling_dimension_count (const unsigned int &sampling_dimension_count)
 
- Protected Attributes inherited from RayGeneratorCamera
RayGeneratorData< double > m_camera_data