Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Protected Attributes
pcl::io::IRImage Class Reference

Class containing just a reference to IR meta data. More...

#include <pcl/io/image_ir.h>

Public Types

using Ptr = boost::shared_ptr< IRImage >
 
using ConstPtr = boost::shared_ptr< const IRImage >
 
using Clock = std::chrono::high_resolution_clock
 
using Timestamp = std::chrono::high_resolution_clock::time_point
 

Public Member Functions

 IRImage (FrameWrapper::Ptr ir_metadata)
 
 IRImage (FrameWrapper::Ptr ir_metadata, Timestamp time)
 
 ~IRImage () throw ()
 
void fillRaw (unsigned width, unsigned height, unsigned short *ir_buffer, unsigned line_step=0) const
 
unsigned getWidth () const
 
unsigned getHeight () const
 
unsigned getFrameID () const
 
pcl::uint64_t getTimestamp () const
 
Timestamp getSystemTimestamp () const
 
const unsigned short * getData ()
 
int getDataSize () const
 
unsigned getStep () const
 
const FrameWrapper::Ptr getMetaData () const
 method to access the internal data structure wrapper, which needs to be cast to an approperate subclass before the getMetadata(..) function is available to access the native data type. More...
 

Protected Attributes

FrameWrapper::Ptr wrapper_
 
Timestamp timestamp_
 

Detailed Description

Class containing just a reference to IR meta data.

Definition at line 54 of file image_ir.h.

Member Typedef Documentation

◆ Clock

using pcl::io::IRImage::Clock = std::chrono::high_resolution_clock

Definition at line 60 of file image_ir.h.

◆ ConstPtr

using pcl::io::IRImage::ConstPtr = boost::shared_ptr<const IRImage>

Definition at line 58 of file image_ir.h.

◆ Ptr

using pcl::io::IRImage::Ptr = boost::shared_ptr<IRImage>

Definition at line 57 of file image_ir.h.

◆ Timestamp

using pcl::io::IRImage::Timestamp = std::chrono::high_resolution_clock::time_point

Definition at line 61 of file image_ir.h.

Constructor & Destructor Documentation

◆ IRImage() [1/2]

pcl::io::IRImage::IRImage ( FrameWrapper::Ptr  ir_metadata)

◆ IRImage() [2/2]

pcl::io::IRImage::IRImage ( FrameWrapper::Ptr  ir_metadata,
Timestamp  time 
)

◆ ~IRImage()

pcl::io::IRImage::~IRImage ( )
throw (
)
inline

Definition at line 66 of file image_ir.h.

Member Function Documentation

◆ fillRaw()

void pcl::io::IRImage::fillRaw ( unsigned  width,
unsigned  height,
unsigned short *  ir_buffer,
unsigned  line_step = 0 
) const

◆ getData()

const unsigned short* pcl::io::IRImage::getData ( )

◆ getDataSize()

int pcl::io::IRImage::getDataSize ( ) const

◆ getFrameID()

unsigned pcl::io::IRImage::getFrameID ( ) const

◆ getHeight()

unsigned pcl::io::IRImage::getHeight ( ) const

◆ getMetaData()

const FrameWrapper::Ptr pcl::io::IRImage::getMetaData ( ) const

method to access the internal data structure wrapper, which needs to be cast to an approperate subclass before the getMetadata(..) function is available to access the native data type.

◆ getStep()

unsigned pcl::io::IRImage::getStep ( ) const
inline

Definition at line 97 of file image_ir.h.

◆ getSystemTimestamp()

Timestamp pcl::io::IRImage::getSystemTimestamp ( ) const

◆ getTimestamp()

pcl::uint64_t pcl::io::IRImage::getTimestamp ( ) const

◆ getWidth()

unsigned pcl::io::IRImage::getWidth ( ) const

Member Data Documentation

◆ timestamp_

Timestamp pcl::io::IRImage::timestamp_
protected

Definition at line 110 of file image_ir.h.

◆ wrapper_

FrameWrapper::Ptr pcl::io::IRImage::wrapper_
protected

Definition at line 109 of file image_ir.h.


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