openni_wrapper::ShiftToDepthConverter Class Reference

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>

List of all members.

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_

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]
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().


Member Data Documentation

Definition at line 120 of file openni_shift_to_depth_conversion.h.

Definition at line 119 of file openni_shift_to_depth_conversion.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends