|
Blender V5.3
|
Camera data-block and utility functions. More...
Go to the source code of this file.
Classes | |
| struct | blender::CameraParams |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | CAMERA_PARAM_ZOOM_INIT_CAMOB 1.0f |
| #define | CAMERA_PARAM_ZOOM_INIT_PERSP 2.0f |
Functions | |
| float | blender::BKE_camera_object_dof_distance (const struct Object *ob) |
| void | blender::BKE_camera_params_from_object (CameraParams *params, const struct Object *cam_ob) |
| void | blender::BKE_camera_params_from_view3d (CameraParams *params, const struct Depsgraph *depsgraph, const struct View3D *v3d, const struct RegionView3D *rv3d) |
| rctf | blender::BKE_camera_view_border (const struct Scene *scene, const struct Depsgraph *depsgraph, const struct View3D *v3d, const struct RegionView3D *rv3d, int winx, int winy, bool no_shift, bool no_zoom, bool no_roll) |
| bool | blender::BKE_camera_view_render_border (const struct Scene *scene, const struct Depsgraph *depsgraph, const struct View3D *v3d, const struct RegionView3D *rv3d, int winx, int winy, rctf *r_border, rctf *r_unrolled_border) |
| void | blender::BKE_camera_view_frame_ex (const struct Scene *scene, const struct Camera *camera, float drawsize, bool do_clip, const float scale[3], float r_asp[2], float r_shift[2], float *r_drawsize, float r_vec[4][3]) |
| void | blender::BKE_camera_view_frame (const struct Scene *scene, const struct Camera *camera, float r_vec[4][3]) |
| bool | blender::BKE_camera_view_frame_fit_to_scene (struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *camera_ob, float r_co[3], float *r_scale, float *r_clip_start, float *r_clip_end) |
| bool | blender::BKE_camera_view_frame_fit_to_coords (const struct Depsgraph *depsgraph, const float(*cos)[3], int num_cos, struct Object *camera_ob, float r_co[3], float *r_scale) |
| struct Object * | blender::BKE_camera_multiview_render (const Main &bmain, const struct Scene *scene, struct Object *camera, const char *viewname) |
| void | blender::BKE_camera_multiview_view_matrix (const struct RenderData *rd, const struct Object *camera, bool is_left, float r_viewmat[4][4]) |
| void | blender::BKE_camera_multiview_model_matrix (const struct RenderData *rd, const struct Object *camera, const char *viewname, float r_modelmat[4][4]) |
| void | blender::BKE_camera_multiview_model_matrix_scaled (const struct RenderData *rd, const struct Object *camera, const char *viewname, float r_modelmat[4][4]) |
| void | blender::BKE_camera_multiview_window_matrix (const struct RenderData *rd, const struct Object *camera, const char *viewname, float r_winmat[4][4]) |
| float | blender::BKE_camera_multiview_shift_x (const struct RenderData *rd, const struct Object *camera, const char *viewname) |
| void | blender::BKE_camera_multiview_params (const struct RenderData *rd, struct CameraParams *params, const struct Object *camera, const char *viewname) |
| bool | blender::BKE_camera_multiview_spherical_stereo (const struct RenderData *rd, const struct Object *camera) |
| struct CameraBGImage * | blender::BKE_camera_background_image_copy (const struct CameraBGImage *bgpic_src, int flag) |
Camera Usage | |
| struct Camera * | blender::BKE_camera_add (struct Main *bmain, const char *name) |
| int | blender::BKE_camera_sensor_fit (int sensor_fit, float sizex, float sizey) |
| float | blender::BKE_camera_sensor_size (int sensor_fit, float sensor_x, float sensor_y) |
| float2 | blender::BKE_camera_frame_size (float winx, float winy, float frame_aspect) |
Camera Parameter Access | |
| void | blender::BKE_camera_params_init (CameraParams *params) |
| void | blender::BKE_camera_params_compute_viewplane (CameraParams *params, int winx, int winy, float aspx, float aspy) |
| void | blender::BKE_camera_params_crop_viewplane (rctf *viewplane, int winx, int winy, const rcti *region) |
| float2 | blender::BKE_camera_viewplane_offset_transform (float roll, bool is_flipped_x, float2 offset) |
| void | blender::BKE_camera_params_compute_matrix (CameraParams *params) |
Camera Background Image | |
| struct CameraBGImage * | blender::BKE_camera_background_image_new (struct Camera *cam) |
| void | blender::BKE_camera_background_image_remove (struct Camera *cam, struct CameraBGImage *bgpic) |
| void | blender::BKE_camera_background_image_clear (struct Camera *cam) |
Camera data-block and utility functions.
Definition in file BKE_camera.h.
| #define CAMERA_PARAM_ZOOM_INIT_CAMOB 1.0f |
Definition at line 99 of file BKE_camera.h.
Referenced by blender::BKE_camera_params_from_view3d(), and blender::ED_view3d_radius_to_dist().
| #define CAMERA_PARAM_ZOOM_INIT_PERSP 2.0f |
Definition at line 100 of file BKE_camera.h.
Referenced by blender::BKE_camera_params_from_view3d(), and blender::ED_view3d_radius_to_dist().