44 #include <pcl/io/image_metadata_wrapper.h>
57 using Ptr = shared_ptr<IRImage>;
60 using Clock = std::chrono::high_resolution_clock;
61 using Timestamp = std::chrono::high_resolution_clock::time_point;
69 fillRaw (
unsigned width,
unsigned height,
unsigned short* ir_buffer,
unsigned line_step = 0) const;
84 getSystemTimestamp () const;
98 return (getDataSize() / getHeight());
shared_ptr< FrameWrapper > Ptr
Class containing just a reference to IR meta data.
shared_ptr< const IRImage > ConstPtr
IRImage(FrameWrapper::Ptr ir_metadata)
IRImage(FrameWrapper::Ptr ir_metadata, Timestamp time)
const FrameWrapper::Ptr getMetaData() const
method to access the internal data structure wrapper, which needs to be cast to an approperate subcla...
std::chrono::high_resolution_clock Clock
std::chrono::high_resolution_clock::time_point Timestamp
shared_ptr< IRImage > Ptr
FrameWrapper::Ptr wrapper_
~IRImage() noexcept=default
Defines functions, macros and traits for allocating and using memory.
PCL_EXPORTS std::string getTimestamp(const std::chrono::time_point< std::chrono::system_clock > &time=std::chrono::system_clock::now())
Returns a timestamp in local time as string formatted like boosts to_iso_string see https://www....
Defines all the PCL and non-PCL macros used.