Open 3D Engine ROS2 Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::CameraCalibrationRequest Class Referenceabstract

Interface allows to obtain intrinsic parameters of the camera. To obtain extrinsic parameters use TransformProviderRequestBus. More...

#include <CameraCalibrationRequestBus.h>

Inherits AZ::EBusTraits.

Public Types

using BusIdType = AZ::EntityId
 

Public Member Functions

virtual AZ::Matrix3x3 GetCameraMatrix () const =0
 
virtual int GetWidth () const =0
 Returns the width of the camera sensor in pixels.
 
virtual int GetHeight () const =0
 Returns the height of the camera sensor in pixels.
 
virtual float GetVerticalFOV () const =0
 Returns the vertical field of view of the camera in degrees.
 

Static Public Attributes

static constexpr AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 

Detailed Description

Interface allows to obtain intrinsic parameters of the camera. To obtain extrinsic parameters use TransformProviderRequestBus.

Member Function Documentation

◆ GetCameraMatrix()

virtual AZ::Matrix3x3 ROS2::CameraCalibrationRequest::GetCameraMatrix ( ) const
pure virtual

Returns the intrinsic calibration matrix of the camera as: [fx 0 cx] [ 0 fy cy] [ 0 0 1] where:

  • fx, fy : the focal lengths in meters
  • cx, cy : principal point in pixels.

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