36 #ifndef __OPENNI_IR_IMAGE__
37 #define __OPENNI_IR_IMAGE__
40 #include <pcl/make_shared.h>
42 #include "openni_exception.h"
43 #include <pcl/io/boost.h>
59 inline virtual ~
IRImage () noexcept;
61 void fillRaw (
unsigned width,
unsigned height,
unsigned short* ir_buffer,
unsigned line_step = 0) const;
63 inline
unsigned getWidth () const throw ();
64 inline
unsigned getHeight () const throw ();
65 inline
unsigned getFrameID () const throw ();
66 inline
unsigned long getTimeStamp () const throw ();
67 inline const xn::IRMetaData& getMetaData () const throw ();
74 : ir_md_ (std::move(ir_meta_data))
84 return ir_md_->XRes ();
89 return ir_md_->YRes ();
94 return ir_md_->FrameID ();
99 return static_cast<unsigned long> (ir_md_->Timestamp ());
107 #endif //__OPENNI_IR_IMAGE__