#include <pcl/io/openni2/openni2_device.h>
Definition at line 73 of file openni2_device.h.
◆ CallbackHandle
◆ ConstPtr
◆ DepthImageCallbackFunction
◆ ImageCallbackFunction
◆ IRImageCallbackFunction
◆ Ptr
◆ StreamCallbackFunction
◆ OpenNI2Device()
pcl::io::openni2::OpenNI2Device::OpenNI2Device |
( |
const std::string & |
device_URI | ) |
|
◆ ~OpenNI2Device()
virtual pcl::io::openni2::OpenNI2Device::~OpenNI2Device |
( |
| ) |
|
|
virtual |
◆ findCompatibleColorMode()
◆ findCompatibleDepthMode()
◆ findCompatibleIRMode()
◆ findCompatibleVideoMode()
◆ getAutoExposure()
bool pcl::io::openni2::OpenNI2Device::getAutoExposure |
( |
| ) |
const |
◆ getAutoWhiteBalance()
bool pcl::io::openni2::OpenNI2Device::getAutoWhiteBalance |
( |
| ) |
const |
◆ getBaseline()
float pcl::io::openni2::OpenNI2Device::getBaseline |
( |
| ) |
|
◆ getColorFocalLength()
float pcl::io::openni2::OpenNI2Device::getColorFocalLength |
( |
| ) |
const |
◆ getColorFrameCount()
int pcl::io::openni2::OpenNI2Device::getColorFrameCount |
( |
| ) |
|
Get absolute 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.
◆ getColorVideoMode()
◆ getColorVideoStream()
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getColorVideoStream |
( |
| ) |
const |
|
protected |
◆ getDefaultColorMode()
◆ getDefaultDepthMode()
◆ getDefaultIRMode()
◆ getDepthFocalLength()
float pcl::io::openni2::OpenNI2Device::getDepthFocalLength |
( |
| ) |
const |
◆ getDepthFrameCount()
int pcl::io::openni2::OpenNI2Device::getDepthFrameCount |
( |
| ) |
|
Get absolute 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.
◆ getDepthVideoMode()
◆ getDepthVideoStream()
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getDepthVideoStream |
( |
| ) |
const |
|
protected |
◆ getIRFocalLength()
float pcl::io::openni2::OpenNI2Device::getIRFocalLength |
( |
| ) |
const |
◆ getIRFrameCount()
int pcl::io::openni2::OpenNI2Device::getIRFrameCount |
( |
| ) |
|
Get absolute 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.
◆ getIRVideoMode()
◆ getIRVideoStream()
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::getIRVideoStream |
( |
| ) |
const |
|
protected |
◆ getName()
const std::string pcl::io::openni2::OpenNI2Device::getName |
( |
| ) |
const |
◆ getShadowValue()
std::uint64_t pcl::io::openni2::OpenNI2Device::getShadowValue |
( |
| ) |
|
◆ getStringID()
const std::string pcl::io::openni2::OpenNI2Device::getStringID |
( |
| ) |
const |
◆ getSupportedColorVideoModes()
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedColorVideoModes |
( |
| ) |
const |
◆ getSupportedDepthVideoModes()
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedDepthVideoModes |
( |
| ) |
const |
◆ getSupportedIRVideoModes()
const std::vector<OpenNI2VideoMode>& pcl::io::openni2::OpenNI2Device::getSupportedIRVideoModes |
( |
| ) |
const |
◆ getUri()
const std::string pcl::io::openni2::OpenNI2Device::getUri |
( |
| ) |
const |
◆ getUsbProductId()
std::uint16_t pcl::io::openni2::OpenNI2Device::getUsbProductId |
( |
| ) |
const |
◆ getUsbVendorId()
std::uint16_t pcl::io::openni2::OpenNI2Device::getUsbVendorId |
( |
| ) |
const |
◆ getVendor()
const std::string pcl::io::openni2::OpenNI2Device::getVendor |
( |
| ) |
const |
◆ hasColorSensor()
bool pcl::io::openni2::OpenNI2Device::hasColorSensor |
( |
| ) |
const |
◆ hasDepthSensor()
bool pcl::io::openni2::OpenNI2Device::hasDepthSensor |
( |
| ) |
const |
◆ hasIRSensor()
bool pcl::io::openni2::OpenNI2Device::hasIRSensor |
( |
| ) |
const |
◆ isColorStreamStarted()
bool pcl::io::openni2::OpenNI2Device::isColorStreamStarted |
( |
| ) |
|
◆ isColorVideoModeSupported()
bool pcl::io::openni2::OpenNI2Device::isColorVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
◆ isDepthRegistered()
bool pcl::io::openni2::OpenNI2Device::isDepthRegistered |
( |
| ) |
const |
◆ isDepthStreamStarted()
bool pcl::io::openni2::OpenNI2Device::isDepthStreamStarted |
( |
| ) |
|
◆ isDepthVideoModeSupported()
bool pcl::io::openni2::OpenNI2Device::isDepthVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
◆ isFile()
bool pcl::io::openni2::OpenNI2Device::isFile |
( |
| ) |
|
|
inline |
◆ isImageRegistrationModeSupported()
bool pcl::io::openni2::OpenNI2Device::isImageRegistrationModeSupported |
( |
| ) |
const |
◆ isIRStreamStarted()
bool pcl::io::openni2::OpenNI2Device::isIRStreamStarted |
( |
| ) |
|
◆ isIRVideoModeSupported()
bool pcl::io::openni2::OpenNI2Device::isIRVideoModeSupported |
( |
const OpenNI2VideoMode & |
video_mode | ) |
const |
◆ isSynchronizationSupported()
bool pcl::io::openni2::OpenNI2Device::isSynchronizationSupported |
( |
| ) |
|
|
inline |
◆ isSynchronized()
bool pcl::io::openni2::OpenNI2Device::isSynchronized |
( |
| ) |
|
|
inline |
◆ isValid()
bool pcl::io::openni2::OpenNI2Device::isValid |
( |
| ) |
const |
◆ processColorFrame()
void pcl::io::openni2::OpenNI2Device::processColorFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
◆ processDepthFrame()
void pcl::io::openni2::OpenNI2Device::processDepthFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
◆ processIRFrame()
void pcl::io::openni2::OpenNI2Device::processIRFrame |
( |
openni::VideoStream & |
stream | ) |
|
|
protected |
◆ resizingSupported()
bool pcl::io::openni2::OpenNI2Device::resizingSupported |
( |
std::size_t |
input_width, |
|
|
std::size_t |
input_height, |
|
|
std::size_t |
output_width, |
|
|
std::size_t |
output_height |
|
) |
| const |
|
protected |
◆ setAutoExposure()
void pcl::io::openni2::OpenNI2Device::setAutoExposure |
( |
bool |
enable | ) |
|
◆ setAutoWhiteBalance()
void pcl::io::openni2::OpenNI2Device::setAutoWhiteBalance |
( |
bool |
enable | ) |
|
◆ setColorCallback()
◆ setColorVideoMode()
void pcl::io::openni2::OpenNI2Device::setColorVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
◆ setDepthCallback()
◆ setDepthVideoMode()
void pcl::io::openni2::OpenNI2Device::setDepthVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
◆ setImageRegistrationMode()
void pcl::io::openni2::OpenNI2Device::setImageRegistrationMode |
( |
bool |
enabled | ) |
|
◆ setIRCallback()
◆ setIRVideoMode()
void pcl::io::openni2::OpenNI2Device::setIRVideoMode |
( |
const OpenNI2VideoMode & |
video_mode | ) |
|
◆ setPlaybackSpeed()
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.
◆ setSynchronization()
void pcl::io::openni2::OpenNI2Device::setSynchronization |
( |
bool |
enableSync | ) |
|
◆ setUseDeviceTimer()
void pcl::io::openni2::OpenNI2Device::setUseDeviceTimer |
( |
bool |
enable | ) |
|
◆ shutdown()
void pcl::io::openni2::OpenNI2Device::shutdown |
( |
| ) |
|
|
protected |
◆ startColorStream()
void pcl::io::openni2::OpenNI2Device::startColorStream |
( |
| ) |
|
◆ startDepthStream()
void pcl::io::openni2::OpenNI2Device::startDepthStream |
( |
| ) |
|
◆ startIRStream()
void pcl::io::openni2::OpenNI2Device::startIRStream |
( |
| ) |
|
◆ stopAllStreams()
void pcl::io::openni2::OpenNI2Device::stopAllStreams |
( |
| ) |
|
◆ stopColorStream()
void pcl::io::openni2::OpenNI2Device::stopColorStream |
( |
| ) |
|
◆ stopDepthStream()
void pcl::io::openni2::OpenNI2Device::stopDepthStream |
( |
| ) |
|
◆ stopIRStream()
void pcl::io::openni2::OpenNI2Device::stopIRStream |
( |
| ) |
|
◆ baseline_
float pcl::io::openni2::OpenNI2Device::baseline_ {0.0f} |
|
protected |
distance between the projector and the IR camera in meters
Definition at line 323 of file openni2_device.h.
◆ color_frame_listener
◆ color_video_modes_
std::vector<OpenNI2VideoMode> pcl::io::openni2::OpenNI2Device::color_video_modes_ |
|
mutableprotected |
◆ color_video_started_
bool pcl::io::openni2::OpenNI2Device::color_video_started_ {false} |
|
protected |
◆ color_video_stream_
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::color_video_stream_ |
|
mutableprotected |
◆ depth_frame_listener
◆ depth_video_modes_
std::vector<OpenNI2VideoMode> pcl::io::openni2::OpenNI2Device::depth_video_modes_ |
|
mutableprotected |
◆ depth_video_started_
bool pcl::io::openni2::OpenNI2Device::depth_video_started_ {false} |
|
protected |
◆ depth_video_stream_
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::depth_video_stream_ |
|
mutableprotected |
◆ device_info_
std::shared_ptr<openni::DeviceInfo> pcl::io::openni2::OpenNI2Device::device_info_ |
|
protected |
◆ ir_frame_listener
◆ ir_video_modes_
◆ ir_video_started_
bool pcl::io::openni2::OpenNI2Device::ir_video_started_ {false} |
|
protected |
◆ ir_video_stream_
std::shared_ptr<openni::VideoStream> pcl::io::openni2::OpenNI2Device::ir_video_stream_ |
|
mutableprotected |
◆ no_sample_value_
std::uint64_t pcl::io::openni2::OpenNI2Device::no_sample_value_ {0} |
|
protected |
the value for pixels without a valid disparity measurement
Definition at line 327 of file openni2_device.h.
◆ openni_device_
std::shared_ptr<openni::Device> pcl::io::openni2::OpenNI2Device::openni_device_ |
|
protected |
◆ shadow_value_
std::uint64_t pcl::io::openni2::OpenNI2Device::shadow_value_ {0} |
|
protected |
The documentation for this class was generated from the following file: