Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Structure containing all information required to create the camera sensor. More...
#include <CameraSensorDescription.h>
Public Types | |
enum class | CameraChannelType { RGB = 0 , DEPTH = 1 } |
Type of camera channel. | |
Public Member Functions | |
CameraSensorDescription (const AZStd::string &cameraName, const AZStd::string &effectiveNamespace, const CameraSensorConfiguration &configuration, const SensorConfiguration &sensorConfiguration) | |
Public Attributes | |
const CameraSensorConfiguration | m_cameraConfiguration |
Configuration of the camera. | |
const SensorConfiguration | m_sensorConfiguration |
Generic sensor configuration. | |
const AZStd::string | m_cameraName |
Camera name to differentiate cameras in a multi-camera setup. | |
const AZStd::string | m_cameraNamespace |
Effective camera namespace for frames and topics. | |
const AZ::Matrix4x4 | m_viewToClipMatrix |
Camera view to clip space transform matrix; derived from other parameters. | |
const AZ::Matrix3x3 | m_cameraIntrinsics |
Camera intrinsics; derived from other parameters. | |
Structure containing all information required to create the camera sensor.
ROS2::CameraSensorDescription::CameraSensorDescription | ( | const AZStd::string & | cameraName, |
const AZStd::string & | effectiveNamespace, | ||
const CameraSensorConfiguration & | configuration, | ||
const SensorConfiguration & | sensorConfiguration | ||
) |
Constructor to create the description
cameraName | - name of the camera; used to differentiate cameras in a multi-camera setup. |
effectiveNamespace | - namespace for camera frames and topics. |
configuration | - configuration structure for the camera, defining its characteristics. |
sensorConfiguration | - generic configuration for this sensor. |