Blender V5.0
FisheyeEquisolid Struct Reference

Inherits CommonValues.

Public Member Functions

bool skip_invalid () const override
 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 (const float3 &dir, const float fov, const float width, const float height)
static float3 sensor_to_direction (const float2 &sensor, const float fov, const float width, const float height)

Static Public Attributes

static constexpr float lens = 15.0f

Detailed Description

Definition at line 292 of file kernel_camera_projection_test.cpp.

Member Function Documentation

◆ direction_to_sensor()

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

Definition at line 300 of file kernel_camera_projection_test.cpp.

References direction_to_fisheye_equisolid(), and lens.

◆ sensor_to_direction()

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

◆ skip_invalid()

bool FisheyeEquisolid::skip_invalid ( ) const
inlineoverridevirtual

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

Returns

Reimplemented from CommonValues.

Definition at line 293 of file kernel_camera_projection_test.cpp.

Member Data Documentation

◆ lens

float FisheyeEquisolid::lens = 15.0f
staticconstexpr

Definition at line 298 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: