#include <pcl/io/openni2/openni2_device.h>
Definition at line 73 of file openni2_device.h.
pcl::io::openni2::OpenNI2Device::OpenNI2Device |
( |
const std::string & |
device_URI | ) |
|
virtual pcl::io::openni2::OpenNI2Device::~OpenNI2Device |
( |
| ) |
|
|
virtual |
bool pcl::io::openni2::OpenNI2Device::getAutoExposure |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::getAutoWhiteBalance |
( |
| ) |
const |
float pcl::io::openni2::OpenNI2Device::getBaseline |
( |
| ) |
|
float pcl::io::openni2::OpenNI2Device::getColorFocalLength |
( |
| ) |
const |
int pcl::io::openni2::OpenNI2Device::getColorFrameCount |
( |
| ) |
|
Get absolut number of color frames in the current stream.
This function returns 0 if the current device is not a file stream or if the current mode has no color stream.
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getColorVideoStream |
( |
| ) |
const |
|
protected |
float pcl::io::openni2::OpenNI2Device::getDepthFocalLength |
( |
| ) |
const |
int pcl::io::openni2::OpenNI2Device::getDepthFrameCount |
( |
| ) |
|
Get absolut number of depth frames in the current stream.
This function returns 0 if the current device is not a file stream or if the current mode has no depth stream.
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getDepthVideoStream |
( |
| ) |
const |
|
protected |
float pcl::io::openni2::OpenNI2Device::getIRFocalLength |
( |
| ) |
const |
int pcl::io::openni2::OpenNI2Device::getIRFrameCount |
( |
| ) |
|
Get absolut number of ir frames in the current stream.
This function returns 0 if the current device is not a file stream or if the current mode has no ir stream.
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getIRVideoStream |
( |
| ) |
const |
|
protected |
const std::string pcl::io::openni2::OpenNI2Device::getName |
( |
| ) |
const |
uint64_t pcl::io::openni2::OpenNI2Device::getShadowValue |
( |
| ) |
|
const std::string pcl::io::openni2::OpenNI2Device::getStringID |
( |
| ) |
const |
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedColorVideoModes |
( |
| ) |
const |
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedDepthVideoModes |
( |
| ) |
const |
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedIRVideoModes |
( |
| ) |
const |
const std::string pcl::io::openni2::OpenNI2Device::getUri |
( |
| ) |
const |
uint16_t pcl::io::openni2::OpenNI2Device::getUsbProductId |
( |
| ) |
const |
uint16_t pcl::io::openni2::OpenNI2Device::getUsbVendorId |
( |
| ) |
const |
const std::string pcl::io::openni2::OpenNI2Device::getVendor |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::hasColorSensor |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::hasDepthSensor |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::hasIRSensor |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::isColorStreamStarted |
( |
| ) |
|
bool pcl::io::openni2::OpenNI2Device::isColorVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
bool pcl::io::openni2::OpenNI2Device::isDepthRegistered |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::isDepthStreamStarted |
( |
| ) |
|
bool pcl::io::openni2::OpenNI2Device::isDepthVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
bool pcl::io::openni2::OpenNI2Device::isFile |
( |
| ) |
|
|
inline |
bool pcl::io::openni2::OpenNI2Device::isImageRegistrationModeSupported |
( |
| ) |
const |
bool pcl::io::openni2::OpenNI2Device::isIRStreamStarted |
( |
| ) |
|
bool pcl::io::openni2::OpenNI2Device::isIRVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
bool pcl::io::openni2::OpenNI2Device::isSynchronizationSupported |
( |
| ) |
|
|
inline |
bool pcl::io::openni2::OpenNI2Device::isSynchronized |
( |
| ) |
|
|
inline |
bool pcl::io::openni2::OpenNI2Device::isValid |
( |
| ) |
const |
void pcl::io::openni2::OpenNI2Device::processColorFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
void pcl::io::openni2::OpenNI2Device::processDepthFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
void pcl::io::openni2::OpenNI2Device::processIRFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
bool pcl::io::openni2::OpenNI2Device::resizingSupported |
( |
size_t |
input_width, |
|
|
size_t |
input_height, |
|
|
size_t |
output_width, |
|
|
size_t |
output_height |
|
) |
| const |
|
protected |
void pcl::io::openni2::OpenNI2Device::setAutoExposure |
( |
bool |
enable | ) |
|
void pcl::io::openni2::OpenNI2Device::setAutoWhiteBalance |
( |
bool |
enable | ) |
|
void pcl::io::openni2::OpenNI2Device::setColorVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
void pcl::io::openni2::OpenNI2Device::setDepthVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
void pcl::io::openni2::OpenNI2Device::setImageRegistrationMode |
( |
bool |
enabled | ) |
|
void pcl::io::openni2::OpenNI2Device::setIRVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
bool pcl::io::openni2::OpenNI2Device::setPlaybackSpeed |
( |
double |
speed | ) |
|
Set the playback speed if the device is an recorded stream.
If setting the device playback speed fails, because the device is no recorded stream or any other reason this function returns false. Otherwise true is returned.
- Parameters
-
[in] | speed | The playback speed factor 1.0 means the same speed as recorded, 0.5 half the speed, 2.0 double speed and so on. |
- Returns
- True on success, false otherwise.
void pcl::io::openni2::OpenNI2Device::setSynchronization |
( |
bool |
enableSync | ) |
|
void pcl::io::openni2::OpenNI2Device::setUseDeviceTimer |
( |
bool |
enable | ) |
|
void pcl::io::openni2::OpenNI2Device::shutdown |
( |
| ) |
|
|
protected |
void pcl::io::openni2::OpenNI2Device::startColorStream |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::startDepthStream |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::startIRStream |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::stopAllStreams |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::stopColorStream |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::stopDepthStream |
( |
| ) |
|
void pcl::io::openni2::OpenNI2Device::stopIRStream |
( |
| ) |
|
float pcl::io::openni2::OpenNI2Device::baseline_ |
|
protected |
distance between the projector and the IR camera in meters
Definition at line 321 of file openni2_device.h.
std::vector<OpenNI2VideoMode> pcl::io::openni2::OpenNI2Device::color_video_modes_ |
|
mutableprotected |
bool pcl::io::openni2::OpenNI2Device::color_video_started_ |
|
protected |
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::color_video_stream_ |
|
mutableprotected |
std::vector<OpenNI2VideoMode> pcl::io::openni2::OpenNI2Device::depth_video_modes_ |
|
mutableprotected |
bool pcl::io::openni2::OpenNI2Device::depth_video_started_ |
|
protected |
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::depth_video_stream_ |
|
mutableprotected |
boost::shared_ptr<openni::DeviceInfo> pcl::io::openni2::OpenNI2Device::device_info_ |
|
protected |
bool pcl::io::openni2::OpenNI2Device::ir_video_started_ |
|
protected |
boost::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::ir_video_stream_ |
|
mutableprotected |
uint64_t pcl::io::openni2::OpenNI2Device::no_sample_value_ |
|
protected |
the value for pixels without a valid disparity measurement
Definition at line 325 of file openni2_device.h.
boost::shared_ptr<openni::Device> pcl::io::openni2::OpenNI2Device::openni_device_ |
|
protected |
uint64_t pcl::io::openni2::OpenNI2Device::shadow_value_ |
|
protected |
The documentation for this class was generated from the following file: