1 #ifndef MF_DEPTH_PROJECTION_PARAMETERS_H_
2 #define MF_DEPTH_PROJECTION_PARAMETERS_H_
depth_range
Definition: depth_projection_parameters.h:13
float real
Real number type.
Definition: common.h:48
Parameters of Z to depth projection.
Definition: depth_projection_parameters.h:12
real depth_max() const
Definition: depth_projection_parameters.h:27
Depths of points within frustum are in [0, 1] (DirectX convention).
Definition: depth_projection_parameters.h:15
depth_range range
Specifies range of depth values for points in frustum.
Definition: depth_projection_parameters.h:21
Depths of points within frustum are in [-1, +1] (OpenGL convention).
Definition: depth_projection_parameters.h:14
real depth_min() const
Definition: depth_projection_parameters.h:26
real z_near
Unsigned Z distance of near clipping plane to camera.
Definition: depth_projection_parameters.h:19
Definition: depth_projection_parameters.h:16
bool valid() const
Definition: depth_projection_parameters.cc:5
real z_far
Unsigned Z distance of far clipping plane to camera.
Definition: depth_projection_parameters.h:20
bool flip_z
Whether Z axis needs to be reversed, i.e. -Z direction maps to positive depth.
Definition: depth_projection_parameters.h:22