|
Blender V4.3
|
#include "util/transform.h"Go to the source code of this file.
Classes | |
| struct | ProjectionTransform |
| struct | PerspectiveMotionTransform |
Typedefs | |
| typedef CCL_NAMESPACE_BEGIN struct ProjectionTransform | ProjectionTransform |
| typedef struct PerspectiveMotionTransform | PerspectiveMotionTransform |
| typedef struct PerspectiveMotionTransform PerspectiveMotionTransform |
| typedef CCL_NAMESPACE_BEGIN struct ProjectionTransform ProjectionTransform |
| ccl_device_inline ProjectionTransform make_projection | ( | float | a, |
| float | b, | ||
| float | c, | ||
| float | d, | ||
| float | e, | ||
| float | f, | ||
| float | g, | ||
| float | h, | ||
| float | i, | ||
| float | j, | ||
| float | k, | ||
| float | l, | ||
| float | m, | ||
| float | n, | ||
| float | o, | ||
| float | p ) |
Definition at line 88 of file cycles/util/projection.h.
References b, e, l, ProjectionTransform::w, ProjectionTransform::x, ProjectionTransform::y, and ProjectionTransform::z.
Referenced by projection_identity(), and projection_perspective().
| ccl_device_inline ProjectionTransform operator* | ( | const ProjectionTransform & | a, |
| const ProjectionTransform & | b ) |
Definition at line 146 of file cycles/util/projection.h.
References b, dot(), make_float4(), projection_transpose(), ProjectionTransform::w, ProjectionTransform::x, ProjectionTransform::y, and ProjectionTransform::z.
| ccl_device_inline ProjectionTransform operator* | ( | const ProjectionTransform & | a, |
| const Transform & | b ) |
Definition at line 160 of file cycles/util/projection.h.
References b.
| ccl_device_inline ProjectionTransform operator* | ( | const Transform & | a, |
| const ProjectionTransform & | b ) |
Definition at line 165 of file cycles/util/projection.h.
References b.
| ccl_device_inline void print_projection | ( | const char * | label, |
| const ProjectionTransform & | t ) |
Definition at line 170 of file cycles/util/projection.h.
References label, print_float4(), printf, ProjectionTransform::w, ProjectionTransform::x, ProjectionTransform::y, and ProjectionTransform::z.
| ccl_device_inline ProjectionTransform projection_identity | ( | ) |
Definition at line 126 of file cycles/util/projection.h.
References make_projection().
Referenced by Camera::Camera(), and projection_inverse().
| ProjectionTransform projection_inverse | ( | const ProjectionTransform & | a | ) |
Definition at line 98 of file transform.cpp.
References M, projection_identity(), projection_matrix4_inverse(), R, UNLIKELY, and ProjectionTransform::x.
| ccl_device_inline ProjectionTransform projection_orthographic | ( | float | znear, |
| float | zfar ) |
Definition at line 191 of file cycles/util/projection.h.
References transform_scale().
| ccl_device_inline ProjectionTransform projection_perspective | ( | float | fov, |
| float | n, | ||
| float | f ) |
Definition at line 179 of file cycles/util/projection.h.
References make_projection(), tanf, and transform_scale().
| ccl_device_inline Transform projection_to_transform | ( | const ProjectionTransform & | a | ) |
Definition at line 56 of file cycles/util/projection.h.
References Transform::x.
Referenced by get_transform(), transform_transposed_inverse(), and xml_read_transform().
| ccl_device_inline ProjectionTransform projection_transpose | ( | const ProjectionTransform & | a | ) |
Definition at line 62 of file cycles/util/projection.h.
References ProjectionTransform::w, ProjectionTransform::x, ProjectionTransform::y, and ProjectionTransform::z.
Referenced by copy_matrix(), copy_matrix(), get_transform(), operator*(), transform_transposed_inverse(), and xml_read_transform().
| ccl_device_inline float3 transform_perspective | ( | ccl_private const ProjectionTransform * | t, |
| const float3 | a ) |
Definition at line 34 of file cycles/util/projection.h.
References b, dot(), make_float3(), make_float4(), w(), and zero_float3().
Referenced by camera_panorama_direction(), camera_sample_orthographic(), camera_sample_perspective(), camera_world_to_ndc(), QuadDice::eval_projected(), primitive_motion_vector(), and Camera::world_to_raster_size().
| ccl_device_inline float3 transform_perspective_direction | ( | ccl_private const ProjectionTransform * | t, |
| const float3 | a ) |
Definition at line 44 of file cycles/util/projection.h.
References make_float3().