3DStereoReconstructionApp
StereoCamera Class Reference

The StereoCamera class. More...

#include <stereocamera.h>

Public Member Functions

 StereoCamera ()
 
 StereoCamera (string pathCamLeft, string pathCamRight)
 Creates the paths for the cameras. More...
 
 ~StereoCamera ()
 
VideoCapture getCapLeft () const
 
void setCapLeft (const VideoCapture &value)
 
VideoCapture getCapRight () const
 
void setCapRight (const VideoCapture &value)
 
bool isOpened ()
 Check if the StereoCamera is opened. More...
 

Detailed Description

The StereoCamera class.

use the left and the right camera.

Constructor & Destructor Documentation

◆ StereoCamera() [1/2]

StereoCamera::StereoCamera ( )

◆ StereoCamera() [2/2]

StereoCamera::StereoCamera ( string  pathCamLeft,
string  pathCamRight 
)

Creates the paths for the cameras.

Parameters
pathCamLeftis the path for the Left Camera
pathCamRightis the path for the Rigth Camera
Attention
Run on terminal this command to see the correct paths for the cameras: v4l2-ctl –list-devices

◆ ~StereoCamera()

StereoCamera::~StereoCamera ( )

Member Function Documentation

◆ getCapLeft()

VideoCapture StereoCamera::getCapLeft ( ) const

◆ getCapRight()

VideoCapture StereoCamera::getCapRight ( ) const

◆ isOpened()

bool StereoCamera::isOpened ( )

Check if the StereoCamera is opened.

◆ setCapLeft()

void StereoCamera::setCapLeft ( const VideoCapture &  value)

◆ setCapRight()

void StereoCamera::setCapRight ( const VideoCapture &  value)