Blender V2.61 - r43446
Public Member Functions | Public Attributes

Camera Class Reference

#include <DNA_camera_types.h>

List of all members.

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 AnimDataadt
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 Objectdof_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

Detailed Description

Definition at line 47 of file DNA_camera_types.h.


Constructor & Destructor Documentation

CCL_NAMESPACE_BEGIN Camera::Camera ( )
Camera::~Camera ( )

Definition at line 66 of file camera.cpp.


Member Function Documentation

void Camera::device_free ( Device device,
DeviceScene dscene 
)

Definition at line 163 of file camera.cpp.

void Camera::device_update ( Device device,
DeviceScene dscene 
)
bool Camera::modified ( const Camera cam)
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 ( )

Member Data Documentation

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().

Definition at line 45 of file camera.h.

Referenced by blender_camera_sync(), Camera(), device_update(), and modified().

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().

Definition at line 65 of file DNA_camera_types.h.

Definition at line 56 of file DNA_camera_types.h.

Referenced by add_camera(), and drawcamera().

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().

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 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().

Definition at line 56 of file camera.h.

Referenced by Camera(), update(), Session::update_scene(), and xml_read_film().

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 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().

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().

Definition at line 74 of file camera.h.

Referenced by Camera(), tag_update(), update(), xml_read_camera(), and xml_read_film().

Definition at line 48 of file camera.h.

Referenced by blender_camera_sync(), Camera(), device_update(), modified(), update(), and xml_read_camera().

char Camera::pad[7]

Definition at line 70 of file DNA_camera_types.h.

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().

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().

Definition at line 39 of file camera.h.

Referenced by Camera(), device_update(), modified(), and xml_read_camera().

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().

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().

Definition at line 63 of file DNA_camera_types.h.

Referenced by gamecamera_from_bcamera(), and object_camera_dof_distance().


The documentation for this class was generated from the following files: