Blender V2.61 - r43446
|
#include <DNA_camera_types.h>
Public Member Functions | |
Camera () | |
~Camera () | |
void | update () |
void | device_update (Device *device, DeviceScene *dscene) |
void | device_free (Device *device, DeviceScene *dscene) |
bool | modified (const Camera &cam) |
void | tag_update () |
Public Attributes | |
ID | id |
struct AnimData * | adt |
char | type |
char | dtx |
short | flag |
float | passepartalpha |
float | clipsta |
float | clipend |
float | lens |
float | ortho_scale |
float | drawsize |
float | sensor_x |
float | sensor_y |
float | shiftx |
float | shifty |
float | YF_dofdist |
struct Ipo *ipo | DNA_DEPRECATED |
struct Object * | dof_ob |
char | sensor_fit |
char | pad [7] |
float | shutteropen |
float | shutterclose |
float | focaldistance |
float | aperturesize |
uint | blades |
float | bladesrotation |
bool | ortho |
float | fov |
float | nearclip |
float | farclip |
int | width |
int | height |
float | left |
float | right |
float | bottom |
float | top |
Transform | matrix |
Transform | screentoworld |
Transform | rastertoworld |
Transform | ndctoworld |
Transform | rastertocamera |
Transform | cameratoworld |
Transform | worldtoraster |
float3 | dx |
float3 | dy |
bool | need_update |
bool | need_device_update |
Definition at line 47 of file DNA_camera_types.h.
CCL_NAMESPACE_BEGIN Camera::Camera | ( | ) |
Definition at line 26 of file camera.cpp.
References aperturesize, blades, bladesrotation, bottom, cameratoworld, dx, dy, credits_svn_gen::e, farclip, focaldistance, fov, height, left, M_PI_F, make_float3(), matrix, ndctoworld, nearclip, need_device_update, need_update, ortho, rastertocamera, rastertoworld, right, screentoworld, shutterclose, shutteropen, top, transform_identity(), width, and worldtoraster.
Camera::~Camera | ( | ) |
Definition at line 66 of file camera.cpp.
void Camera::device_free | ( | Device * | device, |
DeviceScene * | dscene | ||
) |
Definition at line 163 of file camera.cpp.
void Camera::device_update | ( | Device * | device, |
DeviceScene * | dscene | ||
) |
Definition at line 119 of file camera.cpp.
References aperturesize, KernelCamera::aperturesize, blades, KernelCamera::blades, bladesrotation, KernelCamera::bladesrotation, KernelData::cam, KernelCamera::cameratoworld, cameratoworld, KernelCamera::cliplength, DeviceScene::data, dx, KernelCamera::dx, dy, KernelCamera::dy, farclip, float3_to_float4(), FLT_MAX, KernelCamera::focaldistance, focaldistance, ndctoworld, KernelCamera::ndctoworld, nearclip, KernelCamera::nearclip, need_device_update, ortho, KernelCamera::ortho, rastertocamera, KernelCamera::rastertocamera, KernelCamera::rastertoworld, rastertoworld, KernelCamera::screentoworld, screentoworld, KernelCamera::shutterclose, shutterclose, KernelCamera::shutteropen, shutteropen, transform_inverse(), update(), KernelCamera::worldtocamera, KernelCamera::worldtondc, KernelCamera::worldtoraster, and KernelCamera::worldtoscreen.
bool Camera::modified | ( | const Camera & | cam | ) |
Definition at line 168 of file camera.cpp.
References aperturesize, blades, bladesrotation, bottom, farclip, focaldistance, fov, left, matrix, nearclip, ortho, right, shutterclose, shutteropen, and top.
Referenced by blender_camera_sync().
void Camera::tag_update | ( | ) |
Definition at line 190 of file camera.cpp.
References need_update.
Referenced by blender_camera_sync(), and Session::update_scene().
void Camera::update | ( | ) |
Definition at line 70 of file camera.cpp.
References bottom, cameratoworld, dx, dy, farclip, fov, height, left, make_float3(), matrix, ndctoworld, nearclip, need_device_update, need_update, ortho, rastertocamera, rastertoworld, right, screentoworld, top, transform(), transform_direction(), transform_inverse(), transform_orthographic(), transform_perspective(), transform_scale(), transform_translate(), width, and worldtoraster.
Referenced by device_update(), xml_read_camera(), and xml_read_film().
struct AnimData* Camera::adt |
Definition at line 49 of file DNA_camera_types.h.
Referenced by acf_dscam_setting_ptr(), BL_ConvertCameraIpos(), direct_link_camera(), expand_camera(), lib_link_camera(), make_new_animlistelem(), outliner_add_id_contents(), AnimationImporter::translate_Animations(), and write_cameras().
float Camera::aperturesize |
Definition at line 43 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), modified(), and xml_read_camera().
Definition at line 44 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), and modified().
float Camera::bladesrotation |
Definition at line 45 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), and modified().
float Camera::bottom |
Definition at line 57 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_film().
Definition at line 67 of file camera.h.
Referenced by Camera(), device_update(), and update().
float Camera::clipend |
Definition at line 55 of file DNA_camera_types.h.
Referenced by add_camera(), BL_CreateCameraIPO(), camera_params_from_object(), drawcamera(), gamecamera_from_bcamera(), CamerasExporter::operator()(), RE_make_stars(), and uvprojectModifier_do().
float Camera::clipsta |
Definition at line 55 of file DNA_camera_types.h.
Referenced by add_camera(), BL_CreateCameraIPO(), camera_params_from_object(), camera_view_frame_ex(), drawcamera(), gamecamera_from_bcamera(), CamerasExporter::operator()(), and uvprojectModifier_do().
struct Ipo* ipo Camera::DNA_DEPRECATED |
Definition at line 65 of file DNA_camera_types.h.
struct Object* Camera::dof_ob |
Definition at line 67 of file DNA_camera_types.h.
Referenced by build_dag_object(), copy_camera(), lib_link_camera(), object_camera_dof_distance(), and unlink_object().
float Camera::drawsize |
Definition at line 56 of file DNA_camera_types.h.
Referenced by add_camera(), and drawcamera().
char Camera::dtx |
Definition at line 52 of file DNA_camera_types.h.
Referenced by drawviewborder().
Definition at line 70 of file camera.h.
Referenced by Camera(), device_update(), and update().
Definition at line 71 of file camera.h.
Referenced by Camera(), device_update(), and update().
float Camera::farclip |
Definition at line 53 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), modified(), update(), and xml_read_camera().
short Camera::flag |
Definition at line 53 of file DNA_camera_types.h.
Referenced by acf_dscam_setting_ptr(), add_camera(), do_versions(), drawcamera(), drawviewborder(), object_camera_mode(), project_camera_info(), and uvprojectModifier_do().
float Camera::focaldistance |
Definition at line 42 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), modified(), and xml_read_camera().
float Camera::fov |
Definition at line 49 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_camera().
int Camera::height |
Definition at line 56 of file camera.h.
Referenced by Camera(), update(), Session::update_scene(), and xml_read_film().
Definition at line 48 of file DNA_camera_types.h.
Referenced by copy_camera(), DocumentImporter::create_camera_object(), do_versions(), do_versions_ipos_to_animato(), gamecamera_from_bcamera(), lib_link_camera(), make_local_camera(), AnimationImporter::translate_Animations(), unlink_object(), and write_cameras().
float Camera::left |
Definition at line 57 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_film().
float Camera::lens |
Definition at line 56 of file DNA_camera_types.h.
Referenced by add_camera(), BKE_tracking_camera_to_blender(), BL_CreateCameraIPO(), camera_params_from_object(), camera_view_frame_ex(), defocus_blur(), do_versions(), gamecamera_from_bcamera(), CamerasExporter::operator()(), project_camera_info(), and uvprojectModifier_do().
Definition at line 60 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_camera().
Definition at line 65 of file camera.h.
Referenced by Camera(), device_update(), and update().
float Camera::nearclip |
Definition at line 52 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), modified(), update(), and xml_read_camera().
Definition at line 75 of file camera.h.
Referenced by Camera(), device_update(), and update().
bool Camera::need_update |
Definition at line 74 of file camera.h.
Referenced by Camera(), tag_update(), update(), xml_read_camera(), and xml_read_film().
bool Camera::ortho |
Definition at line 48 of file camera.h.
Referenced by blender_camera_sync(), Camera(), device_update(), modified(), update(), and xml_read_camera().
float Camera::ortho_scale |
Definition at line 56 of file DNA_camera_types.h.
Referenced by add_camera(), camera_params_from_object(), camera_view_frame_ex(), do_versions(), gamecamera_from_bcamera(), CamerasExporter::operator()(), project_camera_info(), and uvprojectModifier_do().
char Camera::pad[7] |
Definition at line 70 of file DNA_camera_types.h.
float Camera::passepartalpha |
Definition at line 54 of file DNA_camera_types.h.
Referenced by add_camera(), do_versions(), and drawviewborder().
Definition at line 66 of file camera.h.
Referenced by Camera(), device_update(), and update().
Definition at line 64 of file camera.h.
Referenced by Camera(), device_update(), and update().
float Camera::right |
Definition at line 57 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_film().
Definition at line 63 of file camera.h.
Referenced by Camera(), device_update(), and update().
char Camera::sensor_fit |
Definition at line 69 of file DNA_camera_types.h.
Referenced by BKE_tracking_camera_to_blender(), camera_params_from_object(), camera_view_frame_ex(), drawviewborder(), gamecamera_from_bcamera(), and uvprojectModifier_do().
float Camera::sensor_x |
Definition at line 57 of file DNA_camera_types.h.
Referenced by add_camera(), BKE_tracking_camera_to_blender(), camera_params_from_object(), camera_view_frame_ex(), do_versions(), drawviewborder(), gamecamera_from_bcamera(), CamerasExporter::operator()(), project_camera_info(), and uvprojectModifier_do().
float Camera::sensor_y |
Definition at line 57 of file DNA_camera_types.h.
Referenced by add_camera(), camera_params_from_object(), camera_view_frame_ex(), do_versions(), drawviewborder(), gamecamera_from_bcamera(), and uvprojectModifier_do().
float Camera::shiftx |
Definition at line 58 of file DNA_camera_types.h.
Referenced by BKE_tracking_camera_to_blender(), camera_params_from_object(), camera_view_frame_ex(), project_camera_info(), and uvprojectModifier_do().
float Camera::shifty |
Definition at line 58 of file DNA_camera_types.h.
Referenced by BKE_tracking_camera_to_blender(), camera_params_from_object(), camera_view_frame_ex(), project_camera_info(), and uvprojectModifier_do().
float Camera::shutterclose |
Definition at line 39 of file camera.h.
Referenced by Camera(), device_update(), modified(), and xml_read_camera().
float Camera::shutteropen |
Definition at line 38 of file camera.h.
Referenced by Camera(), device_update(), modified(), and xml_read_camera().
float Camera::top |
Definition at line 57 of file camera.h.
Referenced by blender_camera_sync(), Camera(), modified(), update(), and xml_read_film().
char Camera::type |
Definition at line 51 of file DNA_camera_types.h.
Referenced by camera_params_from_object(), camera_view_frame_ex(), do_versions(), gamecamera_from_bcamera(), object_camera_mode(), CamerasExporter::operator()(), project_camera_info(), uvprojectModifier_do(), and view3d_get_name().
int Camera::width |
Definition at line 56 of file camera.h.
Referenced by Camera(), update(), Session::update_scene(), and xml_read_film().
Definition at line 68 of file camera.h.
Referenced by Camera(), QuadDice::eval_projected(), DiagSplit::project(), and update().
float Camera::YF_dofdist |
Definition at line 63 of file DNA_camera_types.h.
Referenced by gamecamera_from_bcamera(), and object_camera_dof_distance().