Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
find_object::Camera Class Reference

#include <Camera.h>

Inheritance diagram for find_object::Camera:
Inheritance graph
[legend]

Public Slots

virtual void takeImage ()
 
virtual void updateImageRate ()
 

Signals

void finished ()
 
void imageReceived (const cv::Mat &image)
 

Public Member Functions

 Camera (QObject *parent=0)
 
int getCurrentFrameIndex ()
 
int getPort ()
 
int getTotalFrames ()
 
virtual bool isRunning ()
 
void moveToFrame (int frame)
 
void pause ()
 
virtual bool start ()
 
virtual void stop ()
 
virtual ~Camera ()
 

Protected Member Functions

void startTimer ()
 
void stopTimer ()
 

Private Attributes

CameraTcpServercameraTcpServer_
 
QTimer cameraTimer_
 
cv::VideoCapture capture_
 
unsigned int currentImageIndex_
 
QList< std::string > images_
 

Detailed Description

Definition at line 42 of file Camera.h.

Constructor & Destructor Documentation

find_object::Camera::Camera ( QObject *  parent = 0)

Definition at line 41 of file Camera.cpp.

find_object::Camera::~Camera ( )
virtual

Definition at line 50 of file Camera.cpp.

Member Function Documentation

void find_object::Camera::finished ( )
signal
int find_object::Camera::getCurrentFrameIndex ( )

Definition at line 87 of file Camera.cpp.

int find_object::Camera::getPort ( )

Definition at line 112 of file Camera.cpp.

int find_object::Camera::getTotalFrames ( )

Definition at line 74 of file Camera.cpp.

void find_object::Camera::imageReceived ( const cv::Mat &  image)
signal
virtual bool find_object::Camera::isRunning ( )
inlinevirtual

Definition at line 50 of file Camera.h.

void find_object::Camera::moveToFrame ( int  frame)

Definition at line 100 of file Camera.cpp.

void find_object::Camera::pause ( )

Definition at line 69 of file Camera.cpp.

bool find_object::Camera::start ( )
virtual

Reimplemented in CameraROS.

Definition at line 183 of file Camera.cpp.

void find_object::Camera::startTimer ( )
protected

Definition at line 269 of file Camera.cpp.

void find_object::Camera::stop ( )
virtual

Reimplemented in CameraROS.

Definition at line 55 of file Camera.cpp.

void find_object::Camera::stopTimer ( )
protected

Definition at line 275 of file Camera.cpp.

void find_object::Camera::takeImage ( )
virtualslot

Definition at line 121 of file Camera.cpp.

void find_object::Camera::updateImageRate ( )
virtualslot

Definition at line 280 of file Camera.cpp.

Member Data Documentation

CameraTcpServer* find_object::Camera::cameraTcpServer_
private

Definition at line 75 of file Camera.h.

QTimer find_object::Camera::cameraTimer_
private

Definition at line 72 of file Camera.h.

cv::VideoCapture find_object::Camera::capture_
private

Definition at line 71 of file Camera.h.

unsigned int find_object::Camera::currentImageIndex_
private

Definition at line 74 of file Camera.h.

QList<std::string> find_object::Camera::images_
private

Definition at line 73 of file Camera.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:26