Public Types | Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::CameraVideo Class Reference

#include <Camera.h>

Inheritance diagram for rtabmap::CameraVideo:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Source { kVideoFile, kUsbDevice }

Public Member Functions

 CameraVideo (int usbDevice=0, float imageRate=0, unsigned int imageWidth=0, unsigned int imageHeight=0)
 CameraVideo (const std::string &filePath, float imageRate=0, unsigned int imageWidth=0, unsigned int imageHeight=0)
const std::string & getFilePath () const
int getUsbDevice () const
virtual bool init ()
virtual ~CameraVideo ()

Protected Member Functions

virtual cv::Mat captureImage ()

Private Attributes

cv::VideoCapture _capture
std::string _filePath
Source _src
int _usbDevice

Detailed Description

Definition at line 131 of file Camera.h.


Member Enumeration Documentation

Enumerator:
kVideoFile 
kUsbDevice 

Definition at line 135 of file Camera.h.


Constructor & Destructor Documentation

rtabmap::CameraVideo::CameraVideo ( int  usbDevice = 0,
float  imageRate = 0,
unsigned int  imageWidth = 0,
unsigned int  imageHeight = 0 
)

Definition at line 338 of file Camera.cpp.

rtabmap::CameraVideo::CameraVideo ( const std::string &  filePath,
float  imageRate = 0,
unsigned int  imageWidth = 0,
unsigned int  imageHeight = 0 
)

Definition at line 349 of file Camera.cpp.

Definition at line 360 of file Camera.cpp.


Member Function Documentation

cv::Mat rtabmap::CameraVideo::captureImage ( ) [protected, virtual]

Implements rtabmap::Camera.

Definition at line 405 of file Camera.cpp.

const std::string& rtabmap::CameraVideo::getFilePath ( ) const [inline]

Definition at line 150 of file Camera.h.

int rtabmap::CameraVideo::getUsbDevice ( ) const [inline]

Definition at line 149 of file Camera.h.

bool rtabmap::CameraVideo::init ( ) [virtual]

Implements rtabmap::Camera.

Definition at line 365 of file Camera.cpp.


Member Data Documentation

cv::VideoCapture rtabmap::CameraVideo::_capture [private]

Definition at line 159 of file Camera.h.

std::string rtabmap::CameraVideo::_filePath [private]

Definition at line 157 of file Camera.h.

Definition at line 160 of file Camera.h.

Definition at line 163 of file Camera.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:43