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);
60 void imageReceived(
const cv::Mat & image,
const find_object::Header &
header,
const cv::Mat & depth,
float depthConstant);
64 virtual void updateImageRate();
65 virtual void takeImage();
ROSCPP_DECL uint32_t getPort()
unsigned int currentImageIndex_
CameraTcpServer * cameraTcpServer_
cv::VideoCapture capture_
QList< std::string > images_