Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Protected Attributes
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>

Public Member Functions

 ShiftToDepthConverter ()=default
 Constructor. More...
 
virtual ~ShiftToDepthConverter ()=default
 Destructor. More...
 
void generateLookupTable ()
 This method generates a look-up table to convert openni shift values to depth. More...
 
float shiftToDepth (std::uint16_t shift_val)
 Generate a look-up table for converting openni shift values to depth. More...
 
bool isInitialized () const
 

Protected Attributes

std::vector< float > lookupTable_
 
bool init_ {false}
 

Detailed Description

This class provides conversion of the openni 11-bit shift data to depth;.

Definition at line 53 of file openni_shift_to_depth_conversion.h.

Constructor & Destructor Documentation

◆ ShiftToDepthConverter()

openni_wrapper::ShiftToDepthConverter::ShiftToDepthConverter ( )
default

Constructor.

◆ ~ShiftToDepthConverter()

virtual openni_wrapper::ShiftToDepthConverter::~ShiftToDepthConverter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ generateLookupTable()

void openni_wrapper::ShiftToDepthConverter::generateLookupTable ( )
inline

This method generates a look-up table to convert openni shift values to depth.

Definition at line 65 of file openni_shift_to_depth_conversion.h.

◆ isInitialized()

bool openni_wrapper::ShiftToDepthConverter::isInitialized ( ) const
inline

Definition at line 110 of file openni_shift_to_depth_conversion.h.

◆ shiftToDepth()

float openni_wrapper::ShiftToDepthConverter::shiftToDepth ( std::uint16_t  shift_val)
inline

Generate a look-up table for converting openni shift values to depth.

Definition at line 95 of file openni_shift_to_depth_conversion.h.

Member Data Documentation

◆ init_

bool openni_wrapper::ShiftToDepthConverter::init_ {false}
protected

Definition at line 117 of file openni_shift_to_depth_conversion.h.

◆ lookupTable_

std::vector<float> openni_wrapper::ShiftToDepthConverter::lookupTable_
protected

Definition at line 116 of file openni_shift_to_depth_conversion.h.


The documentation for this class was generated from the following file: