raisim::CameraIntrinsics
struct · #include <raisim/sensors/CameraLens.hpp>
Pinhole-style camera intrinsics in pixels. Unset values (non-positive focal lengths, NaN principal point) are derived from the image size and horizontal FOV by resolveCameraIntrinsics().
Public member functions
hasExplicitFocalLength
cpp
bool hasExplicitFocalLength() constReturns true if both fx and fy are finite and positive.
hasExplicitPrincipalPoint
cpp
bool hasExplicitPrincipalPoint() constReturns true if both cx and cy are finite.
Public attributes
fx
cpp
double fxHorizontal focal length in pixels (<= 0: derive from hFOV).
fy
cpp
double fyVertical focal length in pixels (<= 0: derive from hFOV).
cx
cpp
double cxPrincipal point x in pixels (NaN: image center).
cy
cpp
double cyPrincipal point y in pixels (NaN: image center).