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)
 
void imageReceived (const cv::Mat &image, const find_object::Header &header, const cv::Mat &depth, float depthConstant)
 

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

◆ Camera()

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

Definition at line 44 of file Camera.cpp.

◆ ~Camera()

find_object::Camera::~Camera ( )
virtual

Definition at line 53 of file Camera.cpp.

Member Function Documentation

◆ finished

void find_object::Camera::finished ( )
signal

◆ getCurrentFrameIndex()

int find_object::Camera::getCurrentFrameIndex ( )

Definition at line 90 of file Camera.cpp.

◆ getPort()

int find_object::Camera::getPort ( )

Definition at line 115 of file Camera.cpp.

◆ getTotalFrames()

int find_object::Camera::getTotalFrames ( )

Definition at line 77 of file Camera.cpp.

◆ imageReceived [1/2]

void find_object::Camera::imageReceived ( const cv::Mat &  image)
signal

◆ imageReceived [2/2]

void find_object::Camera::imageReceived ( const cv::Mat &  image,
const find_object::Header header,
const cv::Mat &  depth,
float  depthConstant 
)
signal

◆ isRunning()

virtual bool find_object::Camera::isRunning ( )
inlinevirtual

Definition at line 50 of file Camera.h.

◆ moveToFrame()

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

Definition at line 103 of file Camera.cpp.

◆ pause()

void find_object::Camera::pause ( )

Definition at line 72 of file Camera.cpp.

◆ start()

bool find_object::Camera::start ( )
virtual

Reimplemented in CameraROS, and CameraROS.

Definition at line 186 of file Camera.cpp.

◆ startTimer()

void find_object::Camera::startTimer ( )
protected

Definition at line 272 of file Camera.cpp.

◆ stop()

void find_object::Camera::stop ( )
virtual

Reimplemented in CameraROS, and CameraROS.

Definition at line 58 of file Camera.cpp.

◆ stopTimer()

void find_object::Camera::stopTimer ( )
protected

Definition at line 278 of file Camera.cpp.

◆ takeImage

void find_object::Camera::takeImage ( )
virtualslot

Definition at line 124 of file Camera.cpp.

◆ updateImageRate

void find_object::Camera::updateImageRate ( )
virtualslot

Definition at line 283 of file Camera.cpp.

Member Data Documentation

◆ cameraTcpServer_

CameraTcpServer* find_object::Camera::cameraTcpServer_
private

Definition at line 76 of file Camera.h.

◆ cameraTimer_

QTimer find_object::Camera::cameraTimer_
private

Definition at line 73 of file Camera.h.

◆ capture_

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

Definition at line 72 of file Camera.h.

◆ currentImageIndex_

unsigned int find_object::Camera::currentImageIndex_
private

Definition at line 75 of file Camera.h.

◆ images_

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

Definition at line 74 of file Camera.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:20:10