33 #include <opencv2/highgui/highgui.hpp> 34 #include <QtCore/QObject> 35 #include <QtCore/QTimer> 36 #include <QtGui/QImage> 45 Camera(QObject * parent = 0);
50 virtual bool isRunning() {
return cameraTimer_.isActive();}
54 int getCurrentFrameIndex();
56 void moveToFrame(
int frame);
59 void imageReceived(
const cv::Mat & image);
63 virtual void updateImageRate();
64 virtual void takeImage();
ROSCPP_DECL uint32_t getPort()
unsigned int currentImageIndex_
CameraTcpServer * cameraTcpServer_
cv::VideoCapture capture_
QList< std::string > images_