Blender V4.3
FisheyeEquisolid Struct Reference

Inherits CommonValues.

Public Member Functions

bool skip_invalid () const
 If skip_invalid returns true, invalid unprojections are ignored in the test.
Public Member Functions inherited from CommonValues
virtual double threshold () const
 Threshold for the reprojection error.

Static Public Member Functions

static float2 direction_to_sensor (float3 const &dir, float const fov, float const width, float const height)
static float3 sensor_to_direction (float2 const &sensor, float const fov, float const width, float const height)

Static Public Attributes

static constexpr float lens = 15.0f

Detailed Description

Definition at line 298 of file kernel_camera_projection_test.cpp.

Member Function Documentation

◆ direction_to_sensor()

float2 FisheyeEquisolid::direction_to_sensor ( float3 const & dir,
float const fov,
float const width,
float const height )
inlinestatic

Definition at line 306 of file kernel_camera_projection_test.cpp.

References direction_to_fisheye_equisolid(), and lens.

◆ sensor_to_direction()

float3 FisheyeEquisolid::sensor_to_direction ( float2 const & sensor,
float const fov,
float const width,
float const height )
inlinestatic

◆ skip_invalid()

bool FisheyeEquisolid::skip_invalid ( ) const
inlinevirtual

If skip_invalid returns true, invalid unprojections are ignored in the test.

Returns

Reimplemented from CommonValues.

Definition at line 299 of file kernel_camera_projection_test.cpp.

Member Data Documentation

◆ lens

float FisheyeEquisolid::lens = 15.0f
staticconstexpr

Definition at line 304 of file kernel_camera_projection_test.cpp.

Referenced by direction_to_sensor(), and sensor_to_direction().


The documentation for this struct was generated from the following file: