Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_tracking_types.h
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | typedef struct MovieTrackingCamera { | ||||
| float sensor_width; | float sensor_width; | ||||
| /** Pixel aspect ratio. */ | /** Pixel aspect ratio. */ | ||||
| float pixel_aspect; | float pixel_aspect; | ||||
| /** Focal length. */ | /** Focal length. */ | ||||
| float focal; | float focal; | ||||
| /** Units of focal length user is working with. */ | /** Units of focal length user is working with. */ | ||||
| short units; | short units; | ||||
| char _pad1[2]; | char _pad1[2]; | ||||
| /** Principal point. */ | |||||
| float principal[2]; | /* Principal point (optical center) stored in normalized coordinates. | ||||
| * | |||||
| * The normalized space stores principal point relative to the frame center which has normalized | |||||
| * princibal coordinate of (0, 0). The right top corder of the frame corresponds to a notmalized | |||||
| * principal coordinate of (1, 1), and the left bottom cornder corresponds to coordinate of | |||||
| * (-1, -1). */ | |||||
| float principal_point[2]; | |||||
| /** Legacy principal point in pixel space. */ | |||||
| float principal_legacy[2]; | |||||
| /* Polynomial distortion */ | /* Polynomial distortion */ | ||||
| /** Polynomial radial distortion. */ | /** Polynomial radial distortion. */ | ||||
| float k1, k2, k3; | float k1, k2, k3; | ||||
| /* Division distortion model coefficients */ | /* Division distortion model coefficients */ | ||||
| float division_k1, division_k2; | float division_k1, division_k2; | ||||
| ▲ Show 20 Lines • Show All 562 Lines • Show Last 20 Lines | |||||