#include <imi_Device.h>
Public Member Functions | |
int | closeDevice () |
void | convertToCloudPoint (ImiImageFrame *pFrame) |
sensor_msgs::CameraInfoPtr | getDefaultCameraInfo (int width, int height) |
const std::string | getUri () const |
uint16_t | getUsbProductId () const |
uint16_t | getUsbVendorId () const |
bool | hasColorSensor () const |
bool | hasDepthSensor () const |
bool | hasUVCSensor () const |
ImiDevice () | |
bool | isValid () const |
int | openDevice () |
void | setCloudPointCallback (CloudCallbackFunction callback) |
void | setColorFrameCallback (FrameCallbackFunction callback) |
void | setDepthFrameCallback (FrameCallbackFunction callback) |
void | setUVCFrameCallback (FrameCallbackFunction callback) |
int | startColorStream (ImiFrameMode colorFrameMode) |
int | startDepthStream (ImiFrameMode depthFrameMode) |
int | startUVCStream (ImiCameraFrameMode uvcframeMode) |
void | stopAllStreams () |
void | stopColorStream () |
void | stopDepthStream () |
void | stopUVCStream () |
virtual | ~ImiDevice () |
Static Public Member Functions | |
static int | readFrame (void *lParam) |
static int | readUVCFrame (void *lParam) |
Private Attributes | |
ImiCameraHandle | camHandle |
CloudCallbackFunction | cloudCallback |
int | color_video_started_ |
FrameCallbackFunction | colorCallback |
ImiStreamHandle | colorHandle |
int | depth_video_started_ |
FrameCallbackFunction | depthCallback |
ImiStreamHandle | depthHandle |
boost::mutex | device_mutex_ |
bool | isDeviceValid |
double | m_cx |
double | m_cy |
double | m_fx |
double | m_fy |
ImiDeviceAttribute * | pDeviceAttr |
ImiDeviceHandle | pImiDevice |
boost::mutex | uvc_mutex_ |
int | uvc_video_started_ |
FrameCallbackFunction | uvcCallback |
Definition at line 27 of file imi_Device.h.
imi_wrapper::ImiDevice::ImiDevice | ( | ) |
Definition at line 19 of file imi_Device.cpp.
|
virtual |
Definition at line 41 of file imi_Device.cpp.
int imi_wrapper::ImiDevice::closeDevice | ( | ) |
Definition at line 318 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::convertToCloudPoint | ( | ImiImageFrame * | pFrame | ) |
Definition at line 105 of file imi_Device.cpp.
sensor_msgs::CameraInfoPtr imi_wrapper::ImiDevice::getDefaultCameraInfo | ( | int | width, |
int | height | ||
) |
Definition at line 346 of file imi_Device.cpp.
const std::string imi_wrapper::ImiDevice::getUri | ( | ) | const |
Definition at line 380 of file imi_Device.cpp.
uint16_t imi_wrapper::ImiDevice::getUsbProductId | ( | ) | const |
Definition at line 400 of file imi_Device.cpp.
uint16_t imi_wrapper::ImiDevice::getUsbVendorId | ( | ) | const |
Definition at line 390 of file imi_Device.cpp.
bool imi_wrapper::ImiDevice::hasColorSensor | ( | ) | const |
Definition at line 415 of file imi_Device.cpp.
bool imi_wrapper::ImiDevice::hasDepthSensor | ( | ) | const |
Definition at line 425 of file imi_Device.cpp.
bool imi_wrapper::ImiDevice::hasUVCSensor | ( | ) | const |
Definition at line 420 of file imi_Device.cpp.
bool imi_wrapper::ImiDevice::isValid | ( | ) | const |
Definition at line 410 of file imi_Device.cpp.
int imi_wrapper::ImiDevice::openDevice | ( | ) |
Definition at line 46 of file imi_Device.cpp.
|
static |
Definition at line 155 of file imi_Device.cpp.
|
static |
Definition at line 258 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::setCloudPointCallback | ( | CloudCallbackFunction | callback | ) |
Definition at line 448 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::setColorFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 430 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::setDepthFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 442 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::setUVCFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 436 of file imi_Device.cpp.
int imi_wrapper::ImiDevice::startColorStream | ( | ImiFrameMode | colorFrameMode | ) |
Definition at line 454 of file imi_Device.cpp.
int imi_wrapper::ImiDevice::startDepthStream | ( | ImiFrameMode | depthFrameMode | ) |
Definition at line 500 of file imi_Device.cpp.
int imi_wrapper::ImiDevice::startUVCStream | ( | ImiCameraFrameMode | uvcframeMode | ) |
Definition at line 478 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::stopAllStreams | ( | ) |
Definition at line 538 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::stopColorStream | ( | ) |
Definition at line 561 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::stopDepthStream | ( | ) |
Definition at line 596 of file imi_Device.cpp.
void imi_wrapper::ImiDevice::stopUVCStream | ( | ) |
Definition at line 579 of file imi_Device.cpp.
|
private |
Definition at line 76 of file imi_Device.h.
|
private |
Definition at line 85 of file imi_Device.h.
|
private |
Definition at line 79 of file imi_Device.h.
|
private |
Definition at line 84 of file imi_Device.h.
|
private |
Definition at line 75 of file imi_Device.h.
|
private |
Definition at line 80 of file imi_Device.h.
|
private |
Definition at line 83 of file imi_Device.h.
|
private |
Definition at line 74 of file imi_Device.h.
|
private |
Definition at line 69 of file imi_Device.h.
|
private |
Definition at line 78 of file imi_Device.h.
|
private |
Definition at line 88 of file imi_Device.h.
|
private |
Definition at line 89 of file imi_Device.h.
|
private |
Definition at line 90 of file imi_Device.h.
|
private |
Definition at line 91 of file imi_Device.h.
|
private |
Definition at line 71 of file imi_Device.h.
|
private |
Definition at line 72 of file imi_Device.h.
|
private |
Definition at line 70 of file imi_Device.h.
|
private |
Definition at line 81 of file imi_Device.h.
|
private |
Definition at line 86 of file imi_Device.h.