3DStereoReconstructionApp
stereocamera.h
Go to the documentation of this file.
1#ifndef STEREOCAMERA_H
2#define STEREOCAMERA_H
3#include <opencv2/core.hpp>
4#include <opencv2/videoio.hpp>
5#include <opencv2/highgui.hpp>
6#include <iostream>
7#include <stdio.h>
8
9
10using namespace cv;
11using namespace std;
16{
17private:
18
19 VideoCapture capLeft;
20 VideoCapture capRight;
21public:
22
28 StereoCamera(string pathCamLeft, string pathCamRight);
30
31 //Methods
32
33 VideoCapture getCapLeft() const;
34 void setCapLeft(const VideoCapture &value);
35 VideoCapture getCapRight() const;
36 void setCapRight(const VideoCapture &value);
37
38
40 bool isOpened();
41
42};
43
44#endif // STEREOCAMERA_H
The StereoCamera class.
Definition: stereocamera.h:16
~StereoCamera()
Definition: stereocamera.cpp:27
void setCapLeft(const VideoCapture &value)
Definition: stereocamera.cpp:5
bool isOpened()
Check if the StereoCamera is opened.
Definition: stereocamera.cpp:11
void setCapRight(const VideoCapture &value)
Definition: stereocamera.cpp:9
VideoCapture getCapRight() const
Definition: stereocamera.cpp:7
VideoCapture getCapLeft() const
Definition: stereocamera.cpp:3
StereoCamera()
Definition: stereocamera.cpp:18