This class provides conversion of the openni 11-bit shift data to depth;. More...
#include <pcl/io/openni_camera/openni_shift_to_depth_conversion.h>
Public Member Functions | |
| ShiftToDepthConverter () | |
| Constructor. | |
| virtual | ~ShiftToDepthConverter () |
| Destructor. | |
| void | generateLookupTable () |
| This method generates a look-up table to convert openni shift values to depth. | |
| float | shiftToDepth (uint16_t shift_val) |
| Generate a look-up table for converting openni shift values to depth. | |
| bool | isInitialized () const |
Protected Attributes | |
| std::vector< float > | lookupTable_ |
| bool | init_ |
This class provides conversion of the openni 11-bit shift data to depth;.
Definition at line 52 of file openni_shift_to_depth_conversion.h.
| openni_wrapper::ShiftToDepthConverter::ShiftToDepthConverter | ( | ) | [inline] |
Constructor.
Definition at line 56 of file openni_shift_to_depth_conversion.h.
| virtual openni_wrapper::ShiftToDepthConverter::~ShiftToDepthConverter | ( | ) | [inline, virtual] |
Destructor.
Definition at line 59 of file openni_shift_to_depth_conversion.h.
| void openni_wrapper::ShiftToDepthConverter::generateLookupTable | ( | ) | [inline] |
This method generates a look-up table to convert openni shift values to depth.
Definition at line 64 of file openni_shift_to_depth_conversion.h.
Referenced by pcl::io::OrganizedPointCloudCompression< PointT >::decodePointCloud().
| bool openni_wrapper::ShiftToDepthConverter::isInitialized | ( | ) | const [inline] |
Definition at line 113 of file openni_shift_to_depth_conversion.h.
Referenced by pcl::io::OrganizedPointCloudCompression< PointT >::decodePointCloud().
| float openni_wrapper::ShiftToDepthConverter::shiftToDepth | ( | uint16_t | shift_val | ) | [inline] |
Generate a look-up table for converting openni shift values to depth.
Definition at line 98 of file openni_shift_to_depth_conversion.h.
Referenced by pcl::io::OrganizedPointCloudCompression< PointT >::decodePointCloud().
bool openni_wrapper::ShiftToDepthConverter::init_ [protected] |
Definition at line 120 of file openni_shift_to_depth_conversion.h.
std::vector<float> openni_wrapper::ShiftToDepthConverter::lookupTable_ [protected] |
Definition at line 119 of file openni_shift_to_depth_conversion.h.