Skip to content

Class RGBCamera

ClassList > RGBCamera

RGB camera class. USer to communicate with all color cameras.

  • #include <camera.h>

Inherits the following classes: Camera

Public Attributes inherited from Camera

See Camera

Type Name
std::shared_ptr< XiAPIWrapper > m_apiWrapper
std::unique_ptr< CameraFamily > * m_cameraFamily

Public Functions

Type Name
virtual int InitializeCamera () override
RGBCamera (std::unique_ptr< CameraFamily > * family, HANDLE * handle)

Public Functions inherited from Camera

See Camera

Type Name
void AutoExposure (bool on) const
A method to control auto exposure settings.
Camera (std::unique_ptr< CameraFamily > * family, HANDLE * handle)
int GetExposure () const
Retrieves the exposure value.
int GetExposureMs () const
Retrieves the exposure time in milliseconds.
virtual int InitializeCamera ()
virtual int InitializeCameraCommonParameters ()
void SetExposure (int exp) const
Sets the exposure value for the camera.
void SetExposureMs (int exp) const
Sets the exposure time in milliseconds.
virtual ~Camera () = default

Protected Attributes inherited from Camera

See Camera

Type Name
HANDLE * m_cameraHandle

Public Functions Documentation

function InitializeCamera

virtual int RGBCamera::InitializeCamera () override

Initializes the camera by setting parameters common to all cameras and also specific values for RGB cameras.

Implements Camera::InitializeCamera


function RGBCamera

inline RGBCamera::RGBCamera (
    std::unique_ptr< CameraFamily > * family,
    HANDLE * handle
) 

Constructor of RGB camera construct

Parameters:

  • family family of the camera to be constructed
  • handle camera handle used for all interactions with it


The documentation for this class was generated from the following file src/camera.h